-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Description
Would it be possible to create a new release that uses the latest version of libdparser? dub lint
currently fails with gdc due to deprecation warnings in older libdparser versions, and the -Werror
flag being included by default:
> dub lint -v
Determined package version using GIT: soulfind ~master
Scanning local packages...
Found dependency soulfind:server ~master
Found dependency soulfind:setup ~master
Scanning local packages...
Found dependency dcd:dsymbol 0.16.0-beta.2
Found dependency emsi_containers 0.9.0
Found dependency libdparse 0.23.2
Found dependency inifiled 1.3.3
Found dependency libddoc 0.8.0
Found dependency libddoc:common 0.8.0
Using fixed selection dcd 0.16.0-beta.2
Using fixed selection emsi_containers 0.9.0
Using fixed selection inifiled 1.3.3
Using fixed selection libddoc 0.8.0
Using fixed selection libdparse 0.23.2
Dependency resolution result:
dcd: 0.16.0-beta.2
emsi_containers: 0.9.0
inifiled: 1.3.3
libddoc: 0.8.0
libdparse: 0.23.2
Found dependency dcd:dsymbol 0.16.0-beta.2
Found dependency emsi_containers 0.9.0
Found dependency libdparse 0.23.2
Found dependency inifiled 1.3.3
Found dependency libddoc 0.8.0
Found dependency libddoc:common 0.8.0
Configuring dependent dscanner, deps:"dcd:dsymbol", "emsi_containers", "inifiled", "libddoc", "libdparse"
Configuring dependent dcd:dsymbol, deps:"emsi_containers", "libdparse"
Configuring dependent emsi_containers, deps:
Configuring dependent libdparse, deps:
Configuring dependent inifiled, deps:
Configuring dependent libddoc, deps:"libddoc:common", "libdparse"
Configuring dependent libddoc:common, deps:
Starting Performing "debug" build using /usr/bin/gdc for x86_64.
Up-to-date emsi_containers 0.9.0: target for configuration [library] is up to date.
Using existing build in /var/home/default/.dub/cache/emsi_containers/0.9.0/build/library-debug-5EQ3gc0NMJIR-u2P6nxwDA.
Copying target from /var/home/default/.dub/cache/emsi_containers/0.9.0/build/library-debug-5EQ3gc0NMJIR-u2P6nxwDA/libemsi_containers.a to /var/home/default/.dub/packages/emsi_containers/0.9.0/emsi_containers/build
Target '/var/home/default/.dub/cache/libdparse/0.23.2/build/library-debug-nFyXVkjR1J0bEDPoFUuBdw/libdparse.a' doesn't exist, need rebuild.
Building libdparse 0.23.2: building configuration [library]
/usr/bin/gdc -fdebug -g -Werror -Wall -fversion=built_with_dub -fversion=LIBDDOC_CONFIG_LIB -fversion=Have_libdparse -I../../.dub/packages/libdparse/0.23.2/libdparse/src/ ../../.dub/packages/libdparse/0.23.2/libdparse/src/dparse/ast.d ../../.dub/packages/libdparse/0.23.2/libdparse/src/dparse/astprinter.d ../../.dub/packages/libdparse/0.23.2/libdparse/src/dparse/entities.d ../../.dub/packages/libdparse/0.23.2/libdparse/src/dparse/formatter.d ../../.dub/packages/libdparse/0.23.2/libdparse/src/dparse/lexer.d ../../.dub/packages/libdparse/0.23.2/libdparse/src/dparse/parser.d ../../.dub/packages/libdparse/0.23.2/libdparse/src/dparse/rollback_allocator.d ../../.dub/packages/libdparse/0.23.2/libdparse/src/dparse/stack_buffer.d ../../.dub/packages/libdparse/0.23.2/libdparse/src/dparse/strings.d ../../.dub/packages/libdparse/0.23.2/libdparse/src/dparse/trivia.d ../../.dub/packages/libdparse/0.23.2/libdparse/src/std/experimental/lexer.d -c -o /var/home/default/.dub/cache/libdparse/0.23.2/build/library-debug-nFyXVkjR1J0bEDPoFUuBdw/libdparse.a
../../.dub/packages/libdparse/0.23.2/libdparse/src/dparse/lexer.d:158:23: error: using the result of a cast from `const(string)` to `string` as an lvalue will become ‘@system’ in a future release [-Werror=deprecated]
158 | return (cast()memoizedTrailingComment) = this.extractTrailingDdoc;
| ^
../../.dub/packages/libdparse/0.23.2/libdparse/src/dparse/lexer.d:150:23: error: using the result of a cast from `const(string)` to `string` as an lvalue will become ‘@system’ in a future release [-Werror=deprecated]
150 | return (cast()memoizedLeadingComment) = this.extractLeadingDdoc;
| ^
d21: all warnings being treated as errors
FAIL /var/home/default/.dub/cache/libdparse/0.23.2/build/library-debug-nFyXVkjR1J0bEDPoFUuBdw dparse staticLibrary
Error /usr/bin/gdc failed with exit code 1.
Metadata
Metadata
Assignees
Labels
No labels