[INFO] cloning repository https://github.com/arcnmx/nixdrv-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arcnmx/nixdrv-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcnmx%2Fnixdrv-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcnmx%2Fnixdrv-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3da84c17afa00208eec7fe3846fd9ff0c8e1deee [INFO] checking arcnmx/nixdrv-rs/3da84c17afa00208eec7fe3846fd9ff0c8e1deee 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%2Farcnmx%2Fnixdrv-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arcnmx/nixdrv-rs 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] started tweaking git repo https://github.com/arcnmx/nixdrv-rs [INFO] finished tweaking git repo https://github.com/arcnmx/nixdrv-rs [INFO] tweaked toml for git repo https://github.com/arcnmx/nixdrv-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/arcnmx/nixdrv-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] e53156e6d036c112800c968903d219c0e64044a52932eafc83126c79966ecf76 [INFO] running `Command { std: "docker" "start" "-a" "e53156e6d036c112800c968903d219c0e64044a52932eafc83126c79966ecf76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e53156e6d036c112800c968903d219c0e64044a52932eafc83126c79966ecf76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e53156e6d036c112800c968903d219c0e64044a52932eafc83126c79966ecf76", kill_on_drop: false }` [INFO] [stdout] e53156e6d036c112800c968903d219c0e64044a52932eafc83126c79966ecf76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 6e6614117970259330035713a43a09caa7b4fff9619bfdca9b0713fac16334b4 [INFO] running `Command { std: "docker" "start" "-a" "6e6614117970259330035713a43a09caa7b4fff9619bfdca9b0713fac16334b4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking nixdrv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/de.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/de.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | fn custom(msg: T) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:66:44 [INFO] [stdout] | [INFO] [stdout] 66 | fn deserialize_any>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:72:45 [INFO] [stdout] | [INFO] [stdout] 72 | fn deserialize_bool>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:76:43 [INFO] [stdout] | [INFO] [stdout] 76 | fn deserialize_i8>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | fn deserialize_i16>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:84:44 [INFO] [stdout] | [INFO] [stdout] 84 | fn deserialize_i32>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:88:44 [INFO] [stdout] | [INFO] [stdout] 88 | fn deserialize_i64>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | fn deserialize_u8>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:96:44 [INFO] [stdout] | [INFO] [stdout] 96 | fn deserialize_u16>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:100:44 [INFO] [stdout] | [INFO] [stdout] 100 | fn deserialize_u32>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:104:44 [INFO] [stdout] | [INFO] [stdout] 104 | fn deserialize_u64>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/de.rs:130:16 [INFO] [stdout] | [INFO] [stdout] 130 | .map_err(|e| -> Self::Error { unimplemented!() })? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:151:47 [INFO] [stdout] | [INFO] [stdout] 151 | fn deserialize_option>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:155:45 [INFO] [stdout] | [INFO] [stdout] 155 | fn deserialize_unit>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:199:44 [INFO] [stdout] | [INFO] [stdout] 199 | fn deserialize_map>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/de.rs:306:42 [INFO] [stdout] | [INFO] [stdout] 306 | fn tuple_variant>(self, len: usize, visitor: V) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:306:54 [INFO] [stdout] | [INFO] [stdout] 306 | fn tuple_variant>(self, len: usize, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/de.rs:310:43 [INFO] [stdout] | [INFO] [stdout] 310 | fn struct_variant>(self, fields: &'static [&'static str], visitor: V) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:310:76 [INFO] [stdout] | [INFO] [stdout] 310 | fn struct_variant>(self, fields: &'static [&'static str], visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `atom_complete` is never used [INFO] [stdout] --> src/lib.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn atom_complete(data: &[u8]) -> IResult<&[u8], Atom> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] --> src/lib.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 30 | map(terminated(pair(atom1, atom1), eof), |(lhs, rhs)| [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Atom::Apply(lhs.into(), rhs.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] = 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] --> src/lib.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 30 | map(terminated(pair(atom1, atom1), eof), |(lhs, rhs)| [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Atom::Apply(lhs.into(), rhs.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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 45 | let (data, lhs) = atom1(data)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | [INFO] [stdout] 47 | Ok(if !peek(alt((atom_tag, success(&b""[..]))))(data)?.1.is_empty() { [INFO] [stdout] | ________^ [INFO] [stdout] 48 | | let (data, rhs) = atom_streaming(data)?; [INFO] [stdout] 49 | | (data, Atom::Apply(Box::new(lhs), Box::new(rhs))) [INFO] [stdout] 50 | | } else { [INFO] [stdout] 51 | | (data, lhs) [INFO] [stdout] 52 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 56 | let (data, lhs) = atom1(data)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | [INFO] [stdout] 58 | Ok(if data.is_empty() { [INFO] [stdout] | ________^ [INFO] [stdout] 59 | | (data, lhs) [INFO] [stdout] 60 | | } else { [INFO] [stdout] 61 | | let (data, rhs) = atom_complete(data)?; [INFO] [stdout] 62 | | (data, Atom::Apply(Box::new(lhs), Box::new(rhs))) [INFO] [stdout] 63 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> src/lib.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 151 | #[derive(Clone, Debug, Deserialize, Serialize)] [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> src/lib.rs:163:2 [INFO] [stdout] | [INFO] [stdout] 161 | let atom = parse_drv_atom_bytes(data)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | let mut de = de::Deserializer::new(&atom); [INFO] [stdout] 163 | Deserialize::deserialize(&mut de).map(|d| match d { [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] --> src/de.rs:293:3 [INFO] [stdout] | [INFO] [stdout] 291 | fn variant_seed>(mut self, seed: V) -> Result<(V::Value, Self::Variant), Self::Error> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | let variant = Variant(self.1); [INFO] [stdout] 293 | seed.deserialize(&mut self.0).map(|value| (value, variant)) [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] warning: unused variable: `f` [INFO] [stdout] --> src/de.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/de.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | fn custom(msg: T) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:66:44 [INFO] [stdout] | [INFO] [stdout] 66 | fn deserialize_any>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:72:45 [INFO] [stdout] | [INFO] [stdout] 72 | fn deserialize_bool>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:76:43 [INFO] [stdout] | [INFO] [stdout] 76 | fn deserialize_i8>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | fn deserialize_i16>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:84:44 [INFO] [stdout] | [INFO] [stdout] 84 | fn deserialize_i32>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:88:44 [INFO] [stdout] | [INFO] [stdout] 88 | fn deserialize_i64>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | fn deserialize_u8>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nixdrv` (lib test) due to 8 previous errors; 21 warnings emitted [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:96:44 [INFO] [stdout] | [INFO] [stdout] 96 | fn deserialize_u16>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:100:44 [INFO] [stdout] | [INFO] [stdout] 100 | fn deserialize_u32>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:104:44 [INFO] [stdout] | [INFO] [stdout] 104 | fn deserialize_u64>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/de.rs:130:16 [INFO] [stdout] | [INFO] [stdout] 130 | .map_err(|e| -> Self::Error { unimplemented!() })? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:151:47 [INFO] [stdout] | [INFO] [stdout] 151 | fn deserialize_option>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:155:45 [INFO] [stdout] | [INFO] [stdout] 155 | fn deserialize_unit>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:199:44 [INFO] [stdout] | [INFO] [stdout] 199 | fn deserialize_map>(self, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/de.rs:306:42 [INFO] [stdout] | [INFO] [stdout] 306 | fn tuple_variant>(self, len: usize, visitor: V) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:306:54 [INFO] [stdout] | [INFO] [stdout] 306 | fn tuple_variant>(self, len: usize, visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/de.rs:310:43 [INFO] [stdout] | [INFO] [stdout] 310 | fn struct_variant>(self, fields: &'static [&'static str], visitor: V) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/de.rs:310:76 [INFO] [stdout] | [INFO] [stdout] 310 | fn struct_variant>(self, fields: &'static [&'static str], visitor: V) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `atom_complete` is never used [INFO] [stdout] --> src/lib.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn atom_complete(data: &[u8]) -> IResult<&[u8], Atom> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] --> src/lib.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 30 | map(terminated(pair(atom1, atom1), eof), |(lhs, rhs)| [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Atom::Apply(lhs.into(), rhs.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] = 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] --> src/lib.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 30 | map(terminated(pair(atom1, atom1), eof), |(lhs, rhs)| [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Atom::Apply(lhs.into(), rhs.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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 45 | let (data, lhs) = atom1(data)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | [INFO] [stdout] 47 | Ok(if !peek(alt((atom_tag, success(&b""[..]))))(data)?.1.is_empty() { [INFO] [stdout] | ________^ [INFO] [stdout] 48 | | let (data, rhs) = atom_streaming(data)?; [INFO] [stdout] 49 | | (data, Atom::Apply(Box::new(lhs), Box::new(rhs))) [INFO] [stdout] 50 | | } else { [INFO] [stdout] 51 | | (data, lhs) [INFO] [stdout] 52 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 56 | let (data, lhs) = atom1(data)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | [INFO] [stdout] 58 | Ok(if data.is_empty() { [INFO] [stdout] | ________^ [INFO] [stdout] 59 | | (data, lhs) [INFO] [stdout] 60 | | } else { [INFO] [stdout] 61 | | let (data, rhs) = atom_complete(data)?; [INFO] [stdout] 62 | | (data, Atom::Apply(Box::new(lhs), Box::new(rhs))) [INFO] [stdout] 63 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> src/lib.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 151 | #[derive(Clone, Debug, Deserialize, Serialize)] [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> src/lib.rs:163:2 [INFO] [stdout] | [INFO] [stdout] 161 | let atom = parse_drv_atom_bytes(data)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | let mut de = de::Deserializer::new(&atom); [INFO] [stdout] 163 | Deserialize::deserialize(&mut de).map(|d| match d { [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] --> src/de.rs:293:3 [INFO] [stdout] | [INFO] [stdout] 291 | fn variant_seed>(mut self, seed: V) -> Result<(V::Value, Self::Variant), Self::Error> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | let variant = Variant(self.1); [INFO] [stdout] 293 | seed.deserialize(&mut self.0).map(|value| (value, variant)) [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 7 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nixdrv` (lib) due to 8 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6e6614117970259330035713a43a09caa7b4fff9619bfdca9b0713fac16334b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e6614117970259330035713a43a09caa7b4fff9619bfdca9b0713fac16334b4", kill_on_drop: false }` [INFO] [stdout] 6e6614117970259330035713a43a09caa7b4fff9619bfdca9b0713fac16334b4