[INFO] cloning repository https://github.com/aaaandrea/rust-ngw
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aaaandrea/rust-ngw" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faaaandrea%2Frust-ngw", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faaaandrea%2Frust-ngw'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0c2637949df4ac89e6a79c8e38a2f5de70a30932
[INFO] checking aaaandrea/rust-ngw against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faaaandrea%2Frust-ngw" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/aaaandrea/rust-ngw
[INFO] finished tweaking git repo https://github.com/aaaandrea/rust-ngw
[INFO] tweaked toml for git repo https://github.com/aaaandrea/rust-ngw written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/aaaandrea/rust-ngw on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/aaaandrea/rust-ngw 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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `rust-ngw` (manifest) generated 1 warning
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cfg-if v0.1.3
[INFO] [stderr]   Downloaded bitflags v1.0.3
[INFO] [stderr]   Downloaded byteorder v1.2.3
[INFO] [stderr]   Downloaded bytes v0.4.8
[INFO] [stderr]   Downloaded nix v0.10.0
[INFO] [stderr]   Downloaded gcc v0.3.54
[INFO] [stderr]   Downloaded libc v0.2.41
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 59b77659db6f9356c24a9d36de563d7616ae83b9a43ce1c49ba17c5dcf648efc
[INFO] running `Command { std: "docker" "start" "59b77659db6f9356c24a9d36de563d7616ae83b9a43ce1c49ba17c5dcf648efc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "59b77659db6f9356c24a9d36de563d7616ae83b9a43ce1c49ba17c5dcf648efc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "59b77659db6f9356c24a9d36de563d7616ae83b9a43ce1c49ba17c5dcf648efc" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "59b77659db6f9356c24a9d36de563d7616ae83b9a43ce1c49ba17c5dcf648efc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "59b77659db6f9356c24a9d36de563d7616ae83b9a43ce1c49ba17c5dcf648efc" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `rust-ngw` (manifest) generated 1 warning
[INFO] [stderr]     Checking libc v0.2.41
[INFO] [stderr]    Compiling nix v0.10.0
[INFO] [stderr]     Checking byteorder v1.2.3
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking cfg-if v0.1.3
[INFO] [stderr]     Checking bitflags v1.0.3
[INFO] [stderr]     Checking iovec v0.1.2
[INFO] [stderr]     Checking bytes v0.4.8
[INFO] [stderr]     Checking rust-ngw v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/main.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn main() -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/main.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | /     loop {
[INFO] [stdout] 21 | |         // we want just the newly received bytes, we can take a len-long slice of buf:
[INFO] [stdout] 22 | |         let len = recv(sock, &mut buf, MsgFlags::empty())?;
[INFO] [stdout] 23 | |         let new_bytes = &buf[..len];
[INFO] [stdout] 24 | |         io::stdout().write(new_bytes);
[INFO] [stdout] 25 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 30 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/main.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn main() -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 7 | fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         io::stdout().write(new_bytes);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[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] 24 |         let _ = io::stdout().write(new_bytes);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/main.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | /     loop {
[INFO] [stdout] 21 | |         // we want just the newly received bytes, we can take a len-long slice of buf:
[INFO] [stdout] 22 | |         let len = recv(sock, &mut buf, MsgFlags::empty())?;
[INFO] [stdout] 23 | |         let new_bytes = &buf[..len];
[INFO] [stdout] 24 | |         io::stdout().write(new_bytes);
[INFO] [stdout] 25 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 30 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         io::stdout().write(new_bytes);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[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] 24 |         let _ = io::stdout().write(new_bytes);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.18s
[INFO] running `Command { std: "docker" "inspect" "59b77659db6f9356c24a9d36de563d7616ae83b9a43ce1c49ba17c5dcf648efc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "59b77659db6f9356c24a9d36de563d7616ae83b9a43ce1c49ba17c5dcf648efc", kill_on_drop: false }`
[INFO] [stdout] 59b77659db6f9356c24a9d36de563d7616ae83b9a43ce1c49ba17c5dcf648efc
