[INFO] fetching crate gpio-cdev 0.6.0... [INFO] checking gpio-cdev-0.6.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate gpio-cdev 0.6.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate gpio-cdev 0.6.0 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 crates.io crate gpio-cdev 0.6.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate gpio-cdev 0.6.0 [INFO] tweaked toml for crates.io crate gpio-cdev 0.6.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate gpio-cdev 0.6.0 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] cd6b2c26857327a8f8e5f147648e62f8d239cc6b576fc2c307369c16a14ff41d [INFO] running `Command { std: "docker" "start" "-a" "cd6b2c26857327a8f8e5f147648e62f8d239cc6b576fc2c307369c16a14ff41d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd6b2c26857327a8f8e5f147648e62f8d239cc6b576fc2c307369c16a14ff41d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd6b2c26857327a8f8e5f147648e62f8d239cc6b576fc2c307369c16a14ff41d", kill_on_drop: false }` [INFO] [stdout] cd6b2c26857327a8f8e5f147648e62f8d239cc6b576fc2c307369c16a14ff41d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 321868413f6a04ce0f906ffc69772017700e6874486a4e7b0d84f8227889b135 [INFO] running `Command { std: "docker" "start" "-a" "321868413f6a04ce0f906ffc69772017700e6874486a4e7b0d84f8227889b135", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling anyhow v1.0.47 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking gpio-cdev v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking ignore v0.4.18 [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:213:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn new>(path: P) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | let f = File::open(path.as_ref())?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 213 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 214 | | inner: Arc::new(InnerChip { [INFO] [stdout] 215 | | file: f, [INFO] [stdout] 216 | | path: path.as_ref().to_path_buf(), [INFO] [stdout] ... | [INFO] [stdout] 228 | | }), [INFO] [stdout] 229 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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:411:12 [INFO] [stdout] | [INFO] [stdout] 407 | fn new(chip: Arc, offset: u32) -> Result { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 411 | Ok(Self { chip, offset }) [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:725:12 [INFO] [stdout] | [INFO] [stdout] 719 | fn new(chip: Arc, offsets: &[u32]) -> Result { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 720 | let res: Result> = offsets [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 724 | let lines = res?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 725 | Ok(Self { lines }) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/lib.rs:722:34 [INFO] [stdout] | [INFO] [stdout] 722 | .map(|off| Line::new(chip.clone(), *off)) [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:802:12 [INFO] [stdout] | [INFO] [stdout] 801 | let lines = self.lines.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 802 | Ok(MultiLineHandle { [INFO] [stdout] | ____________^ [INFO] [stdout] 803 | | lines: Self { lines }, [INFO] [stdout] 804 | | file: unsafe { File::from_raw_fd(request.fd) }, [INFO] [stdout] 805 | | }) [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/errors.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 91 | fn from(err: IOError) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | Self { [INFO] [stdout] 93 | kind: ErrorKind::Io(err), [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gpio-cdev` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "321868413f6a04ce0f906ffc69772017700e6874486a4e7b0d84f8227889b135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "321868413f6a04ce0f906ffc69772017700e6874486a4e7b0d84f8227889b135", kill_on_drop: false }` [INFO] [stdout] 321868413f6a04ce0f906ffc69772017700e6874486a4e7b0d84f8227889b135