[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] testing ichewm/agent-rs against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fichewm%2Fagent-rs" "/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/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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ichewm/agent-rs 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/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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 strum_macros v0.24.0 [INFO] [stderr] Downloaded libflate_lz77 v1.1.0 [INFO] [stderr] Downloaded base64ct v1.5.0 [INFO] [stderr] Downloaded serde_bytes v0.11.6 [INFO] [stderr] Downloaded garcon v0.2.3 [INFO] [stderr] Downloaded logos-derive v0.12.1 [INFO] [stderr] Downloaded candid_derive v0.4.5 [INFO] [stderr] Downloaded ic-types v0.4.0 [INFO] [stderr] Downloaded delay v0.3.1 [INFO] [stderr] Downloaded rle-decode-fast v1.0.3 [INFO] [stderr] Downloaded typed-arena v2.0.1 [INFO] [stderr] Downloaded globset v0.4.9 [INFO] [stderr] Downloaded clap_derive v3.2.6 [INFO] [stderr] Downloaded libflate v1.2.0 [INFO] [stderr] Downloaded elliptic-curve v0.12.1 [INFO] [stderr] Downloaded tracing-core v0.1.27 [INFO] [stderr] Downloaded tokio v1.19.2 [INFO] [stderr] Downloaded clap v3.2.6 [INFO] [stderr] Downloaded hyper v0.14.19 [INFO] [stderr] Downloaded k256 v0.11.2 [INFO] [stderr] Downloaded hashbrown v0.12.1 [INFO] [stderr] Downloaded webpki-roots v0.22.3 [INFO] [stderr] Downloaded proptest v1.0.0 [INFO] [stderr] Downloaded object v0.28.4 [INFO] [stderr] Downloaded openssl v0.10.40 [INFO] [stderr] Downloaded pkcs11 v0.5.0 [INFO] [stderr] Downloaded miniz_oxide v0.5.3 [INFO] [stderr] Downloaded crypto-bigint v0.4.7 [INFO] [stderr] Downloaded similar v2.1.0 [INFO] [stderr] Downloaded mockito v0.31.0 [INFO] [stderr] Downloaded pem v1.0.2 [INFO] [stderr] Downloaded openssl-sys v0.9.74 [INFO] [stderr] Downloaded clap_lex v0.2.3 [INFO] [stderr] Downloaded pretty v0.10.0 [INFO] [stderr] Downloaded rfc6979 v0.2.0 [INFO] [stderr] Downloaded hyper-rustls v0.23.0 [INFO] [stderr] Downloaded logos v0.12.1 [INFO] [stderr] Downloaded ff v0.12.0 [INFO] [stderr] Downloaded assert-json-diff v2.0.1 [INFO] [stderr] Downloaded group v0.12.0 [INFO] [stderr] Downloaded der v0.6.0 [INFO] [stderr] Downloaded const-oid v0.9.0 [INFO] [stderr] Downloaded semver v1.0.10 [INFO] [stderr] Downloaded rustversion v1.0.7 [INFO] [stderr] Downloaded once_cell v1.12.0 [INFO] [stderr] Downloaded candid v0.7.15 [INFO] [stderr] Downloaded ecdsa v0.14.2 [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] 17e1f5815c168b2e29b5c8ecda5220bb8b3fd1a22a20fe1c3c7581af970f33c9 [INFO] running `Command { std: "docker" "start" "-a" "17e1f5815c168b2e29b5c8ecda5220bb8b3fd1a22a20fe1c3c7581af970f33c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17e1f5815c168b2e29b5c8ecda5220bb8b3fd1a22a20fe1c3c7581af970f33c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17e1f5815c168b2e29b5c8ecda5220bb8b3fd1a22a20fe1c3c7581af970f33c9", kill_on_drop: false }` [INFO] [stdout] 17e1f5815c168b2e29b5c8ecda5220bb8b3fd1a22a20fe1c3c7581af970f33c9 [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] 41420ee9b043b7e5cdaa54a6a063a873cfba41dfd6f1fdccc59483f3d0d77eac [INFO] running `Command { std: "docker" "start" "-a" "41420ee9b043b7e5cdaa54a6a063a873cfba41dfd6f1fdccc59483f3d0d77eac", 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 quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [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-task v0.3.21 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling ring v0.16.20 [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 digest v0.10.3 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling zeroize v1.5.5 [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 regex-syntax v0.6.26 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling pem-rfc7468 v0.6.0 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling crypto-bigint v0.4.7 [INFO] [stderr] Compiling ff v0.12.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling der v0.6.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling group v0.12.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rustls-pemfile v1.0.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling rustls-native-certs v0.6.2 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling rfc6979 v0.2.0 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling sec1 v0.3.0 [INFO] [stderr] Compiling signature v1.5.0 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling elliptic-curve v0.12.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling rustversion v1.0.7 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling ecdsa v0.14.2 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling object v0.28.4 [INFO] [stderr] Compiling webpki-roots v0.22.3 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling time v0.3.11 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.58 [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 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 paste v1.0.7 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling os_str_bytes v6.1.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling clap_lex v0.2.3 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling libflate_lz77 v1.1.0 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling libflate v1.2.0 [INFO] [stderr] Compiling delay v0.3.1 [INFO] [stderr] Compiling globset v0.4.9 [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 binread_derive v2.1.0 [INFO] [stderr] Compiling logos-derive v0.12.1 [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 binread v2.2.0 [INFO] [stderr] Compiling clap v3.2.6 [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 serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling ic-types v0.4.0 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling candid v0.7.15 [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 12s [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 1` [INFO] running `Command { std: "docker" "inspect" "41420ee9b043b7e5cdaa54a6a063a873cfba41dfd6f1fdccc59483f3d0d77eac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41420ee9b043b7e5cdaa54a6a063a873cfba41dfd6f1fdccc59483f3d0d77eac", kill_on_drop: false }` [INFO] [stdout] 41420ee9b043b7e5cdaa54a6a063a873cfba41dfd6f1fdccc59483f3d0d77eac [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] 0d55b2cb2b7eb0940b24e75db0c1e67372a485765e949ee9142f4a6b9225972e [INFO] running `Command { std: "docker" "start" "-a" "0d55b2cb2b7eb0940b24e75db0c1e67372a485765e949ee9142f4a6b9225972e", 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 wait-timeout v0.2.0 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling assert-json-diff v2.0.1 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling tempfile v3.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 rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.0.0 [INFO] [stderr] Compiling mockito v0.31.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 ref-tests v0.0.0 (/opt/rustwide/workdir/ref-tests) [INFO] [stderr] Compiling ic-asset v0.20.0 (/opt/rustwide/workdir/ic-asset) [INFO] [stderr] Compiling icx v0.20.0 (/opt/rustwide/workdir/icx) [INFO] [stderr] Compiling ic-agent v0.20.0 (/opt/rustwide/workdir/ic-agent) [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] [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: 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] Compiling icx-asset v0.20.0 (/opt/rustwide/workdir/icx-asset) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.79s [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 2` [INFO] running `Command { std: "docker" "inspect" "0d55b2cb2b7eb0940b24e75db0c1e67372a485765e949ee9142f4a6b9225972e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d55b2cb2b7eb0940b24e75db0c1e67372a485765e949ee9142f4a6b9225972e", kill_on_drop: false }` [INFO] [stdout] 0d55b2cb2b7eb0940b24e75db0c1e67372a485765e949ee9142f4a6b9225972e [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] a0bc07f4c85a3c1347a8cb6c1d1fbb5667cb90e1020aa3bfdfea0b818251c0e4 [INFO] running `Command { std: "docker" "start" "-a" "a0bc07f4c85a3c1347a8cb6c1d1fbb5667cb90e1020aa3bfdfea0b818251c0e4", 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] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> ic-agent/src/agent/status.rs:101:51 [INFO] [stderr] | [INFO] [stderr] 101 | serde_cbor::Value::Text(t) => (t.to_owned()), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 101 - serde_cbor::Value::Text(t) => (t.to_owned()), [INFO] [stderr] 101 + serde_cbor::Value::Text(t) => t.to_owned(), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> ic-agent/src/agent/status.rs:102:54 [INFO] [stderr] | [INFO] [stderr] 102 | serde_cbor::Value::Integer(i) => (i.to_string()), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 102 - serde_cbor::Value::Integer(i) => (i.to_string()), [INFO] [stderr] 102 + serde_cbor::Value::Integer(i) => i.to_string(), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: struct `Func` is never constructed [INFO] [stderr] --> ic-agent/src/agent/nonce.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 62 | pub struct Func(pub T); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: enum `AsyncContent` is never used [INFO] [stderr] --> ic-agent/src/agent/replica_api.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | pub enum AsyncContent { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `SyncContent` is never used [INFO] [stderr] --> ic-agent/src/agent/replica_api.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | pub enum SyncContent { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Status` is never used [INFO] [stderr] --> ic-agent/src/agent/replica_api.rs:136:10 [INFO] [stderr] | [INFO] [stderr] 136 | pub enum Status { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `RequestStatusResponseReplied` is never used [INFO] [stderr] --> ic-agent/src/agent/replica_api.rs:156:10 [INFO] [stderr] | [INFO] [stderr] 156 | pub enum RequestStatusResponseReplied { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> ic-agent/src/bls/bls12381/bls.rs:83:23 [INFO] [stderr] | [INFO] [stderr] 83 | pair::precomp(&mut G2_TAB, &g); [INFO] [stderr] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 83 | pair::precomp(&raw mut G2_TAB, &g); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> ic-agent/src/agent/mod.rs:769:9 [INFO] [stderr] | [INFO] [stderr] 769 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 772 | ) -> UpdateBuilder { [INFO] [stderr] | ^^^^^^^^^^^^^ the same lifetime is hidden 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] 772 | ) -> UpdateBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> ic-agent/src/agent/mod.rs:788:35 [INFO] [stderr] | [INFO] [stderr] 788 | pub fn query>(&self, canister_id: &Principal, method_name: S) -> QueryBuilder { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 788 | pub fn query>(&self, canister_id: &Principal, method_name: S) -> QueryBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> ic-agent/src/agent/mod.rs:1280:17 [INFO] [stderr] | [INFO] [stderr] 1280 | pub fn call(&self) -> UpdateCall { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1280 | pub fn call(&self) -> UpdateCall<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `ic-agent` (lib) generated 11 warnings (run `cargo fix --lib -p ic-agent` to apply 5 suggestions) [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> ic-utils/src/canister.rs:92:64 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn canister_id_<'canister: 'agent>(&'canister self) -> &Principal { [INFO] [stderr] | --------- ^^^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named 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: consistently use `'canister` [INFO] [stderr] | [INFO] [stderr] 92 | pub fn canister_id_<'canister: 'agent>(&'canister self) -> &'canister Principal { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: `ic-utils` (lib) generated 1 warning (run `cargo fix --lib -p ic-utils` to apply 1 suggestion) [INFO] [stderr] warning: `ic-utils` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `ic-agent` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> ref-tests/tests/integration.rs:143:1 [INFO] [stderr] | [INFO] [stderr] 143 | fn wallet_canister_create_and_install() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: for more information, see [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `for<'de> !: ArgumentDecoder<'de>` will fail [INFO] [stderr] --> ref-tests/tests/integration.rs:168:9 [INFO] [stderr] | [INFO] [stderr] 168 | / wallet [INFO] [stderr] 169 | | .call64(Principal::management_canister(), "install_code", args, 0) [INFO] [stderr] | |______________________________________________________________________________^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 169 | .call64::<(), _>(Principal::management_canister(), "install_code", args, 0) [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: `ref-tests` (test "integration") generated 1 warning (run `cargo fix --test "integration"` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [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 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ic_agent-a0957dbcfc4f2418) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test agent::agent_error::tests::content_type_none_invalid_utf8 ... ok [INFO] [stdout] test agent::agent_error::tests::content_type_none_valid_utf8 ... ok [INFO] [stdout] test agent::agent_error::tests::formats_text_html ... ok [INFO] [stdout] test agent::agent_error::tests::formats_text_plain ... ok [INFO] [stdout] test agent::agent_error::tests::formats_text_plain_charset_utf8 ... ok [INFO] [stdout] test agent::signed::tests::test_query_serde ... ok [INFO] [stdout] test agent::signed::tests::test_update_serde ... ok [INFO] [stdout] test agent::signed::tests::test_request_status_serde ... ok [INFO] [stdout] test agent::http_transport::test::redirect ... ok [INFO] [stdout] test request_id::tests::array_example ... ok [INFO] [stdout] test request_id::tests::array_example_array_with_empty_array ... ok [INFO] [stdout] test request_id::tests::array_example_empty_array ... ok [INFO] [stdout] test request_id::tests::maps_are_not_supported ... ok [INFO] [stdout] test request_id::tests::public_spec_example ... ok [INFO] [stdout] test request_id::tests::public_spec_example_api_client ... ok [INFO] [stdout] test identity::secp256k1::test::test_secp256k1_public_key ... ok [INFO] [stdout] test identity::secp256k1::test::test_secp256k1_signature ... ok [INFO] [stdout] test identity::secp256k1::test::test_secp256k1_reject_wrong_curve - should panic ... ok [INFO] [stdout] test identity::secp256k1::test::test_secp256k1_reject_wrong_curve_no_id - should panic ... ok [INFO] [stdout] test agent::agent_test::call_error ... ok [INFO] [stdout] test agent::agent_test::check_subnet_range_with_pruned_range ... ok [INFO] [stdout] test agent::agent_test::status ... ok [INFO] [stdout] test bls::bls_verify ... ok [INFO] [stdout] test agent::agent_test::check_subnet_range_with_valid_range ... FAILED [INFO] [stdout] test agent::agent_test::query ... ok [INFO] [stdout] test agent::agent_test::query_error ... ok [INFO] [stdout] test agent::agent_test::check_subnet_range_with_unauthorized_range ... FAILED [INFO] [stdout] test agent::agent_test::query_rejected ... ok [INFO] [stdout] test agent::agent_test::status_error ... ok [INFO] [stdout] test agent::agent_test::status_okay ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- agent::agent_test::check_subnet_range_with_valid_range stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'agent::agent_test::check_subnet_range_with_valid_range' (33) panicked at ic-agent/src/agent/agent_test.rs:389:10: [INFO] [stdout] read state failed: CertificateVerificationFailed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c04c85d0e32 - 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: 0x5c04c85d0e32 - 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: 0x5c04c85d0e32 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c04c85d0e32 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c04c85e3f3f - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c04c85e3f3f - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c04c859c551 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c04c859c551 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c04c85a95e2 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c04c85ae5df - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c04c85ae471 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c04c7d5536e - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c04c7d5536e - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c04c85aed4f - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c04c85aed4f - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c04c85aeafa - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c04c85a9729 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c04c85903dd - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c04c85edba0 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c04c85ecc66 - core::result::unwrap_failed::h7f5a2d4cf85d933f [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/result.rs:1854:5 [INFO] [stdout] 20: 0x5c04c7c60bf6 - core::result::Result::expect::h51f2c0c886134006 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/result.rs:1177:23 [INFO] [stdout] 21: 0x5c04c7ccb6d3 - ic_agent::agent::agent_test::check_subnet_range_with_valid_range::hb02d0c1bc464d33a [INFO] [stdout] at /opt/rustwide/workdir/ic-agent/src/agent/agent_test.rs:389:10 [INFO] [stdout] 22: 0x5c04c7ccb757 - ic_agent::agent::agent_test::check_subnet_range_with_valid_range::{{closure}}::h19360e0c6a6b49cf [INFO] [stdout] at /opt/rustwide/workdir/ic-agent/src/agent/agent_test.rs:363:41 [INFO] [stdout] 23: 0x5c04c7c71386 - core::ops::function::FnOnce::call_once::hd4905ed1c45627ed [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5c04c7d5512b - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c04c7d5512b - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5c04c7d6ac15 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5c04c7d6ac15 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5c04c7d6ac15 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5c04c7d6ac15 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5c04c7d6ac15 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5c04c7d6ac15 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5c04c7d6ac15 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5c04c7d41584 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5c04c7d41584 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5c04c7d44f2a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5c04c7d44f2a - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5c04c7d44f2a - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5c04c7d44f2a - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5c04c7d44f2a - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5c04c7d44f2a - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5c04c7d44f2a - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5c04c85a36ef - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5c04c85a36ef - 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] 44: 0x7ec272cc9aa4 - [INFO] [stdout] 45: 0x7ec272d56a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- agent::agent_test::check_subnet_range_with_unauthorized_range stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'agent::agent_test::check_subnet_range_with_unauthorized_range' (32) panicked at ic-agent/src/agent/agent_test.rs:423:5: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Err(CertificateVerificationFailed) [INFO] [stdout] right: Err(CertificateNotAuthorized) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c04c85d0e32 - 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: 0x5c04c85d0e32 - 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: 0x5c04c85d0e32 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c04c85d0e32 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c04c85e3f3f - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c04c85e3f3f - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c04c859c551 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c04c859c551 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c04c85a95e2 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c04c85ae5df - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c04c85ae471 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c04c7d5536e - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c04c7d5536e - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c04c85aed4f - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c04c85aed4f - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c04c85aeafa - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c04c85a9729 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c04c85903dd - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c04c85edba0 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c04c85ed9a3 - core::panicking::assert_failed_inner::h3eabd3c15a9e5a8c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c04c7c230ba - core::panicking::assert_failed::h55660e12147c9d93 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c04c7cccc74 - ic_agent::agent::agent_test::check_subnet_range_with_unauthorized_range::h8c1c31d8e6d59512 [INFO] [stdout] at /opt/rustwide/workdir/ic-agent/src/agent/agent_test.rs:423:5 [INFO] [stdout] 22: 0x5c04c7ccd097 - ic_agent::agent::agent_test::check_subnet_range_with_unauthorized_range::{{closure}}::h3e7d05f6d2becabd [INFO] [stdout] at /opt/rustwide/workdir/ic-agent/src/agent/agent_test.rs:397:48 [INFO] [stdout] 23: 0x5c04c7c711c6 - core::ops::function::FnOnce::call_once::ha6a26adfb5083bc3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5c04c7d5512b - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c04c7d5512b - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5c04c7d6ac15 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5c04c7d6ac15 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5c04c7d6ac15 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5c04c7d6ac15 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5c04c7d6ac15 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5c04c7d6ac15 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5c04c7d6ac15 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5c04c7d41584 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5c04c7d41584 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5c04c7d44f2a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5c04c7d44f2a - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5c04c7d44f2a - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5c04c7d44f2a - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5c04c7d44f2a - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5c04c7d44f2a - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5c04c7d44f2a - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5c04c85a36ef - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5c04c85a36ef - 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] 44: 0x7ec272cc9aa4 - [INFO] [stdout] 45: 0x7ec272d56a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] agent::agent_test::check_subnet_range_with_unauthorized_range [INFO] [stdout] agent::agent_test::check_subnet_range_with_valid_range [INFO] [stdout] [INFO] [stdout] test result: FAILED. 28 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p ic-agent --lib` [INFO] running `Command { std: "docker" "inspect" "a0bc07f4c85a3c1347a8cb6c1d1fbb5667cb90e1020aa3bfdfea0b818251c0e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0bc07f4c85a3c1347a8cb6c1d1fbb5667cb90e1020aa3bfdfea0b818251c0e4", kill_on_drop: false }` [INFO] [stdout] a0bc07f4c85a3c1347a8cb6c1d1fbb5667cb90e1020aa3bfdfea0b818251c0e4