[INFO] cloning repository https://github.com/alvinyusuf/icp-workshop-year-end [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alvinyusuf/icp-workshop-year-end" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falvinyusuf%2Ficp-workshop-year-end", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falvinyusuf%2Ficp-workshop-year-end'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0ad13319092b97de2936fdc17162a6ef4a48a57 [INFO] building alvinyusuf/icp-workshop-year-end against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falvinyusuf%2Ficp-workshop-year-end" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alvinyusuf/icp-workshop-year-end on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alvinyusuf/icp-workshop-year-end [INFO] finished tweaking git repo https://github.com/alvinyusuf/icp-workshop-year-end [INFO] tweaked toml for git repo https://github.com/alvinyusuf/icp-workshop-year-end written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/alvinyusuf/icp-workshop-year-end 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/lwshang/stable-structures.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic0 v0.18.12 [INFO] [stderr] Downloaded ic-cdk v0.11.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b15746ebe22ade1b28e13a386a7a4737aafbe84a942a36dbcd9791c97009d998 [INFO] running `Command { std: "docker" "start" "-a" "b15746ebe22ade1b28e13a386a7a4737aafbe84a942a36dbcd9791c97009d998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b15746ebe22ade1b28e13a386a7a4737aafbe84a942a36dbcd9791c97009d998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b15746ebe22ade1b28e13a386a7a4737aafbe84a942a36dbcd9791c97009d998", kill_on_drop: false }` [INFO] [stdout] b15746ebe22ade1b28e13a386a7a4737aafbe84a942a36dbcd9791c97009d998 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6109fa956fdc80182f06fe80f3f06c86a32aaacc17e7dd806e31aee68c2e7803 [INFO] running `Command { std: "docker" "start" "-a" "6109fa956fdc80182f06fe80f3f06c86a32aaacc17e7dd806e31aee68c2e7803", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling winnow v0.5.16 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling cc v1.2.5 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling candid v0.9.11 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling serde_json v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling ic0 v0.18.12 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling ic0 v0.21.1 [INFO] [stderr] Compiling ic-stable-structures v0.5.6 (https://github.com/lwshang/stable-structures.git?branch=lwshang%2Fupdate_cdk#e1b7a93a) [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling psm v0.1.24 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling candid_derive v0.6.4 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling num_enum v0.6.1 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling serde_bytes v0.11.12 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling ic-cdk-macros v0.8.1 [INFO] [stderr] Compiling ic-cdk v0.11.6 [INFO] [stderr] Compiling icp_rust_boilerplate_backend v0.1.0 (/opt/rustwide/workdir/src/icp_rust_boilerplate_backend) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/icp_rust_boilerplate_backend/src/lib.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 191 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/icp_rust_boilerplate_backend/src/lib.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 206 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/tmp/rustcGFMAxe/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcGFMAxe/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libic_stable_structures-7620c98d9acfff52.rlib,libic_cdk-b7c24fa294c80a02.rlib,libic0-b1effcbc26f314fe.rlib,libcandid-a28316c00d5bcf56.rlib,libstacker-b78a3c3fb4b1c5ec.rlib,libpsm-ac1b6c206dbe4a58.rlib,liblibc-58f823314eb307cc.rlib,libhex-5de1ffba8b3d39d3.rlib,libcrc32fast-bb16182f799206b5.rlib,libdata_encoding-09501421570af12c.rlib,libserde_bytes-9d615179540f9623.rlib,libpretty-b0434b4f016909a3.rlib,libarrayvec-cc3c842df4d99355.rlib,libtyped_arena-e47feaedf7d5fd4c.rlib,libleb128-ce4e7f47d75be503.rlib,libbyteorder-05c8a5bbd8dd9c61.rlib,libsha2-def32d2c9b21bd59.rlib,libcpufeatures-a2518756a0e700ce.rlib,libcfg_if-02ffc4ff30a29427.rlib,libdigest-1a94c58f4fcaeae0.rlib,libblock_buffer-30cb3845dbf6a508.rlib,libcrypto_common-246e91495a8310fc.rlib,libgeneric_array-fd8fc0934e76db42.rlib,libtypenum-05242b0d5d19c4a9.rlib,libnum_bigint-8549eb09373f1c87.rlib,libnum_integer-5935227b1dd81115.rlib,libnum_traits-604a1ea5db600cc2.rlib,libanyhow-ae3f579e04dd74c2.rlib,libnum_enum-5df5e13ece3f9fd5.rlib,libbinread-88d54e782785a77b.rlib,liblazy_static-ba6d9ac4e4243af3.rlib,libthiserror-6b83d127719810f7.rlib,libcodespan_reporting-a8126f047c3375bc.rlib,libunicode_width-f848e0d7e859e78e.rlib,libtermcolor-98fcbd9366d499a8.rlib,libserde-806dcf2be531472e.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" "-L" "/tmp/rustcGFMAxe/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/psm-ac839c41097e65a1/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libicp_rust_boilerplate_backend.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/rustcGFMAxe/list:3: ; expected, but got get_balance [INFO] [stdout] >>> canister_query get_balance; [INFO] [stdout] >>> ^ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `icp_rust_boilerplate_backend` (lib) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6109fa956fdc80182f06fe80f3f06c86a32aaacc17e7dd806e31aee68c2e7803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6109fa956fdc80182f06fe80f3f06c86a32aaacc17e7dd806e31aee68c2e7803", kill_on_drop: false }` [INFO] [stdout] 6109fa956fdc80182f06fe80f3f06c86a32aaacc17e7dd806e31aee68c2e7803