[INFO] fetching crate rshell 0.1.0... [INFO] testing rshell-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate rshell 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate rshell 0.1.0 [INFO] finished tweaking crates.io crate rshell 0.1.0 [INFO] tweaked toml for crates.io crate rshell 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rshell 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rshell 0.1.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded getrandom v0.1.13 [INFO] [stderr] Downloaded cc v1.0.48 [INFO] [stderr] Downloaded wasi v0.7.0 [INFO] [stderr] Downloaded rand v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5597bcd31dd95c42e2b23523d2142d49b7d6889d83a90570757ea1fec169904 [INFO] running `Command { std: "docker" "start" "-a" "b5597bcd31dd95c42e2b23523d2142d49b7d6889d83a90570757ea1fec169904", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5597bcd31dd95c42e2b23523d2142d49b7d6889d83a90570757ea1fec169904", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5597bcd31dd95c42e2b23523d2142d49b7d6889d83a90570757ea1fec169904", kill_on_drop: false }` [INFO] [stdout] b5597bcd31dd95c42e2b23523d2142d49b7d6889d83a90570757ea1fec169904 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81bb706ceb9bdc334257130984c94634fec013fb078d5ffeab21e7e0e4a83edc [INFO] running `Command { std: "docker" "start" "-a" "81bb706ceb9bdc334257130984c94634fec013fb078d5ffeab21e7e0e4a83edc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling rshell v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0560]: struct `sockaddr_in` has no field named `sin_len` [INFO] [stdout] --> src/macros/mod.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | sin_len: std::mem::size_of::() as u8, [INFO] [stdout] | ^^^^^^^ `sockaddr_in` does not have this field [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | let servaddr = sockaddr!([127, 0, 0, 1], 8000); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] = note: this error originates in the macro `sockaddr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros/mod.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | sin_family: libc::AF_INET as u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `u16`, found `u8` [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | let servaddr = sockaddr!([127, 0, 0, 1], 8000); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sockaddr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros/mod.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | sin_zero: [0i8; 8], [INFO] [stdout] | ^^^ expected `u8`, found `i8` [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | let servaddr = sockaddr!([127, 0, 0, 1], 8000); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sockaddr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the type of the numeric literal from `i8` to `u8` [INFO] [stdout] | [INFO] [stdout] 13 - sin_zero: [0i8; 8], [INFO] [stdout] 13 + sin_zero: [0u8; 8], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rshell` (bin "client") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0560]: struct `sockaddr_in` has no field named `sin_len` [INFO] [stdout] --> src/macros/mod.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | sin_len: std::mem::size_of::() as u8, [INFO] [stdout] | ^^^^^^^ `sockaddr_in` does not have this field [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | let servaddr = sockaddr!([127, 0, 0, 1], 8000); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] = note: this error originates in the macro `sockaddr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros/mod.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | sin_family: libc::AF_INET as u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `u16`, found `u8` [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | let servaddr = sockaddr!([127, 0, 0, 1], 8000); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sockaddr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros/mod.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | sin_zero: [0i8; 8], [INFO] [stdout] | ^^^ expected `u8`, found `i8` [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | let servaddr = sockaddr!([127, 0, 0, 1], 8000); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `sockaddr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the type of the numeric literal from `i8` to `u8` [INFO] [stdout] | [INFO] [stdout] 13 - sin_zero: [0i8; 8], [INFO] [stdout] 13 + sin_zero: [0u8; 8], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/server.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(ForkResult::Child) => { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 49 | | setsid()?; [INFO] [stdout] 50 | | dup2(fds, STDIN_FILENO)?; [INFO] [stdout] 51 | | dup2(fds, STDOUT_FILENO)?; [INFO] [stdout] ... | [INFO] [stdout] 55 | | execvp(&sh, &[]).unwrap(); [INFO] [stdout] | | ------------------------- any code following this expression is unreachable [INFO] [stdout] 56 | | } [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `void::Void`, which is uninhabited [INFO] [stdout] --> src/server.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | execvp(&sh, &[]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rshell` (bin "server") due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "81bb706ceb9bdc334257130984c94634fec013fb078d5ffeab21e7e0e4a83edc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81bb706ceb9bdc334257130984c94634fec013fb078d5ffeab21e7e0e4a83edc", kill_on_drop: false }` [INFO] [stdout] 81bb706ceb9bdc334257130984c94634fec013fb078d5ffeab21e7e0e4a83edc