[INFO] cloning repository https://github.com/OnlyDragon0403/agent-rs-icp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OnlyDragon0403/agent-rs-icp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOnlyDragon0403%2Fagent-rs-icp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOnlyDragon0403%2Fagent-rs-icp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 42daf5c35461a7548ff33e8d3559c78d98f483ff [INFO] checking OnlyDragon0403/agent-rs-icp/42daf5c35461a7548ff33e8d3559c78d98f483ff against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOnlyDragon0403%2Fagent-rs-icp" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OnlyDragon0403/agent-rs-icp on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/OnlyDragon0403/agent-rs-icp [INFO] finished tweaking git repo https://github.com/OnlyDragon0403/agent-rs-icp [INFO] tweaked toml for git repo https://github.com/OnlyDragon0403/agent-rs-icp written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/OnlyDragon0403/agent-rs-icp 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0abe31367e90a786561fe94ee4b876cb8cadbfb865e473ec46ba26b6e5d9d76f [INFO] running `Command { std: "docker" "start" "-a" "0abe31367e90a786561fe94ee4b876cb8cadbfb865e473ec46ba26b6e5d9d76f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0abe31367e90a786561fe94ee4b876cb8cadbfb865e473ec46ba26b6e5d9d76f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0abe31367e90a786561fe94ee4b876cb8cadbfb865e473ec46ba26b6e5d9d76f", kill_on_drop: false }` [INFO] [stdout] 0abe31367e90a786561fe94ee4b876cb8cadbfb865e473ec46ba26b6e5d9d76f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf4ff16c0d95a77340373dcee4c6c2b7ab61829a398c069a1fc4d0fcd67d3ef7 [INFO] running `Command { std: "docker" "start" "-a" "cf4ff16c0d95a77340373dcee4c6c2b7ab61829a398c069a1fc4d0fcd67d3ef7", 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.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Checking zeroize v1.5.5 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking base64ct v1.5.0 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking pem-rfc7468 v0.6.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking const-oid v0.9.0 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking der v0.6.0 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking crypto-bigint v0.4.2 [INFO] [stderr] Checking ff v0.12.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking group v0.12.0 [INFO] [stderr] Checking rustls-pemfile v1.0.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking rustls-native-certs v0.6.2 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking signature v1.5.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Checking elliptic-curve v0.12.0 [INFO] [stderr] Checking rfc6979 v0.2.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking ecdsa v0.14.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking webpki-roots v0.22.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking rustls-pemfile v0.3.0 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Checking k256 v0.11.0 [INFO] [stderr] Checking pem v1.0.2 [INFO] [stderr] Checking object v0.28.4 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking simple_asn1 v0.6.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Checking garcon v0.2.3 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling candid_derive v0.4.5 [INFO] [stderr] Checking pretty v0.10.0 [INFO] [stderr] Checking tokio-util v0.7.2 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking logos v0.12.0 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Compiling strum_macros v0.24.0 [INFO] [stderr] Checking strum v0.24.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking os_str_bytes v6.0.1 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking serde_json v1.0.81 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking serde_bytes v0.11.6 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking pkcs11 v0.5.0 [INFO] [stderr] Checking ic-types v0.4.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking futures-intrusive v0.4.0 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking globset v0.4.9 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking libflate_lz77 v1.1.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking assert-json-diff v2.0.1 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking similar v2.1.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking proptest v1.0.0 [INFO] [stderr] Checking libflate v1.2.0 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-rustls v0.23.0 [INFO] [stderr] Checking mockito v0.31.0 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking delay v0.3.1 [INFO] [stderr] Checking num_enum v0.5.7 [INFO] [stderr] Checking 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)]` 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 candid v0.7.15 [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 83 | pair::precomp(addr_of_mut!(G2_TAB), &g); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ic-agent/src/agent/mod.rs:280:12 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn new(config: agent_config::AgentConfig) -> Result { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 280 | Ok(Agent { [INFO] [stdout] | ____________^ [INFO] [stdout] 281 | | nonce_factory: config.nonce_factory, [INFO] [stdout] 282 | | identity: config.identity, [INFO] [stdout] 283 | | ingress_expiry_duration: config [INFO] [stdout] ... | [INFO] [stdout] 289 | | .ok_or_else(AgentError::MissingReplicaTransport)?, [INFO] [stdout] 290 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ic-agent/src/agent/mod.rs:1185:18 [INFO] [stdout] | [INFO] [stdout] 1163 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1164 | waiter: W, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1185 | Box::pin(run(self, waiter)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ic-agent/src/agent/mod.rs:1288:25 [INFO] [stdout] | [INFO] [stdout] 1279 | let request_id_future = self.agent.update_raw( [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1288 | request_id: Box::pin(request_id_future), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ic-agent/src/agent/builder.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn with_url>(self, url: S) -> Self { [INFO] [stdout] | ---- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | self.with_transport(ReqwestHttpReplicaV2Transport::create(url).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ic-agent/src/agent/builder.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn with_transport(self, transport: T) -> Self { [INFO] [stdout] | ---- ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | self.with_arc_transport(Arc::new(transport)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ic-agent/src/agent/builder.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 47 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | nonce_factory: N, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | ) -> AgentBuilder { [INFO] [stdout] 50 | self.with_arc_nonce_generator(Arc::new(nonce_factory)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ic-agent/src/agent/builder.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn with_identity(self, identity: I) -> Self [INFO] [stdout] | ---- ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | self.with_arc_identity(Arc::new(identity)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ic-agent/src/agent/builder.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn with_boxed_identity(self, identity: Box) -> Self { [INFO] [stdout] | ---- --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | self.with_arc_identity(Arc::from(identity)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ic-agent/src/agent/builder.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn with_ingress_expiry(self, duration: Option) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | AgentBuilder { [INFO] [stdout] 89 | config: AgentConfig { [INFO] [stdout] | _____________________^ [INFO] [stdout] 90 | | ingress_expiry_duration: duration, [INFO] [stdout] 91 | | ..self.config [INFO] [stdout] 92 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ic-agent/src/agent/http_transport.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn create>(url: U) -> Result { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let mut tls_config = rustls::ClientConfig::builder() [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | / reqwest::Client::builder() [INFO] [stdout] 56 | | .use_preconfigured_tls(tls_config) [INFO] [stdout] 57 | | .build() [INFO] [stdout] 58 | | .expect("Could not create HTTP client."), [INFO] [stdout] | |________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ic-agent/src/agent/http_transport.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 64 | url: U, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | client: reqwest::Client, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 69 | | url: reqwest::Url::parse(&url) [INFO] [stdout] 70 | | .and_then(|mut url| { [INFO] [stdout] 71 | | // rewrite *.ic0.app to ic0.app [INFO] [stdout] ... | [INFO] [stdout] 82 | | max_response_body_size: None, [INFO] [stdout] 83 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ic-agent/src/agent/http_transport.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn with_password_manager(self, password_manager: P) -> Self { [INFO] [stdout] | ---- ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | ReqwestHttpReplicaV2Transport { [INFO] [stdout] 89 | password_manager: Some(Arc::new(password_manager)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ic-agent/src/agent/http_transport.rs:97:31 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn with_arc_password_manager(self, password_manager: Arc) -> Self { [INFO] [stdout] | ---- ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | ReqwestHttpReplicaV2Transport { [INFO] [stdout] 97 | password_manager: Some(password_manager), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ic-agent/src/agent/http_transport.rs:150:53 [INFO] [stdout] | [INFO] [stdout] 150 | .map_err(|x| AgentError::TransportError(Box::new(x)))?; [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ic-agent/src/agent/http_transport.rs:170:70 [INFO] [stdout] | [INFO] [stdout] 170 | let chunk = chunk.map_err(|x| AgentError::TransportError(Box::new(x)))?; [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ic-agent/src/agent/nonce.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn from_iterator(iter: Box> + Send>) -> Self { [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | Self { [INFO] [stdout] 17 | inner: Arc::new(Iter::from(iter)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ic-agent/src/agent/nonce.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 71 | fn from(val: T) -> Iter { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | Iter(Mutex::new(val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ic-agent/src/agent/response_authentication.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 47 | certificate: Certificate, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | lookup_value(&certificate, path_canister).map(<[u8]>::to_vec) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ic-agent/src/agent/response_authentication.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 56 | certificate: Certificate, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | lookup_value(&certificate, path_canister).map(<[u8]>::to_vec) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ic-agent/src/identity/basic.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn from_pem_file>(file_path: P) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | Self::from_pem(std::fs::File::open(file_path)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ic-agent/src/identity/secp256k1.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_pem_file>(file_path: P) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | Self::from_pem(File::open(file_path)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ic-agent/src/identity/secp256k1.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn from_pem(pem_reader: R) -> Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | Err(pem::PemError::MissingData.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> ic-agent/src/identity/secp256k1.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn from_private_key(private_key: SecretKey) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | private_key: private_key.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ic-agent` (lib) due to 24 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "cf4ff16c0d95a77340373dcee4c6c2b7ab61829a398c069a1fc4d0fcd67d3ef7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf4ff16c0d95a77340373dcee4c6c2b7ab61829a398c069a1fc4d0fcd67d3ef7", kill_on_drop: false }` [INFO] [stdout] cf4ff16c0d95a77340373dcee4c6c2b7ab61829a398c069a1fc4d0fcd67d3ef7