[INFO] cloning repository https://github.com/kamausimon2024/icp-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kamausimon2024/icp-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamausimon2024%2Ficp-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamausimon2024%2Ficp-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5c84091db39efe0ded3c717b94506d54474b55af
[INFO] testing kamausimon2024/icp-rust/5c84091db39efe0ded3c717b94506d54474b55af against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamausimon2024%2Ficp-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kamausimon2024/icp-rust
[INFO] finished tweaking git repo https://github.com/kamausimon2024/icp-rust
[INFO] tweaked toml for git repo https://github.com/kamausimon2024/icp-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kamausimon2024/icp-rust on toolchain 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kamausimon2024/icp-rust 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" "+1.99.0-beta.1" "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-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3179b1d4863f2d7c13f3eee7973300827b0d799ba9f0f6ea865f7484ee973a13
[INFO] running `Command { std: "docker" "start" "3179b1d4863f2d7c13f3eee7973300827b0d799ba9f0f6ea865f7484ee973a13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3179b1d4863f2d7c13f3eee7973300827b0d799ba9f0f6ea865f7484ee973a13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3179b1d4863f2d7c13f3eee7973300827b0d799ba9f0f6ea865f7484ee973a13" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3179b1d4863f2d7c13f3eee7973300827b0d799ba9f0f6ea865f7484ee973a13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3179b1d4863f2d7c13f3eee7973300827b0d799ba9f0f6ea865f7484ee973a13" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", 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.69
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling libc v0.2.167
[INFO] [stderr]    Compiling hashbrown v0.14.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling winnow v0.5.16
[INFO] [stderr]    Compiling toml_datetime v0.6.3
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling thiserror v1.0.49
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling cc v1.2.2
[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 anyhow v1.0.75
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling candid v0.9.11
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling unicode-width v0.1.11
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling termcolor v1.3.0
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling cpufeatures v0.2.9
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling pretty v0.12.3
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling indexmap v2.0.2
[INFO] [stderr]    Compiling data-encoding v2.4.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]    Compiling serde_json v1.0.109
[INFO] [stderr]    Compiling ic0 v0.21.1
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling ic-stable-structures v0.5.6
[INFO] [stderr]    Compiling psm v0.1.24
[INFO] [stderr]    Compiling stacker v0.1.17
[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 toml_edit v0.19.15
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]    Compiling thiserror-impl v1.0.49
[INFO] [stderr]    Compiling candid_derive v0.6.4
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling num_enum_derive v0.6.1
[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: enum `Errors` is never used
[INFO] [stdout]   --> src/icp_rust_boilerplate_backend/src/lib.rs:85:6
[INFO] [stdout]    |
[INFO] [stdout] 85 | enum Errors{
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/icp_rust_boilerplate_backend/src/lib.rs:24:17
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn to_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn to_bytes(&self) -> 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=/opt/rustwide/target/release/deps/rustcszojwL/list" "-Wl,--no-undefined-version" "-m64" "/opt/rustwide/target/release/deps/rustcszojwL/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/release/deps/{libic_stable_structures-b5023d252ed3f776,libic_cdk-427266421e288b4a,libic0-2b7b143209cfa76d,libcandid-b92ccb1c03f45ff6,libstacker-ade1d9d42e53c32e,libpsm-67a021e676ab732a,liblibc-4086aad32cb9b83a,libhex-ffa975566df5dac7,libcrc32fast-6b35511fffef0fb5,libdata_encoding-8b5370eedcc3ed94,libserde_bytes-81d20a7ac72db155,libpretty-b8136ba31fcce68e,libarrayvec-0b015aea6db926ff,libtyped_arena-0c4a8e5d08ab2471,libleb128-12c4a3015a60d889,libbyteorder-612182941aaee0f7,libsha2-2548177279344c66,libcpufeatures-cfbef44ca6c5c742,libcfg_if-193575a6b29a3ab9,libdigest-cd32684cca7e54d8,libblock_buffer-f116244fc2dbf90b,libcrypto_common-e4a75dcfa14c1f59,libgeneric_array-75a69fe8b8181868,libtypenum-d3a9ef6dd6c4e3db,libnum_bigint-17719dc230157f41,libnum_integer-d83e73bf42cc31a2,libnum_traits-f7a67c960a6a019f,libanyhow-e0174ee20635ba0d,libnum_enum-2fd197ce023a6c91,libbinread-03d53284832688b9,liblazy_static-480433dca0d17907,libthiserror-0daf6bb214176149,libcodespan_reporting-b37957143a7397ed,libunicode_width-ea791f740d5f4cd5,libtermcolor-3325f7abcf138064,libserde-17259606f0429bef}.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" "/opt/rustwide/target/release/deps/rustcszojwL/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" "/opt/rustwide/target/release/build/psm-74637b743da84a7f/out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/release/deps/libicp_rust_boilerplate_backend.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: /opt/rustwide/target/release/deps/rustcszojwL/list:3: ; expected, but got get_all_users
[INFO] [stdout]           >>>     canister_query get_all_users;
[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" "3179b1d4863f2d7c13f3eee7973300827b0d799ba9f0f6ea865f7484ee973a13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3179b1d4863f2d7c13f3eee7973300827b0d799ba9f0f6ea865f7484ee973a13", kill_on_drop: false }`
[INFO] [stdout] 3179b1d4863f2d7c13f3eee7973300827b0d799ba9f0f6ea865f7484ee973a13
