[INFO] cloning repository https://github.com/Bill0412/dfinity-rust-counter
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bill0412/dfinity-rust-counter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBill0412%2Fdfinity-rust-counter", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBill0412%2Fdfinity-rust-counter'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3e09d15dabb8954e274b740ec5acc96960bb268c
[INFO] testing Bill0412/dfinity-rust-counter against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBill0412%2Fdfinity-rust-counter" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Bill0412/dfinity-rust-counter
[INFO] finished tweaking git repo https://github.com/Bill0412/dfinity-rust-counter
[INFO] tweaked toml for git repo https://github.com/Bill0412/dfinity-rust-counter written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Bill0412/dfinity-rust-counter on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Bill0412/dfinity-rust-counter 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "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]   |
[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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fff4dfab12a9a9a5dcbbf6a1c30d48950893f58e08624e5789c4511a4e6e0173
[INFO] running `Command { std: "docker" "start" "-a" "fff4dfab12a9a9a5dcbbf6a1c30d48950893f58e08624e5789c4511a4e6e0173", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fff4dfab12a9a9a5dcbbf6a1c30d48950893f58e08624e5789c4511a4e6e0173", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fff4dfab12a9a9a5dcbbf6a1c30d48950893f58e08624e5789c4511a4e6e0173", kill_on_drop: false }`
[INFO] [stdout] fff4dfab12a9a9a5dcbbf6a1c30d48950893f58e08624e5789c4511a4e6e0173
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a40546c9dbb71fe0b216af1e2c774229ccd40b550c63e110c67f06fdf52083a8
[INFO] running `Command { std: "docker" "start" "-a" "a40546c9dbb71fe0b216af1e2c774229ccd40b550c63e110c67f06fdf52083a8", 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]   |
[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.33
[INFO] [stderr]    Compiling syn v1.0.82
[INFO] [stderr]    Compiling libc v0.2.109
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling typenum v1.14.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling smallvec v1.7.0
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling siphasher v0.3.7
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling lock_api v0.4.5
[INFO] [stderr]    Compiling fixedbitset v0.2.0
[INFO] [stderr]    Compiling bit-set v0.5.2
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling pico-args v0.4.2
[INFO] [stderr]    Compiling ena v0.14.0
[INFO] [stderr]    Compiling crc32fast v1.3.0
[INFO] [stderr]    Compiling diff v0.1.12
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]    Compiling rustversion v1.0.6
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling utf8-ranges v1.0.4
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling beef v0.5.1
[INFO] [stderr]    Compiling anyhow v1.0.51
[INFO] [stderr]    Compiling cpufeatures v0.2.1
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling base32 v0.4.0
[INFO] [stderr]    Compiling typed-arena v2.0.1
[INFO] [stderr]    Compiling unicode-width v0.1.9
[INFO] [stderr]    Compiling paste v1.0.6
[INFO] [stderr]    Compiling pretty v0.10.0
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling petgraph v0.5.1
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling string_cache v0.8.2
[INFO] [stderr]    Compiling sha2 v0.9.8
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling lalrpop-util v0.19.6
[INFO] [stderr]    Compiling lalrpop v0.19.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling logos-derive v0.12.0
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling candid_derive v0.4.5
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling logos v0.12.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 rust_counter v0.1.0 (/opt/rustwide/workdir/src/rust_counter)
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/rust_counter/src/lib.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         COUNTER.as_mut().unwrap().0 += 1u64;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/rust_counter/src/lib.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |     unsafe { COUNTER.as_mut().unwrap().clone() }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/rust_counter/src/lib.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         COUNTER.as_mut().unwrap().0 = input.0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-Wl,--version-script=/tmp/rustcc9pLfF/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcc9pLfF/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libic_cdk-7d70ffca3798f7e2,libcandid-a3a0858e1282196f,libleb128-ae0983f084a091ac,libbyteorder-379f547b04d51d02,liblogos-1317f6f026019b5f,libnum_bigint-53806e6973f85651,libnum_integer-063a83cb79d247ce,libnum_traits-f3489a6164af1040,libanyhow-b803c0550155ba97,libnum_enum-71c7992dc216e978,libic_types-ed6985e5b4456070,libcrc32fast-dc6be75547b1361e,libbase32-39d04fa1fa68181d,libserde_bytes-23e63c90a5df474d,libhex-28742b4ca144387c,libsha2-bbc058cf9238598c,libcpufeatures-4ed631b3c393b0e2,libcfg_if-33ef6c02a07f9fec,libopaque_debug-c0b21531799dfcb1,libdigest-bf5f3987700c24f9,libblock_buffer-ca17be13d89d56f8,libgeneric_array-4d1cb532810ff089,libtypenum-20563b2cdddbc123,libbinread-23dfa1f36f8a05e3,liblazy_static-2bb390fee0230a38,liblalrpop_util-814bd1a7851b209f,libregex-a577034d694539de,libaho_corasick-e345fb526f658cc9,libmemchr-52a166a992efed94,libregex_syntax-a8b7a392e3a16251,libthiserror-33fe70c38608ca51,libcodespan_reporting-7740426cfb30633a,libunicode_width-c0dfc70716b193be,libtermcolor-95b90a5c4c516553,libpretty-30ed8963daca93ef,libarrayvec-f5ee3f47c3793c70,libtyped_arena-7e1d361181440881,libserde-b5e4a97a16a11aaf}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcc9pLfF/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/librust_counter.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/rustcc9pLfF/list:4: ; expected, but got get
[INFO] [stdout]           >>>     canister_query get;
[INFO] [stdout]           >>>                    ^
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_counter` (lib) due to 1 previous error; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a40546c9dbb71fe0b216af1e2c774229ccd40b550c63e110c67f06fdf52083a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a40546c9dbb71fe0b216af1e2c774229ccd40b550c63e110c67f06fdf52083a8", kill_on_drop: false }`
[INFO] [stdout] a40546c9dbb71fe0b216af1e2c774229ccd40b550c63e110c67f06fdf52083a8
