[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 try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 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-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/SamNour/Terminal-Guard on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 478516aa9a709ebf35be49b6105135cf65bd2ebd0be87c768d633753ff5e3228
[INFO] running `Command { std: "docker" "start" "-a" "478516aa9a709ebf35be49b6105135cf65bd2ebd0be87c768d633753ff5e3228", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "478516aa9a709ebf35be49b6105135cf65bd2ebd0be87c768d633753ff5e3228", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "478516aa9a709ebf35be49b6105135cf65bd2ebd0be87c768d633753ff5e3228", kill_on_drop: false }`
[INFO] [stdout] 478516aa9a709ebf35be49b6105135cf65bd2ebd0be87c768d633753ff5e3228
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e68e081280e2bc8a68b93e5d5b2314613cdaea880130edaed48d60d075965b10
[INFO] running `Command { std: "docker" "start" "-a" "e68e081280e2bc8a68b93e5d5b2314613cdaea880130edaed48d60d075965b10", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling linux-raw-sys v0.4.10
[INFO] [stderr]    Compiling bitflags v2.4.0
[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 num-traits v0.2.17
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]    Compiling winnow v0.5.17
[INFO] [stderr]    Compiling unicode-width v0.1.11
[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 vec_map v0.8.2
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.9
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling termcolor v1.3.0
[INFO] [stderr]    Compiling indexmap v2.0.2
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]    Compiling cc v1.0.83
[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 lua-src v546.0.1
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling regex-automata v0.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 serde_spanned v0.6.3
[INFO] [stderr]    Compiling toml_datetime 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 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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.41s
[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" "e68e081280e2bc8a68b93e5d5b2314613cdaea880130edaed48d60d075965b10", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e68e081280e2bc8a68b93e5d5b2314613cdaea880130edaed48d60d075965b10", kill_on_drop: false }`
[INFO] [stdout] e68e081280e2bc8a68b93e5d5b2314613cdaea880130edaed48d60d075965b10
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd445a29e0e4c33be17f0c34016613dcbd9c79f6537ca3aaf997c6c8a4b5edf3
[INFO] running `Command { std: "docker" "start" "-a" "cd445a29e0e4c33be17f0c34016613dcbd9c79f6537ca3aaf997c6c8a4b5edf3", kill_on_drop: false }`
[INFO] [stderr]    Compiling minmux v0.1.0 (/opt/rustwide/workdir)
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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 <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.80s
[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" "cd445a29e0e4c33be17f0c34016613dcbd9c79f6537ca3aaf997c6c8a4b5edf3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd445a29e0e4c33be17f0c34016613dcbd9c79f6537ca3aaf997c6c8a4b5edf3", kill_on_drop: false }`
[INFO] [stdout] cd445a29e0e4c33be17f0c34016613dcbd9c79f6537ca3aaf997c6c8a4b5edf3
