[INFO] cloning repository https://github.com/ZamieltheHunter/neoslim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZamieltheHunter/neoslim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZamieltheHunter%2Fneoslim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZamieltheHunter%2Fneoslim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e17aa05e5b7cda2c4b0374230f0c3f32461103e9 [INFO] checking ZamieltheHunter/neoslim/e17aa05e5b7cda2c4b0374230f0c3f32461103e9 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%2FZamieltheHunter%2Fneoslim" "/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/ZamieltheHunter/neoslim 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/ZamieltheHunter/neoslim [INFO] finished tweaking git repo https://github.com/ZamieltheHunter/neoslim [INFO] tweaked toml for git repo https://github.com/ZamieltheHunter/neoslim written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ZamieltheHunter/neoslim 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-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] 1853d4270a9b0712a8f52fa1891c41a0ec6f0089af912bbac9065c6fca26a606 [INFO] running `Command { std: "docker" "start" "-a" "1853d4270a9b0712a8f52fa1891c41a0ec6f0089af912bbac9065c6fca26a606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1853d4270a9b0712a8f52fa1891c41a0ec6f0089af912bbac9065c6fca26a606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1853d4270a9b0712a8f52fa1891c41a0ec6f0089af912bbac9065c6fca26a606", kill_on_drop: false }` [INFO] [stdout] 1853d4270a9b0712a8f52fa1891c41a0ec6f0089af912bbac9065c6fca26a606 [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] 48594ab612f91bdd79a36069bee427cab76f3257d70dcb73f02e6aee78e78f13 [INFO] running `Command { std: "docker" "start" "-a" "48594ab612f91bdd79a36069bee427cab76f3257d70dcb73f02e6aee78e78f13", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling clang-sys v1.3.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v4.3.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling x11 v2.20.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking nix v0.25.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling env_logger v0.9.1 [INFO] [stderr] Compiling enum-repr v0.2.6 [INFO] [stderr] Compiling pam-sys v1.0.0-alpha4 [INFO] [stderr] Checking rpassword v6.0.1 [INFO] [stderr] Checking pam-client v0.5.0 [INFO] [stderr] Checking slim-rewrite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `execve`, `ioctl`, `wait::waitpid`, and `write` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use nix::{sys::{ioctl,wait::waitpid,stat::Mode},ioctl_read_bad,fcntl::{OFlag,open},unistd::{execv, execve, fork, ForkResult, write}}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ ^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `execve`, `ioctl`, `wait::waitpid`, and `write` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use nix::{sys::{ioctl,wait::waitpid,stat::Mode},ioctl_read_bad,fcntl::{OFlag,open},unistd::{execv, execve, fork, ForkResult, write}}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ ^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 95 | std::process::exit(1); [INFO] [stdout] | --------------------- any code following this expression is unreachable [INFO] [stdout] 96 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `username` is never read [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut username = String::new(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/main.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut session = context.open_session(Flag::NONE).expect("RIP, don't got no open session"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut session = context.open_session(Flag::NONE).expect("RIP, don't got no open session"); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 95 | std::process::exit(1); [INFO] [stdout] | --------------------- any code following this expression is unreachable [INFO] [stdout] 96 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child` [INFO] [stdout] --> src/main.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | Ok(ForkResult::Parent {child, ..}) => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `child: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `username` is never read [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut username = String::new(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/main.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut session = context.open_session(Flag::NONE).expect("RIP, don't got no open session"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut session = context.open_session(Flag::NONE).expect("RIP, don't got no open session"); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child` [INFO] [stdout] --> src/main.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | Ok(ForkResult::Parent {child, ..}) => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `child: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `authenticate` is never used [INFO] [stdout] --> src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn authenticate() { [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/main.rs:81:101 [INFO] [stdout] | [INFO] [stdout] 81 | ... Vec::from(["-ac", "-br", "-noreset", "-screen","800x600", ":1"].iter().map(|&e| CString::new(e).unwrap()).collect::>()) [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/main.rs:85:78 [INFO] [stdout] | [INFO] [stdout] 85 | Vec::from([":1", &format!("vt{}",vtNum)].iter().map(|&e| CString::new(e).unwrap()).collect::>()) [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 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `authenticate` is never used [INFO] [stdout] --> src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn authenticate() { [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/main.rs:81:101 [INFO] [stdout] | [INFO] [stdout] 81 | ... Vec::from(["-ac", "-br", "-noreset", "-screen","800x600", ":1"].iter().map(|&e| CString::new(e).unwrap()).collect::>()) [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/main.rs:85:78 [INFO] [stdout] | [INFO] [stdout] 85 | Vec::from([":1", &format!("vt{}",vtNum)].iter().map(|&e| CString::new(e).unwrap()).collect::>()) [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] [stderr] error: could not compile `slim-rewrite` (bin "slim-rewrite") due to 3 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `slim-rewrite` (bin "slim-rewrite" test) due to 3 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "48594ab612f91bdd79a36069bee427cab76f3257d70dcb73f02e6aee78e78f13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48594ab612f91bdd79a36069bee427cab76f3257d70dcb73f02e6aee78e78f13", kill_on_drop: false }` [INFO] [stdout] 48594ab612f91bdd79a36069bee427cab76f3257d70dcb73f02e6aee78e78f13