[INFO] cloning repository https://github.com/isaacngordon/ic-contacts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/isaacngordon/ic-contacts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisaacngordon%2Fic-contacts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisaacngordon%2Fic-contacts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8197dc19cffc1a6a73d1fd5173044e33fd621c57 [INFO] testing isaacngordon/ic-contacts against 1.95.0 for beta-1.96-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisaacngordon%2Fic-contacts" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/isaacngordon/ic-contacts [INFO] finished tweaking git repo https://github.com/isaacngordon/ic-contacts [INFO] tweaked toml for git repo https://github.com/isaacngordon/ic-contacts written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/isaacngordon/ic-contacts on toolchain 1.95.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/isaacngordon/ic-contacts 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.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-serde v0.1.3 [INFO] [stderr] Downloaded leb128 v0.2.5 [INFO] [stderr] Downloaded typed-arena v2.0.2 [INFO] [stderr] Downloaded candid_derive v0.6.6 [INFO] [stderr] Downloaded ic-cdk-macros v0.8.4 [INFO] [stderr] Downloaded ic-cdk-macros v0.9.0 [INFO] [stderr] Downloaded ic-cdk-timers v0.7.0 [INFO] [stderr] Downloaded data-encoding v2.5.0 [INFO] [stderr] Downloaded ic_principal v0.1.1 [INFO] [stderr] Downloaded rustversion v1.0.14 [INFO] [stderr] Downloaded async-trait v0.1.79 [INFO] [stderr] Downloaded ic-cdk v0.13.1 [INFO] [stderr] Downloaded candid v0.10.6 [INFO] [stderr] Downloaded ic-stable-structures v0.6.3 [INFO] [stderr] Downloaded num-bigint v0.4.4 [INFO] [stderr] Downloaded hashbrown v0.14.3 [INFO] [stderr] Downloaded time v0.3.34 [INFO] [stderr] Downloaded serde_json v1.0.115 [INFO] [stderr] Downloaded syn v2.0.58 [INFO] [stderr] Downloaded tracing-subscriber v0.3.18 [INFO] [stderr] Downloaded tokio-util v0.7.10 [INFO] [stderr] Downloaded bumpalo v3.15.4 [INFO] [stderr] Downloaded indexmap v2.2.6 [INFO] [stderr] Downloaded rustls v0.21.10 [INFO] [stderr] Downloaded cc v1.0.90 [INFO] [stderr] Downloaded schemars v0.8.16 [INFO] [stderr] Downloaded serde_derive v1.0.197 [INFO] [stderr] Downloaded serde v1.0.197 [INFO] [stderr] Downloaded anyhow v1.0.81 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] [stderr] Downloaded num-traits v0.2.18 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.4 [INFO] [stderr] Downloaded wasm-streams v0.4.0 [INFO] [stderr] Downloaded time-macros v0.2.17 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.4 [INFO] [stderr] Downloaded either v1.10.0 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded crc32fast v1.4.0 [INFO] [stderr] Downloaded serde_tokenstream v0.1.7 [INFO] [stderr] Downloaded ic-cdk v0.12.0 [INFO] [stderr] Downloaded getrandom v0.2.12 [INFO] [stderr] Downloaded thiserror v1.0.58 [INFO] [stderr] Downloaded paste v1.0.14 [INFO] [stderr] Downloaded unicode-width v0.1.11 [INFO] [stderr] Downloaded pretty v0.12.3 [INFO] [stderr] Downloaded serde_derive_internals v0.26.0 [INFO] [stderr] Downloaded schemars_derive v0.8.16 [INFO] [stderr] Downloaded pocket-ic v2.2.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.79 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.4 [INFO] [stderr] Downloaded windows-targets v0.52.4 [INFO] [stderr] Downloaded thiserror-impl v1.0.58 [INFO] [stderr] Downloaded tracing-appender v0.2.3 [INFO] [stderr] Downloaded tower-service v0.3.2 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.4 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.4 [INFO] [stderr] Downloaded ic0 v0.21.1 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.4 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.4 [INFO] [stderr] Downloaded dyn-clone v1.0.17 [INFO] [stderr] Downloaded serde_bytes v0.11.14 [INFO] [stderr] Downloaded quote v1.0.35 [INFO] [stderr] Downloaded encoding_rs v0.8.33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae0f8ec560caf5f533bf5ef95b3accf8d4be9d48cf03255ad8d48bbc817476b0 [INFO] running `Command { std: "docker" "start" "-a" "ae0f8ec560caf5f533bf5ef95b3accf8d4be9d48cf03255ad8d48bbc817476b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae0f8ec560caf5f533bf5ef95b3accf8d4be9d48cf03255ad8d48bbc817476b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae0f8ec560caf5f533bf5ef95b3accf8d4be9d48cf03255ad8d48bbc817476b0", kill_on_drop: false }` [INFO] [stdout] ae0f8ec560caf5f533bf5ef95b3accf8d4be9d48cf03255ad8d48bbc817476b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27c950397b8ac8404e337f1a1b1cc1920045f06957dd4e4da06a624fb98e45bd [INFO] running `Command { std: "docker" "start" "-a" "27c950397b8ac8404e337f1a1b1cc1920045f06957dd4e4da06a624fb98e45bd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling ic0 v0.21.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling ic-stable-structures v0.6.3 [INFO] [stderr] Compiling candid v0.10.6 [INFO] [stderr] Compiling ic-cdk-macros v0.9.0 [INFO] [stderr] Compiling ic-cdk v0.13.1 [INFO] [stderr] Compiling ic-cdk-timers v0.7.0 [INFO] [stderr] Compiling contacts_backend v0.1.0 (/opt/rustwide/workdir/src/contacts_backend) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/contacts_backend/src/data/contact.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Contact { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 19 | pub fn new(name: String, email: String, phone: String, contact_id_counter: Option<&mut Counter>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Counter` is never constructed [INFO] [stdout] --> src/contacts_backend/src/data/counter.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Counter { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `increment`, `decrement`, and `get_count` are never used [INFO] [stdout] --> src/contacts_backend/src/data/counter.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl Counter { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 6 | pub fn new() -> Counter { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn increment(&mut self) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn decrement(&mut self) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get_count(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IncrementCounter` is never constructed [INFO] [stdout] --> src/contacts_backend/src/data/counter.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct IncrementCounter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `increment`, and `get_count` are never used [INFO] [stdout] --> src/contacts_backend/src/data/counter.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl IncrementCounter { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 30 | pub fn new() -> IncrementCounter { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn increment(&mut self) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_count(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DecrementCounter` is never constructed [INFO] [stdout] --> src/contacts_backend/src/data/counter.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct DecrementCounter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `decrement`, and `get_count` are never used [INFO] [stdout] --> src/contacts_backend/src/data/counter.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl DecrementCounter { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 48 | pub fn new() -> DecrementCounter { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn decrement(&mut self) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get_count(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/contacts_backend/src/data/contact.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | 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] 31 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/contacts_backend/src/data/user.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | fn to_bytes(&self) -> std::borrow::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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | 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=/opt/rustwide/target/debug/deps/rustc74BbF0/list" "-Wl,--no-undefined-version" "-m64" "/opt/rustwide/target/debug/deps/rustc74BbF0/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libic_cdk-a243913f04dcdaae,libic0-0ece4bdd3236bb18,libic_stable_structures-c55f4f5c15dcbd8a,libcandid-2852d66ee7acef0d,libstacker-3ed5bab0a2069be7,libpsm-f8f739ecadb3aa70,liblibc-0dae5f65b5d45587,libhex-0b3fae1a86581d8a,libserde_bytes-fc7ca988b478295e,libpretty-eabe821d19823083,libunicode_width-38f57ccae1b7c137,libarrayvec-22499e1dd2fa2870,libtyped_arena-60b9d1cf20edfcf7,libleb128-457cdf822c333734,libbyteorder-cb17835726abdeba,libic_principal-8cbf4a8518ea73bf,libcrc32fast-d4629bded478f10a,libdata_encoding-af99d7722ac5f275,libsha2-eff2f668991f35ce,libcpufeatures-0ed0dbf238819596,libcfg_if-cfb20768436a17c8,libdigest-f559463c8601cbbe,libblock_buffer-e789165563158a76,libcrypto_common-bc2de2b869cab99a,libgeneric_array-57065d78103b734c,libtypenum-8492b87d7f9383a4,libnum_bigint-11aaea561e8daeff,libnum_integer-384dc05d1093a7d0,libnum_traits-834d776030e320b3,libanyhow-fab3e5f894e86573,libbinread-e21dad660256413a,liblazy_static-16658855d1fc8677,libthiserror-574752d1239aafba,libserde-07f54e96ceed6dd8}.rlib" "/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/debug/deps/rustc74BbF0/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/psm-c6b546833fc6d292/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libcontacts_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: /opt/rustwide/target/debug/deps/rustc74BbF0/list:3: ; expected, but got get_contacts [INFO] [stdout] >>> canister_query get_contacts; [INFO] [stdout] >>> ^ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `contacts_backend` (lib) due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "27c950397b8ac8404e337f1a1b1cc1920045f06957dd4e4da06a624fb98e45bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27c950397b8ac8404e337f1a1b1cc1920045f06957dd4e4da06a624fb98e45bd", kill_on_drop: false }` [INFO] [stdout] 27c950397b8ac8404e337f1a1b1cc1920045f06957dd4e4da06a624fb98e45bd