[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 master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBill0412%2Fdfinity-rust-counter" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Bill0412/dfinity-rust-counter on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c20758acd5684b3270958937994d918d985c474a9427e364c7f1d9b81189e501
[INFO] running `Command { std: "docker" "start" "-a" "c20758acd5684b3270958937994d918d985c474a9427e364c7f1d9b81189e501", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c20758acd5684b3270958937994d918d985c474a9427e364c7f1d9b81189e501", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c20758acd5684b3270958937994d918d985c474a9427e364c7f1d9b81189e501", kill_on_drop: false }`
[INFO] [stdout] c20758acd5684b3270958937994d918d985c474a9427e364c7f1d9b81189e501
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a7bf256b3a5978c2c0ae0fda98fc77e42763d639b1c0c4da3c6676e0b6c31c70
[INFO] running `Command { std: "docker" "start" "-a" "a7bf256b3a5978c2c0ae0fda98fc77e42763d639b1c0c4da3c6676e0b6c31c70", 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.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 parking_lot_core v0.8.5
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling smallvec v1.7.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling lock_api v0.4.5
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling siphasher v0.3.7
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.4
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling fixedbitset v0.2.0
[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 regex v1.5.4
[INFO] [stderr]    Compiling ena v0.14.0
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling diff v0.1.12
[INFO] [stderr]    Compiling pico-args v0.4.2
[INFO] [stderr]    Compiling rustversion v1.0.6
[INFO] [stderr]    Compiling crc32fast v1.3.0
[INFO] [stderr]    Compiling lalrpop-util v0.19.6
[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 anyhow v1.0.51
[INFO] [stderr]    Compiling utf8-ranges v1.0.4
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling lalrpop v0.19.6
[INFO] [stderr]    Compiling beef v0.5.1
[INFO] [stderr]    Compiling cpufeatures v0.2.1
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling sha2 v0.9.8
[INFO] [stderr]    Compiling unicode-width v0.1.9
[INFO] [stderr]    Compiling typed-arena v2.0.1
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling base32 v0.4.0
[INFO] [stderr]    Compiling pretty v0.10.0
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling paste v1.0.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling logos-derive v0.12.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 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/nightly/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)]` 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/nightly/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/nightly/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/rustcP5Fyc2/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcP5Fyc2/symbols.o" "<11 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libic_cdk-8c87205e77731d17.rlib,libcandid-597f9433fd70dbe6.rlib,libleb128-d64510d9bf07956d.rlib,libbyteorder-bac45b9e49a49e25.rlib,liblogos-5d16f280d6d8900a.rlib,libnum_bigint-527feabf16480432.rlib,libnum_integer-0b166b8d18dabd0f.rlib,libnum_traits-cc43c620ec5c8031.rlib,libanyhow-208030529685dcad.rlib,libnum_enum-141266d3d4d5f6d3.rlib,libic_types-d9ef7d67ca067adc.rlib,libcrc32fast-a09c213ee487333f.rlib,libbase32-ff85d1e4d312c53f.rlib,libserde_bytes-634382e79c18d900.rlib,libhex-f8780b52ba33bd3a.rlib,libsha2-60e8b45a16950f77.rlib,libcpufeatures-7efc021d770e1ab2.rlib,libcfg_if-238a855292fb6d2b.rlib,libopaque_debug-d0808b73889e1de8.rlib,libdigest-dc5c19e56624540d.rlib,libblock_buffer-c09b4a4d8570d4c7.rlib,libgeneric_array-ef716b9b512f4c1f.rlib,libtypenum-6ad1c2b280435ebb.rlib,libbinread-28e015638b50d19a.rlib,liblazy_static-4a3eb30d8f892632.rlib,liblalrpop_util-3533ee616e6fb676.rlib,libregex-99dc75f7162874ea.rlib,libaho_corasick-e9f16c4772b0d008.rlib,libmemchr-c82724f15ddf03c0.rlib,libregex_syntax-364e6cd3a84ac260.rlib,libthiserror-2e82d6a1026e51b2.rlib,libcodespan_reporting-51ba20f7b0c493f0.rlib,libunicode_width-c776ae2ef817f9af.rlib,libtermcolor-66f7eff0e045b45a.rlib,libpretty-f5203ac8a55c8490.rlib,libarrayvec-d3a3159c0badb6dc.rlib,libtyped_arena-ad182a3dd2d20e11.rlib,libserde-ef63644b919d955d.rlib}.rlib" "<sysroot>/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-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcP5Fyc2/raw-dylibs" "-B<sysroot>/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" "<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" "-Wl,-O1" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: /tmp/rustcP5Fyc2/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" "a7bf256b3a5978c2c0ae0fda98fc77e42763d639b1c0c4da3c6676e0b6c31c70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7bf256b3a5978c2c0ae0fda98fc77e42763d639b1c0c4da3c6676e0b6c31c70", kill_on_drop: false }`
[INFO] [stdout] a7bf256b3a5978c2c0ae0fda98fc77e42763d639b1c0c4da3c6676e0b6c31c70
