[INFO] fetching crate pty-shell 0.2.0... [INFO] testing pty-shell-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate pty-shell 0.2.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate pty-shell 0.2.0 [INFO] finished tweaking crates.io crate pty-shell 0.2.0 [INFO] tweaked toml for crates.io crate pty-shell 0.2.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pty-shell 0.2.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 26 packages to latest compatible versions [INFO] [stderr] Adding mio v0.5.1 (available: v1.0.4) [INFO] [stderr] Adding nix v0.4.3 (available: v0.30.1) [INFO] [stderr] Adding termios v0.2.2 (available: v0.3.3) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miow v0.1.5 [INFO] [stderr] Downloaded bytes v0.3.0 [INFO] [stderr] Downloaded slab v0.1.3 [INFO] [stderr] Downloaded mio v0.5.1 [INFO] [stderr] Downloaded nix v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a253642af5601d9a393de94e1b06703df372f0e8eb84963fb55296011900794 [INFO] running `Command { std: "docker" "start" "-a" "0a253642af5601d9a393de94e1b06703df372f0e8eb84963fb55296011900794", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a253642af5601d9a393de94e1b06703df372f0e8eb84963fb55296011900794", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a253642af5601d9a393de94e1b06703df372f0e8eb84963fb55296011900794", kill_on_drop: false }` [INFO] [stdout] 0a253642af5601d9a393de94e1b06703df372f0e8eb84963fb55296011900794 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 05a87fb1b7559680c5b4a3c0fd5683aefa4abc0be92c5057e144f7ed975f465f [INFO] running `Command { std: "docker" "start" "-a" "05a87fb1b7559680c5b4a3c0fd5683aefa4abc0be92c5057e144f7ed975f465f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling bytes v0.3.0 [INFO] [stderr] Compiling slab v0.1.3 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Compiling errno v0.1.8 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling pty v0.2.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling nix v0.4.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling miow v0.1.5 [INFO] [stderr] Compiling mio v0.5.1 [INFO] [stderr] Compiling pty-shell v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/terminal.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | try!(enter_raw_mode(libc::STDIN_FILENO)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/terminal.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | let termios = try!(Termios::from_fd(libc::STDIN_FILENO)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/terminal.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | let winsize = try!(winsize::from_fd(libc::STDIN_FILENO)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/terminal.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | try!(tcsetattr(libc::STDIN_FILENO, TCSANOW, &new_termios)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/terminal.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let mut new_termios = try!(Termios::from_fd(fd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | try!(setup_terminal(master)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | try!(do_proxy(master, handler)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | try!(event_loop.register(&input_reader, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | try!(event_loop.register(&output_reader, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | let mut event_loop = try!(mio::EventLoop::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:64:44 [INFO] [stdout] | [INFO] [stdout] 64 | let (input_reader, mut input_writer) = try!(mio::unix::pipe()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:73:46 [INFO] [stdout] | [INFO] [stdout] 73 | let (output_reader, mut output_writer) = try!(mio::unix::pipe()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | try!(writer.write(&buf[..nread])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | try!(handler_writer.write(&buf[..nread])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let nread = try!(input.read(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | let nread = try!(reader.read(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | try!(output.write(&buf[..nread])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | try!(handler_writer.write(&buf[..nread])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | std::error::Error::description(self).fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw_handler.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | pub handler: Box, [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | pub handler: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:143:24 [INFO] [stdout] | [INFO] [stdout] 143 | input_handler: Box, [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 143 | input_handler: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | output_handler: Box, [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 | output_handler: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | resize_handler: Box, [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 | resize_handler: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:146:27 [INFO] [stdout] | [INFO] [stdout] 146 | shutdown_handler: Box, [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | shutdown_handler: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | fn cause(&self) -> Option<&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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0276]: impl has stricter requirements than trait [INFO] [stdout] --> src/lib.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 39 | fn proxy(&self, handler: H) -> Result<()>; [INFO] [stdout] | --------------------------------------------------------- definition of `proxy` from trait [INFO] [stdout] ... [INFO] [stdout] 51 | fn proxy(&self, handler: H) -> Result<()> { [INFO] [stdout] | ^^^^^^^ impl has extra requirement `H: 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raw_handler.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | handler: Box) [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | handler: Box) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/winsize.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | libc::ioctl(fd, TIOCGWINSZ, &winsize); [INFO] [stdout] | ----------- ^^^^^^^^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 27 | libc::ioctl(fd, TIOCGWINSZ.try_into().unwrap(), &winsize); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/winsize.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | libc::ioctl(fd, TIOCSWINSZ, winsize); [INFO] [stdout] | ----------- ^^^^^^^^^^ expected `i32`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.174/src/unix/linux_like/mod.rs:1779:20 [INFO] [stdout] | [INFO] [stdout] 1779 | pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: you can convert a `u64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 35 | libc::ioctl(fd, TIOCSWINSZ.try_into().unwrap(), winsize); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0276, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0276`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pty-shell` (lib) due to 3 previous errors; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "05a87fb1b7559680c5b4a3c0fd5683aefa4abc0be92c5057e144f7ed975f465f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05a87fb1b7559680c5b4a3c0fd5683aefa4abc0be92c5057e144f7ed975f465f", kill_on_drop: false }` [INFO] [stdout] 05a87fb1b7559680c5b4a3c0fd5683aefa4abc0be92c5057e144f7ed975f465f