[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#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamNour%2FTerminal-Guard" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SamNour/Terminal-Guard on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.190 [INFO] [stderr] Downloaded proc-macro2 v1.0.69 [INFO] [stderr] Downloaded termcolor v1.3.0 [INFO] [stderr] Downloaded serde_spanned v0.6.3 [INFO] [stderr] Downloaded hermit-abi v0.3.3 [INFO] [stderr] Downloaded home v0.5.5 [INFO] [stderr] Downloaded colored v2.0.4 [INFO] [stderr] Downloaded errno v0.3.5 [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 serde_json v1.0.107 [INFO] [stderr] Downloaded mlua v0.9.1 [INFO] [stderr] Downloaded regex v1.10.1 [INFO] [stderr] Downloaded bstr v1.7.0 [INFO] [stderr] Downloaded rustix v0.38.19 [INFO] [stderr] Downloaded regex-automata v0.4.2 [INFO] [stderr] Downloaded lua-src v546.0.1 [INFO] [stderr] Downloaded luajit-src v210.4.8+resty107baaf [INFO] [stderr] Downloaded linux-raw-sys v0.4.10 [INFO] [stderr] Downloaded mlua-sys v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77dd43e0cc3aa05aab82d4f0675988dcac970d4584aa7613f133d2bfa7e565bf [INFO] running `Command { std: "docker" "start" "-a" "77dd43e0cc3aa05aab82d4f0675988dcac970d4584aa7613f133d2bfa7e565bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77dd43e0cc3aa05aab82d4f0675988dcac970d4584aa7613f133d2bfa7e565bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77dd43e0cc3aa05aab82d4f0675988dcac970d4584aa7613f133d2bfa7e565bf", kill_on_drop: false }` [INFO] [stdout] 77dd43e0cc3aa05aab82d4f0675988dcac970d4584aa7613f133d2bfa7e565bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ba32189924bb66f5c2aff8027603ee496b53cd890b4bd37fdf04e7e4732e4b1 [INFO] running `Command { std: "docker" "start" "-a" "8ba32189924bb66f5c2aff8027603ee496b53cd890b4bd37fdf04e7e4732e4b1", 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 rustix v0.38.19 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling pkg-config v0.3.27 [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 winnow v0.5.17 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.9 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling bstr v1.7.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling lua-src v546.0.1 [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 41.91s [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 2` [INFO] running `Command { std: "docker" "inspect" "8ba32189924bb66f5c2aff8027603ee496b53cd890b4bd37fdf04e7e4732e4b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ba32189924bb66f5c2aff8027603ee496b53cd890b4bd37fdf04e7e4732e4b1", kill_on_drop: false }` [INFO] [stdout] 8ba32189924bb66f5c2aff8027603ee496b53cd890b4bd37fdf04e7e4732e4b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e6b8cfebfcd6a7a687a34cf238c96b3be9343755dfa6dc2c364835c60f0ccc9 [INFO] running `Command { std: "docker" "start" "-a" "5e6b8cfebfcd6a7a687a34cf238c96b3be9343755dfa6dc2c364835c60f0ccc9", kill_on_drop: false }` [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] [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 1.18s [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 2` [INFO] running `Command { std: "docker" "inspect" "5e6b8cfebfcd6a7a687a34cf238c96b3be9343755dfa6dc2c364835c60f0ccc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e6b8cfebfcd6a7a687a34cf238c96b3be9343755dfa6dc2c364835c60f0ccc9", kill_on_drop: false }` [INFO] [stdout] 5e6b8cfebfcd6a7a687a34cf238c96b3be9343755dfa6dc2c364835c60f0ccc9