[INFO] cloning repository https://github.com/ichewm/agent-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ichewm/agent-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fichewm%2Fagent-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fichewm%2Fagent-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63f30d5fef12a47853d871ba1374c3a507ec752c [INFO] building ichewm/agent-rs against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fichewm%2Fagent-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/ichewm/agent-rs [INFO] finished tweaking git repo https://github.com/ichewm/agent-rs [INFO] tweaked toml for git repo https://github.com/ichewm/agent-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ichewm/agent-rs on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ichewm/agent-rs 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_bytes v0.11.6 [INFO] [stderr] Downloaded paste v1.0.7 [INFO] [stderr] Downloaded zeroize v1.5.5 [INFO] [stderr] Downloaded rustversion v1.0.7 [INFO] [stderr] Downloaded os_str_bytes v6.1.0 [INFO] [stderr] Downloaded globset v0.4.9 [INFO] [stderr] Downloaded beef v0.5.2 [INFO] [stderr] Downloaded proc-macro-crate v1.1.3 [INFO] [stderr] Downloaded delay v0.3.1 [INFO] [stderr] Downloaded clap_lex v0.2.3 [INFO] [stderr] Downloaded clap_derive v3.2.6 [INFO] [stderr] Downloaded elliptic-curve v0.12.1 [INFO] [stderr] Downloaded petgraph v0.6.2 [INFO] [stderr] Downloaded clap v3.2.6 [INFO] [stderr] Downloaded lalrpop-util v0.19.8 [INFO] [stderr] Downloaded textwrap v0.15.0 [INFO] [stderr] Downloaded candid v0.7.15 [INFO] [stderr] Downloaded futures-intrusive v0.4.0 [INFO] [stderr] Downloaded data-encoding v2.3.2 [INFO] [stderr] Downloaded group v0.12.0 [INFO] [stderr] Downloaded logos-derive v0.12.1 [INFO] [stderr] Downloaded colored v2.0.0 [INFO] [stderr] Downloaded base64ct v1.5.0 [INFO] [stderr] Downloaded signature v1.5.0 [INFO] [stderr] Downloaded rustls-native-certs v0.6.2 [INFO] [stderr] Downloaded anyhow v1.0.58 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded pico-args v0.4.2 [INFO] [stderr] Downloaded webpki-roots v0.22.3 [INFO] [stderr] Downloaded lalrpop v0.19.8 [INFO] [stderr] Downloaded k256 v0.11.2 [INFO] [stderr] Downloaded mockito v0.31.0 [INFO] [stderr] Downloaded proptest v1.0.0 [INFO] [stderr] Downloaded pkcs11 v0.5.0 [INFO] [stderr] Downloaded fixedbitset v0.4.1 [INFO] [stderr] Downloaded garcon v0.2.3 [INFO] [stderr] Downloaded crypto-bigint v0.4.7 [INFO] [stderr] Downloaded base32 v0.4.0 [INFO] [stderr] Downloaded ena v0.14.0 [INFO] [stderr] Downloaded logos v0.12.1 [INFO] [stderr] Downloaded num_enum_derive v0.5.7 [INFO] [stderr] Downloaded ecdsa v0.14.2 [INFO] [stderr] Downloaded similar v2.1.0 [INFO] [stderr] Downloaded pem-rfc7468 v0.6.0 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] [stderr] Downloaded ic-types v0.4.0 [INFO] [stderr] Downloaded ascii-canvas v3.0.0 [INFO] [stderr] Downloaded const-oid v0.9.0 [INFO] [stderr] Downloaded pretty v0.10.0 [INFO] [stderr] Downloaded ff v0.12.0 [INFO] [stderr] Downloaded assert-json-diff v2.0.1 [INFO] [stderr] Downloaded pem v1.0.2 [INFO] [stderr] Downloaded rustls-pemfile v1.0.0 [INFO] [stderr] Downloaded time v0.3.11 [INFO] [stderr] Downloaded num-bigint v0.4.3 [INFO] [stderr] Downloaded der v0.6.0 [INFO] [stderr] Downloaded candid_derive v0.4.5 [INFO] [stderr] Downloaded num_enum v0.5.7 [INFO] [stderr] Downloaded rfc6979 v0.2.0 [INFO] [stderr] Downloaded semver v1.0.10 [INFO] [stderr] Downloaded strum_macros v0.24.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06ea47acf70e351a03b22cf62fb01e7d11020b22710c5d4c732c7f94d04290b5 [INFO] running `Command { std: "docker" "start" "-a" "06ea47acf70e351a03b22cf62fb01e7d11020b22710c5d4c732c7f94d04290b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06ea47acf70e351a03b22cf62fb01e7d11020b22710c5d4c732c7f94d04290b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06ea47acf70e351a03b22cf62fb01e7d11020b22710c5d4c732c7f94d04290b5", kill_on_drop: false }` [INFO] [stdout] 06ea47acf70e351a03b22cf62fb01e7d11020b22710c5d4c732c7f94d04290b5 [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=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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a566715bb730bcc3eac264f8c579316e2ecec3ebaf1f735d67acd27de3fbd129 [INFO] running `Command { std: "docker" "start" "-a" "a566715bb730bcc3eac264f8c579316e2ecec3ebaf1f735d67acd27de3fbd129", 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 libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling zeroize v1.5.5 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling base64ct v1.5.0 [INFO] [stderr] Compiling tracing-core v0.1.27 [INFO] [stderr] Compiling const-oid v0.9.0 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling pem-rfc7468 v0.6.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling der v0.6.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling crypto-bigint v0.4.7 [INFO] [stderr] Compiling ff v0.12.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling group v0.12.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling rustls-native-certs v0.6.2 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling signature v1.5.0 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rfc6979 v0.2.0 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling rustversion v1.0.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling sec1 v0.3.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling elliptic-curve v0.12.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling object v0.28.4 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling ecdsa v0.14.2 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling k256 v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pem v1.0.2 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling time v0.3.11 [INFO] [stderr] Compiling semver v1.0.10 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling webpki-roots v0.22.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling os_str_bytes v6.1.0 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling clap_lex v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling delay v0.3.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling globset v0.4.9 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling pkcs11 v0.5.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling candid_derive v0.4.5 [INFO] [stderr] Compiling strum_macros v0.24.0 [INFO] [stderr] Compiling clap_derive v3.2.6 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling clap v3.2.6 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling garcon v0.2.3 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serde_bytes v0.11.6 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling ic-types v0.4.0 [INFO] [stderr] Compiling candid v0.7.15 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Compiling num_enum v0.5.7 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.11 [INFO] [stderr] Compiling ic-agent v0.20.0 (/opt/rustwide/workdir/ic-agent) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> ic-agent/src/agent/status.rs:101:51 [INFO] [stdout] | [INFO] [stdout] 101 | serde_cbor::Value::Text(t) => (t.to_owned()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 101 - serde_cbor::Value::Text(t) => (t.to_owned()), [INFO] [stdout] 101 + serde_cbor::Value::Text(t) => t.to_owned(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> ic-agent/src/agent/status.rs:102:54 [INFO] [stdout] | [INFO] [stdout] 102 | serde_cbor::Value::Integer(i) => (i.to_string()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - serde_cbor::Value::Integer(i) => (i.to_string()), [INFO] [stdout] 102 + serde_cbor::Value::Integer(i) => i.to_string(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Func` is never constructed [INFO] [stdout] --> ic-agent/src/agent/nonce.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Func(pub T); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AsyncContent` is never used [INFO] [stdout] --> ic-agent/src/agent/replica_api.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum AsyncContent { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SyncContent` is never used [INFO] [stdout] --> ic-agent/src/agent/replica_api.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | pub enum SyncContent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> ic-agent/src/agent/replica_api.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | pub enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RequestStatusResponseReplied` is never used [INFO] [stdout] --> ic-agent/src/agent/replica_api.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | pub enum RequestStatusResponseReplied { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> ic-agent/src/bls/bls12381/bls.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | pair::precomp(&mut G2_TAB, &g); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 83 | pair::precomp(&raw mut G2_TAB, &g); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ic-agent/src/agent/mod.rs:769:9 [INFO] [stdout] | [INFO] [stdout] 769 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 772 | ) -> UpdateBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ the same lifetime is hidden 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] 772 | ) -> UpdateBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ic-agent/src/agent/mod.rs:788:35 [INFO] [stdout] | [INFO] [stdout] 788 | pub fn query>(&self, canister_id: &Principal, method_name: S) -> QueryBuilder { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden 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] 788 | pub fn query>(&self, canister_id: &Principal, method_name: S) -> QueryBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ic-agent/src/agent/mod.rs:1280:17 [INFO] [stdout] | [INFO] [stdout] 1280 | pub fn call(&self) -> UpdateCall { [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] 1280 | pub fn call(&self) -> UpdateCall<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ic-utils v0.20.0 (/opt/rustwide/workdir/ic-utils) [INFO] [stderr] Compiling ic-identity-hsm v0.20.0 (/opt/rustwide/workdir/ic-identity-hsm) [INFO] [stderr] Compiling icx-cert v0.20.0 (/opt/rustwide/workdir/icx-cert) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> ic-utils/src/canister.rs:92:64 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn canister_id_<'canister: 'agent>(&'canister self) -> &Principal { [INFO] [stdout] | --------- ^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'canister` [INFO] [stdout] | [INFO] [stdout] 92 | pub fn canister_id_<'canister: 'agent>(&'canister self) -> &'canister Principal { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ic-asset v0.20.0 (/opt/rustwide/workdir/ic-asset) [INFO] [stderr] Compiling ref-tests v0.0.0 (/opt/rustwide/workdir/ref-tests) [INFO] [stderr] Compiling icx v0.20.0 (/opt/rustwide/workdir/icx) [INFO] [stderr] Compiling icx-asset v0.20.0 (/opt/rustwide/workdir/icx-asset) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 45s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "a566715bb730bcc3eac264f8c579316e2ecec3ebaf1f735d67acd27de3fbd129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a566715bb730bcc3eac264f8c579316e2ecec3ebaf1f735d67acd27de3fbd129", kill_on_drop: false }` [INFO] [stdout] a566715bb730bcc3eac264f8c579316e2ecec3ebaf1f735d67acd27de3fbd129 [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=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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f6ccf293ee06b095b1c4828275bee7d96894165d6e0a074eb14e636dfdef3ad [INFO] running `Command { std: "docker" "start" "-a" "6f6ccf293ee06b095b1c4828275bee7d96894165d6e0a074eb14e636dfdef3ad", 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 bit-set v0.5.2 [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> ic-agent/src/agent/status.rs:101:51 [INFO] [stdout] | [INFO] [stdout] 101 | serde_cbor::Value::Text(t) => (t.to_owned()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 101 - serde_cbor::Value::Text(t) => (t.to_owned()), [INFO] [stdout] 101 + serde_cbor::Value::Text(t) => t.to_owned(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> ic-agent/src/agent/status.rs:102:54 [INFO] [stdout] | [INFO] [stdout] 102 | serde_cbor::Value::Integer(i) => (i.to_string()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - serde_cbor::Value::Integer(i) => (i.to_string()), [INFO] [stdout] 102 + serde_cbor::Value::Integer(i) => i.to_string(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Func` is never constructed [INFO] [stdout] --> ic-agent/src/agent/nonce.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Func(pub T); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AsyncContent` is never used [INFO] [stdout] --> ic-agent/src/agent/replica_api.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum AsyncContent { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SyncContent` is never used [INFO] [stdout] --> ic-agent/src/agent/replica_api.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | pub enum SyncContent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> ic-agent/src/agent/replica_api.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | pub enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RequestStatusResponseReplied` is never used [INFO] [stdout] --> ic-agent/src/agent/replica_api.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | pub enum RequestStatusResponseReplied { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> ic-agent/src/bls/bls12381/bls.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | pair::precomp(&mut G2_TAB, &g); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 83 | pair::precomp(&raw mut G2_TAB, &g); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ic-agent/src/agent/mod.rs:769:9 [INFO] [stdout] | [INFO] [stdout] 769 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 772 | ) -> UpdateBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ the same lifetime is hidden 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] 772 | ) -> UpdateBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ic-agent/src/agent/mod.rs:788:35 [INFO] [stdout] | [INFO] [stdout] 788 | pub fn query>(&self, canister_id: &Principal, method_name: S) -> QueryBuilder { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden 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] 788 | pub fn query>(&self, canister_id: &Principal, method_name: S) -> QueryBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ic-agent/src/agent/mod.rs:1280:17 [INFO] [stdout] | [INFO] [stdout] 1280 | pub fn call(&self) -> UpdateCall { [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] 1280 | pub fn call(&self) -> UpdateCall<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling assert-json-diff v2.0.1 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling similar v2.1.0 [INFO] [stderr] Compiling ic-identity-hsm v0.20.0 (/opt/rustwide/workdir/ic-identity-hsm) [INFO] [stderr] Compiling icx-cert v0.20.0 (/opt/rustwide/workdir/icx-cert) [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling mockito v0.31.0 [INFO] [stderr] Compiling proptest v1.0.0 [INFO] [stderr] Compiling candid v0.7.15 [INFO] [stderr] Compiling ic-utils v0.20.0 (/opt/rustwide/workdir/ic-utils) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> ic-utils/src/canister.rs:92:64 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn canister_id_<'canister: 'agent>(&'canister self) -> &Principal { [INFO] [stdout] | --------- ^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'canister` [INFO] [stdout] | [INFO] [stdout] 92 | pub fn canister_id_<'canister: 'agent>(&'canister self) -> &'canister Principal { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ic-agent v0.20.0 (/opt/rustwide/workdir/ic-agent) [INFO] [stderr] Compiling ref-tests v0.0.0 (/opt/rustwide/workdir/ref-tests) [INFO] [stderr] Compiling ic-asset v0.20.0 (/opt/rustwide/workdir/ic-asset) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> ic-agent/src/agent/status.rs:101:51 [INFO] [stdout] | [INFO] [stdout] 101 | serde_cbor::Value::Text(t) => (t.to_owned()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 101 - serde_cbor::Value::Text(t) => (t.to_owned()), [INFO] [stdout] 101 + serde_cbor::Value::Text(t) => t.to_owned(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> ic-agent/src/agent/status.rs:102:54 [INFO] [stdout] | [INFO] [stdout] 102 | serde_cbor::Value::Integer(i) => (i.to_string()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - serde_cbor::Value::Integer(i) => (i.to_string()), [INFO] [stdout] 102 + serde_cbor::Value::Integer(i) => i.to_string(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling icx v0.20.0 (/opt/rustwide/workdir/icx) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> ref-tests/tests/integration.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | fn wallet_canister_create_and_install() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `for<'de> !: ArgumentDecoder<'de>` will fail [INFO] [stdout] --> ref-tests/tests/integration.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | / wallet [INFO] [stdout] 169 | | .call64(Principal::management_canister(), "install_code", args, 0) [INFO] [stdout] | |______________________________________________________________________________^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 169 | .call64::<(), _>(Principal::management_canister(), "install_code", args, 0) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling icx-asset v0.20.0 (/opt/rustwide/workdir/icx-asset) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> ic-utils/src/canister.rs:92:64 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn canister_id_<'canister: 'agent>(&'canister self) -> &Principal { [INFO] [stdout] | --------- ^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'canister` [INFO] [stdout] | [INFO] [stdout] 92 | pub fn canister_id_<'canister: 'agent>(&'canister self) -> &'canister Principal { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Func` is never constructed [INFO] [stdout] --> ic-agent/src/agent/nonce.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Func(pub T); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AsyncContent` is never used [INFO] [stdout] --> ic-agent/src/agent/replica_api.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum AsyncContent { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SyncContent` is never used [INFO] [stdout] --> ic-agent/src/agent/replica_api.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | pub enum SyncContent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> ic-agent/src/agent/replica_api.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | pub enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RequestStatusResponseReplied` is never used [INFO] [stdout] --> ic-agent/src/agent/replica_api.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | pub enum RequestStatusResponseReplied { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> ic-agent/src/bls/bls12381/bls.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | pair::precomp(&mut G2_TAB, &g); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 83 | pair::precomp(&raw mut G2_TAB, &g); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ic-agent/src/agent/mod.rs:769:9 [INFO] [stdout] | [INFO] [stdout] 769 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 772 | ) -> UpdateBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ the same lifetime is hidden 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] 772 | ) -> UpdateBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ic-agent/src/agent/mod.rs:788:35 [INFO] [stdout] | [INFO] [stdout] 788 | pub fn query>(&self, canister_id: &Principal, method_name: S) -> QueryBuilder { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden 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] 788 | pub fn query>(&self, canister_id: &Principal, method_name: S) -> QueryBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ic-agent/src/agent/mod.rs:1280:17 [INFO] [stdout] | [INFO] [stdout] 1280 | pub fn call(&self) -> UpdateCall { [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] 1280 | pub fn call(&self) -> UpdateCall<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 49.77s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.8, ref-tests v0.0.0 (/opt/rustwide/workdir/ref-tests) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "6f6ccf293ee06b095b1c4828275bee7d96894165d6e0a074eb14e636dfdef3ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f6ccf293ee06b095b1c4828275bee7d96894165d6e0a074eb14e636dfdef3ad", kill_on_drop: false }` [INFO] [stdout] 6f6ccf293ee06b095b1c4828275bee7d96894165d6e0a074eb14e636dfdef3ad