[INFO] cloning repository https://github.com/dufkan/rush [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dufkan/rush" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdufkan%2Frush", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdufkan%2Frush'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d79b5943a64f6489790e679314fdc9a2fb36885f [INFO] checking dufkan/rush against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdufkan%2Frush" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dufkan/rush [INFO] finished tweaking git repo https://github.com/dufkan/rush [INFO] tweaked toml for git repo https://github.com/dufkan/rush written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dufkan/rush on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dufkan/rush 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termion v1.5.6 [INFO] [stderr] Downloaded generic-array v0.14.6 [INFO] [stderr] Downloaded toml v0.5.9 [INFO] [stderr] Downloaded redox_termios v0.1.2 [INFO] [stderr] Downloaded clap_derive v3.2.18 [INFO] [stderr] Downloaded numtoa v0.1.0 [INFO] [stderr] Downloaded redox_users v0.4.3 [INFO] [stderr] Downloaded winapi-util v0.1.5 [INFO] [stderr] Downloaded thiserror v1.0.35 [INFO] [stderr] Downloaded heck v0.4.0 [INFO] [stderr] Downloaded atty v0.2.14 [INFO] [stderr] Downloaded memoffset v0.6.5 [INFO] [stderr] Downloaded dirs-sys v0.3.7 [INFO] [stderr] Downloaded thiserror-impl v1.0.35 [INFO] [stderr] Downloaded ucd-trie v0.1.5 [INFO] [stderr] Downloaded digest v0.10.5 [INFO] [stderr] Downloaded cpufeatures v0.2.5 [INFO] [stderr] Downloaded sha1 v0.10.5 [INFO] [stderr] Downloaded libc v0.2.133 [INFO] [stderr] Downloaded pest_meta v2.3.1 [INFO] [stderr] Downloaded termcolor v1.1.3 [INFO] [stderr] Downloaded strsim v0.10.0 [INFO] [stderr] Downloaded hermit-abi v0.1.19 [INFO] [stderr] Downloaded pest_generator v2.3.1 [INFO] [stderr] Downloaded clap_lex v0.2.4 [INFO] [stderr] Downloaded directories v4.0.1 [INFO] [stderr] Downloaded pest v2.3.1 [INFO] [stderr] Downloaded clap v3.2.22 [INFO] [stderr] Downloaded getrandom v0.2.7 [INFO] [stderr] Downloaded block-buffer v0.10.3 [INFO] [stderr] Downloaded typenum v1.15.0 [INFO] [stderr] Downloaded winapi-x86_64-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded redox_syscall v0.2.16 [INFO] [stderr] Downloaded syn v1.0.100 [INFO] [stderr] Downloaded os_str_bytes v6.3.0 [INFO] [stderr] Downloaded textwrap v0.15.1 [INFO] [stderr] Downloaded pest_derive v2.3.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.43 [INFO] [stderr] Downloaded unicode-ident v1.0.4 [INFO] [stderr] Downloaded nix v0.25.0 [INFO] [stderr] Downloaded winapi v0.3.9 [INFO] [stderr] Downloaded winapi-i686-pc-windows-gnu v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08e5626b58c9eb298f3e48f80af4f4733973dc1df52ab5ed1b492c651cc3c00e [INFO] running `Command { std: "docker" "start" "-a" "08e5626b58c9eb298f3e48f80af4f4733973dc1df52ab5ed1b492c651cc3c00e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08e5626b58c9eb298f3e48f80af4f4733973dc1df52ab5ed1b492c651cc3c00e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08e5626b58c9eb298f3e48f80af4f4733973dc1df52ab5ed1b492c651cc3c00e", kill_on_drop: false }` [INFO] [stdout] 08e5626b58c9eb298f3e48f80af4f4733973dc1df52ab5ed1b492c651cc3c00e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0219bacaecab8e893d0693929393dd4991e3f2fc65225f9f12ec1a48ebfe77e [INFO] running `Command { std: "docker" "start" "-a" "b0219bacaecab8e893d0693929393dd4991e3f2fc65225f9f12ec1a48ebfe77e", kill_on_drop: false }` [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 syn v1.0.100 [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking textwrap v0.15.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking nix v0.25.0 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Checking pest v2.3.1 [INFO] [stderr] Compiling pest_meta v2.3.1 [INFO] [stderr] Checking clap v3.2.22 [INFO] [stderr] Compiling pest_generator v2.3.1 [INFO] [stderr] Compiling pest_derive v2.3.1 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking rush v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern fn handle_sigwinch(_: nix::libc::c_int) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern fn handle_sigwinch(_: nix::libc::c_int) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/executor.rs:185:121 [INFO] [stdout] | [INFO] [stdout] 185 | unistd::execve(&CString::new(bin.to_str().unwrap()).unwrap(), &executee.cargs(), &executee.cvars()).unwrap(); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------^ unreachable expression [INFO] [stdout] | | [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] note: this expression has type `Infallible`, which is uninhabited [INFO] [stdout] --> src/executor.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | unistd::execve(&CString::new(bin.to_str().unwrap()).unwrap(), &executee.cargs(), &executee.cvars()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/executor.rs:185:121 [INFO] [stdout] | [INFO] [stdout] 185 | unistd::execve(&CString::new(bin.to_str().unwrap()).unwrap(), &executee.cargs(), &executee.cvars()).unwrap(); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------^ unreachable expression [INFO] [stdout] | | [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] note: this expression has type `Infallible`, which is uninhabited [INFO] [stdout] --> src/executor.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | unistd::execve(&CString::new(bin.to_str().unwrap()).unwrap(), &executee.cargs(), &executee.cvars()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/parser/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Atom { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 21 | kind: AtomKind, [INFO] [stdout] 22 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Atom` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { TERM_SIZE.store(new_size, atomic::Ordering::Relaxed); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | let shell = unsafe { SHELL.as_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | let shell = unsafe { SHELL.as_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/builtin.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | let shell = unsafe { SHELL.as_ref().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/parser/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Atom { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 21 | kind: AtomKind, [INFO] [stdout] 22 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Atom` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { TERM_SIZE.store(new_size, atomic::Ordering::Relaxed); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | let shell = unsafe { SHELL.as_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | let shell = unsafe { SHELL.as_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/builtin.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | let shell = unsafe { SHELL.as_ref().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.39s [INFO] running `Command { std: "docker" "inspect" "b0219bacaecab8e893d0693929393dd4991e3f2fc65225f9f12ec1a48ebfe77e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0219bacaecab8e893d0693929393dd4991e3f2fc65225f9f12ec1a48ebfe77e", kill_on_drop: false }` [INFO] [stdout] b0219bacaecab8e893d0693929393dd4991e3f2fc65225f9f12ec1a48ebfe77e