[INFO] cloning repository https://github.com/whkelvin/Unit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/whkelvin/Unit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhkelvin%2FUnit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhkelvin%2FUnit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02b9c81cc4258fb3e865566595d4fbcfa103699e [INFO] testing whkelvin/Unit/02b9c81cc4258fb3e865566595d4fbcfa103699e against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhkelvin%2FUnit" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/whkelvin/Unit on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/whkelvin/Unit [INFO] finished tweaking git repo https://github.com/whkelvin/Unit [INFO] tweaked toml for git repo https://github.com/whkelvin/Unit written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/whkelvin/Unit already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-types v0.2.2 [INFO] [stderr] Downloaded candid_derive v0.4.5 [INFO] [stderr] Downloaded serde_tokenstream v0.1.2 [INFO] [stderr] Downloaded ic-cdk-macros v0.3.3 [INFO] [stderr] Downloaded candid v0.7.8 [INFO] [stderr] Downloaded ic-cdk v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4762a1b6154b9c455504bd1db086a9dc6bf944df81d4184b3ac9413c4b7b797e [INFO] running `Command { std: "docker" "start" "-a" "4762a1b6154b9c455504bd1db086a9dc6bf944df81d4184b3ac9413c4b7b797e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4762a1b6154b9c455504bd1db086a9dc6bf944df81d4184b3ac9413c4b7b797e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4762a1b6154b9c455504bd1db086a9dc6bf944df81d4184b3ac9413c4b7b797e", kill_on_drop: false }` [INFO] [stdout] 4762a1b6154b9c455504bd1db086a9dc6bf944df81d4184b3ac9413c4b7b797e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7937fce963e5baea78b997656afdfdc73b1751e3957b579054ef23f2c7110f34 [INFO] running `Command { std: "docker" "start" "-a" "7937fce963e5baea78b997656afdfdc73b1751e3957b579054ef23f2c7110f34", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling string_cache v0.8.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling crc32fast v1.2.2 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.48 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling lalrpop-util v0.19.6 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling lalrpop v0.19.6 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling candid_derive v0.4.5 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling logos v0.12.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling candid v0.7.8 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling serde_tokenstream v0.1.2 [INFO] [stderr] Compiling ic-types v0.2.2 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling num_enum_derive v0.5.4 [INFO] [stderr] Compiling num_enum v0.5.4 [INFO] [stderr] Compiling ic-cdk v0.3.3 [INFO] [stderr] Compiling ic-cdk-macros v0.3.3 [INFO] [stderr] Compiling unit v0.1.0 (/opt/rustwide/workdir/src/unit) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/tmp/rustcjJoUee/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcjJoUee/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libic_cdk-d9e607fc812f53d8.rlib,libcandid-4dab57bd4dc1929d.rlib,libleb128-ae0983f084a091ac.rlib,libbyteorder-379f547b04d51d02.rlib,liblogos-c151b3831f35ac18.rlib,libnum_bigint-7916c900114df3ad.rlib,libnum_integer-b25814bb86c8b517.rlib,libnum_traits-cfed5bfcdbd0c299.rlib,libanyhow-3cb7ab4232b88d2f.rlib,libnum_enum-34f8427d4dfbb142.rlib,libic_types-21523bf6e1f26d57.rlib,libcrc32fast-d427952661a882a5.rlib,libbase32-39d04fa1fa68181d.rlib,libserde_bytes-504d8afcde302abe.rlib,libhex-28742b4ca144387c.rlib,libsha2-a820c0dad026a786.rlib,libcpufeatures-4ed631b3c393b0e2.rlib,libcfg_if-33ef6c02a07f9fec.rlib,libopaque_debug-c0b21531799dfcb1.rlib,libdigest-d966b1dc1e087aae.rlib,libblock_buffer-a1371ffbedc13015.rlib,libgeneric_array-ecaf27b2a2f4058e.rlib,libtypenum-6dec6c5dfcf685f6.rlib,libbinread-00c9624541b6ab0b.rlib,liblazy_static-2bb390fee0230a38.rlib,liblalrpop_util-13436207b39bde64.rlib,libregex-4da352a400170b4f.rlib,libaho_corasick-21bd349b22863601.rlib,libmemchr-f79915562e969c92.rlib,libregex_syntax-a8b7a392e3a16251.rlib,libthiserror-e123380e6e146bb8.rlib,libcodespan_reporting-7740426cfb30633a.rlib,libunicode_width-c0dfc70716b193be.rlib,libtermcolor-95b90a5c4c516553.rlib,libpretty-30ed8963daca93ef.rlib,libarrayvec-f5ee3f47c3793c70.rlib,libtyped_arena-7e1d361181440881.rlib,libserde-3e9c7a9e36d68e30.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libunit.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /tmp/rustcjJoUee/list:3: ; expected, but got getExpenses [INFO] [stdout] >>> canister_query getExpenses; [INFO] [stdout] >>> ^ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `unit` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "7937fce963e5baea78b997656afdfdc73b1751e3957b579054ef23f2c7110f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7937fce963e5baea78b997656afdfdc73b1751e3957b579054ef23f2c7110f34", kill_on_drop: false }` [INFO] [stdout] 7937fce963e5baea78b997656afdfdc73b1751e3957b579054ef23f2c7110f34