Skip to content

CI Future Compatibility Warning: Building and testing failed for dorm (exit code 2) (Linux/x86_64) #1

@github-actions

Description

@github-actions

A recent GitHub action has discovered a possible future incompatibility with rorm-lib or rorm-cli!
The pipeline triggered by the commit d081caf did not compile with some latest version of the rorm libraries or binaries.
See the action 3581340788 for more details. The run was performed on Linux fv-az573-737 5.15.0-1023-azure #29-Ubuntu SMP Wed Oct 19 22:37:08 UTC 2022 x86_64 x86_64.
Build log details:

+ dub build
../../../.dub/packages/mir-ion-2.1.2/mir-ion/source/mir/csv.d(271,18): Deprecation: cannot take address of `scope` variable `this` since `scope` applies to first indirection only
../../../.dub/packages/mir-algorithm-3.18.4/mir-algorithm/source/mir/bignum/low_level_view.d(490,14): Deprecation: scope variable `work` assigned to `ref` variable `this` with longer lifetime
../../../.dub/packages/mir-algorithm-3.18.4/mir-algorithm/source/mir/bignum/low_level_view.d(387,14): Deprecation: scope variable `work` assigned to `ref` variable `this` with longer lifetime
../../../.dub/packages/mir-algorithm-3.18.4/mir-algorithm/source/mir/appender.d(158,14): Deprecation: cannot take address of `scope` variable `this` since `scope` applies to first indirection only
../../../.dub/packages/mir-toml-0.1.1/mir-toml/source/mir/toml/serializer.d(197,17): Deprecation: scope variable `this` may not be returned
../../../.dub/packages/mir-toml-0.1.1/mir-toml/source/mir/toml/serializer.d(234,5): Deprecation: cannot take address of `scope` variable `this` since `scope` applies to first indirection only
+ dub test
../../../.dub/packages/mir-ion-2.1.2/mir-ion/source/mir/csv.d(271,18): Deprecation: cannot take address of `scope` variable `this` since `scope` applies to first indirection only
../../../.dub/packages/mir-algorithm-3.18.4/mir-algorithm/source/mir/bignum/low_level_view.d(490,14): Deprecation: scope variable `work` assigned to `ref` variable `this` with longer lifetime
../../../.dub/packages/mir-algorithm-3.18.4/mir-algorithm/source/mir/bignum/low_level_view.d(387,14): Deprecation: scope variable `work` assigned to `ref` variable `this` with longer lifetime
../../../.dub/packages/mir-algorithm-3.18.4/mir-algorithm/source/mir/appender.d(158,14): Deprecation: cannot take address of `scope` variable `this` since `scope` applies to first indirection only
../../../.dub/packages/mir-toml-0.1.1/mir-toml/source/mir/toml/serializer.d(197,17): Deprecation: scope variable `this` may not be returned
../../../.dub/packages/mir-toml-0.1.1/mir-toml/source/mir/toml/serializer.d(234,5): Deprecation: cannot take address of `scope` variable `this` since `scope` applies to first indirection only
../../../.dub/packages/mir-ion-2.1.2/mir-ion/source/mir/ser/package.d(647,70): Deprecation: scope variable `value` assigned to non-scope parameter `_param_0` calling `to`
../../../.dub/packages/mir-ion-2.1.2/mir-ion/source/mir/ser/package.d(648,51): Deprecation: scope variable `value` assigned to non-scope parameter `_param_0` calling `to`
[2022-11-30T08:06:26Z DEBUG rorm_db::database] SQL: SELECT name,  FROM foo;
dorm.exception.DatabaseException@source/dorm/lib/ffi_impl.d(694): database error: sqlx error: error returned from database: (code: 1) near "FROM": syntax error
----------------
source/dorm/lib/util.d:149 @nogc @trusted void dorm.lib.util.FreeableAsyncResult!(dorm.lib.ffi_impl.DBRowHandle).FreeableAsyncResult.waitAndThrow() [0x55955a4601b0]
source/dorm/lib/util.d:154 @nogc @safe dorm.lib.ffi_impl.DBRowHandle dorm.lib.util.FreeableAsyncResult!(dorm.lib.ffi_impl.DBRowHandle).FreeableAsyncResult.result() [0x55955a4601cc]
source/dorm/lib/ffi_impl.d:1328 __unittest_L1286_C1 [0x55955a44ff0a]
??:? void dorm.lib.ffi_impl.__modtest() [0x55955a452600]
??:? int core.runtime.runModuleUnitTests().__foreachbody6(object.ModuleInfo*) [0x55955b6a1c2e]
??:? int object.ModuleInfo.opApply(scope int delegate(object.ModuleInfo*)).__lambda2(immutable(object.ModuleInfo*)) [0x55955b677657]
??:? int rt.minfo.moduleinfos_apply(scope int delegate(immutable(object.ModuleInfo*))).__foreachbody2(ref rt.sections_elf_shared.DSO) [0x55955b68ef0b]
??:? int rt.sections_elf_shared.DSO.opApply(scope int delegate(ref rt.sections_elf_shared.DSO)) [0x55955b68f451]
??:? int rt.minfo.moduleinfos_apply(scope int delegate(immutable(object.ModuleInfo*))) [0x55955b68ee99]
??:? int object.ModuleInfo.opApply(scope int delegate(object.ModuleInfo*)) [0x55955b677629]
??:? runModuleUnitTests [0x55955b6a1a66]
??:? void rt.dmain2._d_run_main2(char[][], ulong, extern (C) int function(char[][])*).runAll() [0x55955b689e9c]
??:? void rt.dmain2._d_run_main2(char[][], ulong, extern (C) int function(char[][])*).tryExec(scope void delegate()) [0x55955b689e29]
??:? _d_run_main2 [0x55955b689d92]
??:? _d_run_main [0x55955b689b7b]
/opt/hostedtoolcache/dc/dmd-2.101.0/x64/dmd2/linux/bin64/../../src/druntime/import/core/internal/entrypoint.d:29 main [0x55955a3708f1]
??:? [0x7f4509875d8f]
??:? __libc_start_main [0x7f4509875e3f]
??:? _start [0x55955a36d1e4]
1/4 modules FAILED unittests
Error Program exited with code 1

Further details:

    Fetching mir-toml 0.1.1 (getting selected version)
    Fetching silly 1.1.1 (getting selected version)
    Fetching mir-core 1.3.15 (getting selected version)
    Fetching toml 2.0.1 (getting selected version)
    Fetching mir-ion 2.1.2 (getting selected version)
    Fetching mir-cpuid 1.2.10 (getting selected version)
    Fetching unit-threaded 2.0.5 (getting selected version)
    Fetching mir-algorithm 3.18.4 (getting selected version)
    Starting Performing "debug" build using /opt/hostedtoolcache/dc/dmd-2.101.0/x64/dmd2/linux/bin64/dmd for x86_64.
    Building mir-core 1.3.15: building configuration [library]
    Building mir-algorithm 3.18.4: building configuration [default]
    Building mir-cpuid 1.2.10: building configuration [library]
    Building mir-ion 2.1.2: building configuration [library]
    Building toml 2.0.1: building configuration [library]
    Building mir-toml 0.1.1: building configuration [library]
    Building dorm ~main: building configuration [application]
   Pre-build Running commands
     Linking dorm
             Generating test runner configuration 'dorm-test-library' for 'library' (library).
    Starting Performing "unittest" build using /opt/hostedtoolcache/dc/dmd-2.101.0/x64/dmd2/linux/bin64/dmd for x86_64.
    Building mir-core 1.3.15: building configuration [library]
    Building mir-algorithm 3.18.4: building configuration [default]
    Building mir-cpuid 1.2.10: building configuration [library]
    Building mir-ion 2.1.2: building configuration [library]
    Building toml 2.0.1: building configuration [library]
    Building mir-toml 0.1.1: building configuration [library]
    Building dorm ~main: building configuration [dorm-test-library]
   Pre-build Running commands
     Linking dorm-test-library
     Running dorm-test-library 
| Name 	| Notes 	|

Checksum: 6fcee25c

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions