[INFO] cloning repository https://github.com/PinappleUnderTheSea/ICP-Voice-NFT [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PinappleUnderTheSea/ICP-Voice-NFT" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPinappleUnderTheSea%2FICP-Voice-NFT", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPinappleUnderTheSea%2FICP-Voice-NFT'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ccf0a85f08c178e2325dee306d4170dcdbb39bb [INFO] testing PinappleUnderTheSea/ICP-Voice-NFT against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPinappleUnderTheSea%2FICP-Voice-NFT" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/PinappleUnderTheSea/ICP-Voice-NFT [INFO] finished tweaking git repo https://github.com/PinappleUnderTheSea/ICP-Voice-NFT [INFO] tweaked toml for git repo https://github.com/PinappleUnderTheSea/ICP-Voice-NFT written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PinappleUnderTheSea/ICP-Voice-NFT on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/PinappleUnderTheSea/ICP-Voice-NFT 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quinn v0.11.5 [INFO] [stderr] Downloaded ic0 v0.23.0 [INFO] [stderr] Downloaded include-base64 v0.1.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.16.0 [INFO] [stderr] Downloaded psm v0.1.23 [INFO] [stderr] Downloaded ic-cdk v0.16.0 [INFO] [stderr] Downloaded ic-cdk v0.13.5 [INFO] [stderr] Downloaded ic-stable-structures v0.5.6 [INFO] [stderr] Downloaded cc v1.1.16 [INFO] [stderr] Downloaded candid v0.10.10 [INFO] [stderr] Downloaded pocket-ic v4.0.0 [INFO] [stderr] Downloaded quinn-proto v0.11.8 [INFO] [stderr] Downloaded rustls-webpki v0.102.7 [INFO] [stderr] Downloaded serde_derive v1.0.209 [INFO] [stderr] Downloaded candid v0.8.4 [INFO] [stderr] Downloaded rustls-native-certs v0.8.0 [INFO] [stderr] Downloaded quinn-udp v0.5.5 [INFO] [stderr] Downloaded candid_derive v0.5.0 [INFO] [stderr] Downloaded lalrpop-util v0.19.12 [INFO] [stderr] Downloaded ic-cdk-macros v0.6.10 [INFO] [stderr] Downloaded rustls v0.23.12 [INFO] [stderr] Downloaded lalrpop v0.19.12 [INFO] [stderr] Downloaded candid_derive v0.6.6 [INFO] [stderr] Downloaded ic_principal v0.1.1 [INFO] [stderr] Downloaded stacker v0.1.17 [INFO] [stderr] Downloaded ic-cdk-macros v0.13.2 [INFO] [stderr] Downloaded rustls-pemfile v2.1.3 [INFO] [stderr] Downloaded rustc-hash v2.0.0 [INFO] [stderr] Downloaded serde v1.0.209 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49dd3ab1fed7c137933d4a63e41994c7bae56bc708f5375c3400bd18bf637d1f [INFO] running `Command { std: "docker" "start" "-a" "49dd3ab1fed7c137933d4a63e41994c7bae56bc708f5375c3400bd18bf637d1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49dd3ab1fed7c137933d4a63e41994c7bae56bc708f5375c3400bd18bf637d1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49dd3ab1fed7c137933d4a63e41994c7bae56bc708f5375c3400bd18bf637d1f", kill_on_drop: false }` [INFO] [stdout] 49dd3ab1fed7c137933d4a63e41994c7bae56bc708f5375c3400bd18bf637d1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78ead87c6d4f15cdf03c2718508ab3a6f55563751e9dc2bdde55df0fa9b1c235 [INFO] running `Command { std: "docker" "start" "-a" "78ead87c6d4f15cdf03c2718508ab3a6f55563751e9dc2bdde55df0fa9b1c235", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling cc v1.1.16 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cpufeatures v0.2.13 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling ic0 v0.23.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling ic-stable-structures v0.5.6 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling psm v0.1.23 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Compiling include-base64 v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling candid v0.10.10 [INFO] [stderr] Compiling candid v0.8.4 [INFO] [stderr] Compiling ic-cdk-macros v0.16.0 [INFO] [stderr] Compiling ic-cdk v0.16.0 [INFO] [stderr] Compiling ic-cdk-macros v0.6.10 [INFO] [stderr] Compiling icp_hello_world_rust_backend v0.1.0 (/opt/rustwide/workdir/src/icp_hello_world_rust_backend) [INFO] [stdout] warning: unused imports: `DefaultMemoryImpl` and `StableBTreeMap` [INFO] [stdout] --> src/icp_hello_world_rust_backend/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | DefaultMemoryImpl, StableBTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/icp_hello_world_rust_backend/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/icp_hello_world_rust_backend/src/lib.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | 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] 37 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.67s [INFO] running `Command { std: "docker" "inspect" "78ead87c6d4f15cdf03c2718508ab3a6f55563751e9dc2bdde55df0fa9b1c235", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78ead87c6d4f15cdf03c2718508ab3a6f55563751e9dc2bdde55df0fa9b1c235", kill_on_drop: false }` [INFO] [stdout] 78ead87c6d4f15cdf03c2718508ab3a6f55563751e9dc2bdde55df0fa9b1c235 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 523be912ad225998f5fdbf20afb7fd6c2519755edb4e1638506ceac7f659c0dd [INFO] running `Command { std: "docker" "start" "-a" "523be912ad225998f5fdbf20afb7fd6c2519755edb4e1638506ceac7f659c0dd", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling rustls-native-certs v0.8.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling webpki-roots v0.26.5 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling include-base64 v0.1.0 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling rustls-webpki v0.102.7 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling tokio-socks v0.5.2 [INFO] [stderr] Compiling candid v0.8.4 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling candid v0.10.10 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling ic-cdk-macros v0.13.2 [INFO] [stderr] Compiling ic-cdk-macros v0.16.0 [INFO] [stderr] Compiling ic-cdk v0.16.0 [INFO] [stderr] Compiling ic-cdk v0.13.5 [INFO] [stderr] Compiling hyper-rustls v0.27.3 [INFO] [stderr] Compiling reqwest v0.12.7 [INFO] [stderr] Compiling pocket-ic v4.0.0 [INFO] [stderr] Compiling ic-cdk-macros v0.6.10 [INFO] [stderr] Compiling icp_hello_world_rust_backend v0.1.0 (/opt/rustwide/workdir/src/icp_hello_world_rust_backend) [INFO] [stdout] warning: unused imports: `DefaultMemoryImpl` and `StableBTreeMap` [INFO] [stdout] --> src/icp_hello_world_rust_backend/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | DefaultMemoryImpl, StableBTreeMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/icp_hello_world_rust_backend/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_args` [INFO] [stdout] --> src/icp_hello_world_rust_backend/tests/integration_tests.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let encoded_args = Encode!(&description, &voice_fingerprint, &metadata).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (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_hello_world_rust_backend/src/lib.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | 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] 37 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "523be912ad225998f5fdbf20afb7fd6c2519755edb4e1638506ceac7f659c0dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "523be912ad225998f5fdbf20afb7fd6c2519755edb4e1638506ceac7f659c0dd", kill_on_drop: false }` [INFO] [stdout] 523be912ad225998f5fdbf20afb7fd6c2519755edb4e1638506ceac7f659c0dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cca33dc4312efddc577e042da89fec15b971d3d8591a768ad4bf4f85340bbadf [INFO] running `Command { std: "docker" "start" "-a" "cca33dc4312efddc577e042da89fec15b971d3d8591a768ad4bf4f85340bbadf", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `DefaultMemoryImpl` and `StableBTreeMap` [INFO] [stderr] --> src/icp_hello_world_rust_backend/src/lib.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | DefaultMemoryImpl, StableBTreeMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::mem` [INFO] [stderr] --> src/icp_hello_world_rust_backend/src/lib.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::mem; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/icp_hello_world_rust_backend/src/lib.rs:37:17 [INFO] [stderr] | [INFO] [stderr] 37 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 37 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `encoded_args` [INFO] [stderr] --> src/icp_hello_world_rust_backend/tests/integration_tests.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | let encoded_args = Encode!(&description, &voice_fingerprint, &metadata).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_args` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `icp_hello_world_rust_backend` (lib test) generated 3 warnings (run `cargo fix --lib -p icp_hello_world_rust_backend --tests` to apply 3 suggestions) [INFO] [stderr] warning: `icp_hello_world_rust_backend` (test "integration_tests") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/icp_hello_world_rust_backend-2628ffa4892ed602) [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-c390a6985260d510) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_hello_world ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_hello_world stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_hello_world' (26) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pocket-ic-4.0.0/src/lib.rs:1278:9: [INFO] [stdout] [INFO] [stdout] Could not find the PocketIC binary. [INFO] [stdout] [INFO] [stdout] The PocketIC binary could not be found at "./pocket-ic". Please specify the path to the binary with the POCKET_IC_BIN environment variable, or place it in your current working directory (you are running PocketIC from "/opt/rustwide/workdir/src/icp_hello_world_rust_backend"). [INFO] [stdout] [INFO] [stdout] To download the binary, please visit https://github.com/dfinity/pocketic. [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5bad2e8b5392 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5bad2e8b5392 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5bad2e8b5392 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5bad2e8b5392 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5bad2e8c79df - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5bad2e8c79df - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5bad2e87f421 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5bad2e87f421 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5bad2e88c362 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5bad2e89207f - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5bad2e891f11 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5bad2ddb4bee - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5bad2ddb4bee - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5bad2e8927ef - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5bad2e8927ef - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5bad2e89259a - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5bad2e88c4a9 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5bad2e8721ed - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5bad2e8d2480 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5bad2de83f92 - pocket_ic::start_or_reuse_server::hd9ff81d213a0daba [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pocket-ic-4.0.0/src/lib.rs:1278:9 [INFO] [stdout] 20: 0x5bad2ddd8c02 - core::ops::function::FnOnce::call_once::hfcd6dd6232e151e2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 21: 0x5bad2de325b6 - core::option::Option::unwrap_or_else::h34dca206eb12cfb2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/option.rs:1060:21 [INFO] [stdout] 22: 0x5bad2de83a8d - pocket_ic::PocketIcBuilder::build::h944581e0353849b7 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pocket-ic-4.0.0/src/lib.rs:93:42 [INFO] [stdout] 23: 0x5bad2de8a242 - pocket_ic::PocketIc::new::hc85781593b09ac33 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pocket-ic-4.0.0/src/lib.rs:283:58 [INFO] [stdout] 24: 0x5bad2dd8f46b - integration_tests::setup::hde7633965236a9bc [INFO] [stdout] at /opt/rustwide/workdir/src/icp_hello_world_rust_backend/tests/integration_tests.rs:8:15 [INFO] [stdout] 25: 0x5bad2dd8ea31 - integration_tests::test_hello_world::h069c1698a6f9ec65 [INFO] [stdout] at /opt/rustwide/workdir/src/icp_hello_world_rust_backend/tests/integration_tests.rs:19:35 [INFO] [stdout] 26: 0x5bad2dd8f397 - integration_tests::test_hello_world::{{closure}}::hb7db8a18bf677c3a [INFO] [stdout] at /opt/rustwide/workdir/src/icp_hello_world_rust_backend/tests/integration_tests.rs:18:22 [INFO] [stdout] 27: 0x5bad2dd8f866 - core::ops::function::FnOnce::call_once::hd0f73b57ded26e02 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 28: 0x5bad2ddb49ab - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 29: 0x5bad2ddb49ab - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 30: 0x5bad2ddca495 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 31: 0x5bad2ddca495 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 32: 0x5bad2ddca495 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 33: 0x5bad2ddca495 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 34: 0x5bad2ddca495 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x5bad2ddca495 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 36: 0x5bad2ddca495 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 37: 0x5bad2dda0e04 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 38: 0x5bad2dda0e04 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 39: 0x5bad2dda47aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x5bad2dda47aa - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 41: 0x5bad2dda47aa - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 42: 0x5bad2dda47aa - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 43: 0x5bad2dda47aa - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x5bad2dda47aa - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x5bad2dda47aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 46: 0x5bad2e8862ff - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 47: 0x5bad2e8862ff - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 48: 0x78cf7bed6aa4 - [INFO] [stdout] 49: 0x78cf7bf63a34 - clone [INFO] [stdout] 50: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_hello_world [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test integration_tests` [INFO] running `Command { std: "docker" "inspect" "cca33dc4312efddc577e042da89fec15b971d3d8591a768ad4bf4f85340bbadf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cca33dc4312efddc577e042da89fec15b971d3d8591a768ad4bf4f85340bbadf", kill_on_drop: false }` [INFO] [stdout] cca33dc4312efddc577e042da89fec15b971d3d8591a768ad4bf4f85340bbadf