[INFO] cloning repository https://github.com/SamNour/Terminal-Guard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SamNour/Terminal-Guard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamNour%2FTerminal-Guard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamNour%2FTerminal-Guard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca93fbfa61740999bca029c39a78aa22982692bc [INFO] building SamNour/Terminal-Guard against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamNour%2FTerminal-Guard" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SamNour/Terminal-Guard [INFO] finished tweaking git repo https://github.com/SamNour/Terminal-Guard [INFO] tweaked toml for git repo https://github.com/SamNour/Terminal-Guard written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SamNour/Terminal-Guard on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SamNour/Terminal-Guard 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded home v0.5.5 [INFO] [stderr] Downloaded colored v2.0.4 [INFO] [stderr] Downloaded errno v0.3.5 [INFO] [stderr] Downloaded serde_derive v1.0.190 [INFO] [stderr] Downloaded unsafe-libyaml v0.2.9 [INFO] [stderr] Downloaded serde_yaml v0.9.27 [INFO] [stderr] Downloaded serde v1.0.190 [INFO] [stderr] Downloaded winnow v0.5.17 [INFO] [stderr] Downloaded hashbrown v0.14.1 [INFO] [stderr] Downloaded indexmap v2.0.2 [INFO] [stderr] Downloaded mlua v0.9.1 [INFO] [stderr] Downloaded mlua-sys v0.3.2 [INFO] [stderr] Downloaded termcolor v1.3.0 [INFO] [stderr] Downloaded syn v2.0.38 [INFO] [stderr] Downloaded regex v1.10.1 [INFO] [stderr] Downloaded bstr v1.7.0 [INFO] [stderr] Downloaded rustix v0.38.19 [INFO] [stderr] Downloaded lua-src v546.0.1 [INFO] [stderr] Downloaded regex-automata v0.4.2 [INFO] [stderr] Downloaded libc v0.2.149 [INFO] [stderr] Downloaded luajit-src v210.4.8+resty107baaf [INFO] [stderr] Downloaded linux-raw-sys v0.4.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05d79b2d2a34667c9ac97348fbef0c3a20f2c1e5296ad6886a6fd201fc2c8fd2 [INFO] running `Command { std: "docker" "start" "-a" "05d79b2d2a34667c9ac97348fbef0c3a20f2c1e5296ad6886a6fd201fc2c8fd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05d79b2d2a34667c9ac97348fbef0c3a20f2c1e5296ad6886a6fd201fc2c8fd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05d79b2d2a34667c9ac97348fbef0c3a20f2c1e5296ad6886a6fd201fc2c8fd2", kill_on_drop: false }` [INFO] [stdout] 05d79b2d2a34667c9ac97348fbef0c3a20f2c1e5296ad6886a6fd201fc2c8fd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c45efa329391313f3b25b0fd02928119df619d95c9678616acfd2ef3319b479 [INFO] running `Command { std: "docker" "start" "-a" "3c45efa329391313f3b25b0fd02928119df619d95c9678616acfd2ef3319b479", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling rustix v0.38.19 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling hashbrown v0.14.1 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling winnow v0.5.17 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bstr v1.7.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling unsafe-libyaml v0.2.9 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling lua-src v546.0.1 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling colored v2.0.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex-automata v0.4.2 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling luajit-src v210.4.8+resty107baaf [INFO] [stderr] Compiling mlua-sys v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling regex v1.10.1 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.3 [INFO] [stderr] Compiling serde_yaml v0.9.27 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling mlua v0.9.1 [INFO] [stderr] Compiling minmux v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:129:39 [INFO] [stdout] | [INFO] [stdout] 129 | libc::tcgetattr(STDIN_FILENO, &mut pty_process::SAVE_TERM); [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] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 129 | libc::tcgetattr(STDIN_FILENO, &raw mut pty_process::SAVE_TERM); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:154:51 [INFO] [stdout] | [INFO] [stdout] 154 | let mut new_term: libc::termios = pty_process::SAVE_TERM.clone(); [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: unused return value of `exec` that must be used [INFO] [stdout] --> src/main.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | cmd.exec(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 336 | let _ = cmd.exec(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/pty_process.rs:81:48 [INFO] [stdout] | [INFO] [stdout] 81 | libc::tcsetattr(STDIN_FILENO, TCSANOW, &SAVE_TERM); [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 81 | libc::tcsetattr(STDIN_FILENO, TCSANOW, &raw const SAVE_TERM); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.97s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: mlua v0.9.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3c45efa329391313f3b25b0fd02928119df619d95c9678616acfd2ef3319b479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c45efa329391313f3b25b0fd02928119df619d95c9678616acfd2ef3319b479", kill_on_drop: false }` [INFO] [stdout] 3c45efa329391313f3b25b0fd02928119df619d95c9678616acfd2ef3319b479 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e02ab6f2b809a09e77723d2156e08c246b507d146301980cdd80e47f53c0c3e [INFO] running `Command { std: "docker" "start" "-a" "6e02ab6f2b809a09e77723d2156e08c246b507d146301980cdd80e47f53c0c3e", kill_on_drop: false }` [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:129:39 [INFO] [stdout] | [INFO] [stdout] 129 | libc::tcgetattr(STDIN_FILENO, &mut pty_process::SAVE_TERM); [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] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 129 | libc::tcgetattr(STDIN_FILENO, &raw mut pty_process::SAVE_TERM); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling minmux v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:154:51 [INFO] [stdout] | [INFO] [stdout] 154 | let mut new_term: libc::termios = pty_process::SAVE_TERM.clone(); [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: unused return value of `exec` that must be used [INFO] [stdout] --> src/main.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | cmd.exec(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 336 | let _ = cmd.exec(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/pty_process.rs:81:48 [INFO] [stdout] | [INFO] [stdout] 81 | libc::tcsetattr(STDIN_FILENO, TCSANOW, &SAVE_TERM); [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 81 | libc::tcsetattr(STDIN_FILENO, TCSANOW, &raw const SAVE_TERM); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:129:39 [INFO] [stdout] | [INFO] [stdout] 129 | libc::tcgetattr(STDIN_FILENO, &mut pty_process::SAVE_TERM); [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] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 129 | libc::tcgetattr(STDIN_FILENO, &raw mut pty_process::SAVE_TERM); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:154:51 [INFO] [stdout] | [INFO] [stdout] 154 | let mut new_term: libc::termios = pty_process::SAVE_TERM.clone(); [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: unused return value of `exec` that must be used [INFO] [stdout] --> src/main.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | cmd.exec(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 336 | let _ = cmd.exec(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/pty_process.rs:81:48 [INFO] [stdout] | [INFO] [stdout] 81 | libc::tcsetattr(STDIN_FILENO, TCSANOW, &SAVE_TERM); [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 81 | libc::tcsetattr(STDIN_FILENO, TCSANOW, &raw const SAVE_TERM); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: mlua v0.9.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6e02ab6f2b809a09e77723d2156e08c246b507d146301980cdd80e47f53c0c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e02ab6f2b809a09e77723d2156e08c246b507d146301980cdd80e47f53c0c3e", kill_on_drop: false }` [INFO] [stdout] 6e02ab6f2b809a09e77723d2156e08c246b507d146301980cdd80e47f53c0c3e