[INFO] fetching crate termsnap-lib 0.4.0... [INFO] testing termsnap-lib-0.4.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate termsnap-lib 0.4.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate termsnap-lib 0.4.0 [INFO] finished tweaking crates.io crate termsnap-lib 0.4.0 [INFO] tweaked toml for crates.io crate termsnap-lib 0.4.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate termsnap-lib 0.4.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 78 packages to latest compatible versions [INFO] [stderr] Adding alacritty_terminal v0.24.2 (available: v0.25.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0f69b6fed5cdba8f469919a722156691865a7983449ac6a612c6db65dc1aa11 [INFO] running `Command { std: "docker" "start" "-a" "a0f69b6fed5cdba8f469919a722156691865a7983449ac6a612c6db65dc1aa11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0f69b6fed5cdba8f469919a722156691865a7983449ac6a612c6db65dc1aa11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0f69b6fed5cdba8f469919a722156691865a7983449ac6a612c6db65dc1aa11", kill_on_drop: false }` [INFO] [stdout] a0f69b6fed5cdba8f469919a722156691865a7983449ac6a612c6db65dc1aa11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f112028c89df5633d78675acb817192c601b3a7b5bac1c86b86b8ebf5664270 [INFO] running `Command { std: "docker" "start" "-a" "9f112028c89df5633d78675acb817192c601b3a7b5bac1c86b86b8ebf5664270", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling cursor-icon v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling vte v0.13.1 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling rustix-openpty v0.1.1 [INFO] [stderr] Compiling alacritty_terminal v0.24.2 [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::io::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alacritty_terminal-0.24.2/src/tty/unix.rs:187:61 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn new(config: &Options, window_size: WindowSize, window_id: u64) -> Result { [INFO] [stdout] | ----------- expected `std::io::Error` because of this [INFO] [stdout] 187 | let pty = openpty(None, Some(&window_size.to_winsize()))?; [INFO] [stdout] | ----------------------------------------------^ the trait `From` is not implemented for `std::io::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Errno>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alacritty_terminal-0.24.2/src/tty/unix.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | from_fd(config, window_id, master, slave) [INFO] [stdout] | ^^^^^^^ ------ ----- expected `std::os::fd::OwnedFd`, found `rustix_openpty::rustix::fd::OwnedFd` [INFO] [stdout] | | [INFO] [stdout] | expected `std::os::fd::OwnedFd`, found `rustix_openpty::rustix::fd::OwnedFd` [INFO] [stdout] | [INFO] [stdout] = note: `rustix_openpty::rustix::fd::OwnedFd` and `std::os::fd::OwnedFd` have similar names, but are actually distinct types [INFO] [stdout] note: `rustix_openpty::rustix::fd::OwnedFd` is defined in crate `rustix` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-0.38.44/src/maybe_polyfill/no_std/os/fd/owned.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct OwnedFd { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `std::os::fd::OwnedFd` is defined in crate `std` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/os/fd/owned.rs:66:1 [INFO] [stdout] = note: `rustix_openpty::rustix::fd::OwnedFd` and `std::os::fd::OwnedFd` have similar names, but are actually distinct types [INFO] [stdout] note: `rustix_openpty::rustix::fd::OwnedFd` is defined in crate `rustix` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-0.38.44/src/maybe_polyfill/no_std/os/fd/owned.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct OwnedFd { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `std::os::fd::OwnedFd` is defined in crate `std` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/os/fd/owned.rs:66:1 [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alacritty_terminal-0.24.2/src/tty/unix.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn from_fd(config: &Options, window_id: u64, master: OwnedFd, slave: OwnedFd) -> Result { [INFO] [stdout] | ^^^^^^^ --------------- -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::os::fd::OwnedFd: rustix_openpty::rustix::fd::AsFd` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alacritty_terminal-0.24.2/src/tty/unix.rs:198:50 [INFO] [stdout] | [INFO] [stdout] 198 | if let Ok(mut termios) = termios::tcgetattr(&master) { [INFO] [stdout] | ------------------ ^^^^^^ the trait `rustix_openpty::rustix::fd::AsFd` is not implemented for `std::os::fd::OwnedFd` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rustix` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-0.38.44/src/maybe_polyfill/no_std/os/fd/owned.rs:238:1 [INFO] [stdout] | [INFO] [stdout] 238 | pub trait AsFd { [INFO] [stdout] | ^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alacritty_terminal-0.24.2/src/tty/unix.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use rustix_openpty::openpty; [INFO] [stdout] | -------------- one version of crate `rustix` used here, as a dependency of crate `rustix_openpty` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alacritty_terminal-0.24.2/src/event_loop.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use polling::{Event as PollingEvent, Events, PollMode}; [INFO] [stdout] | ------- one version of crate `rustix` used here, as a dependency of crate `polling` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/os/fd/owned.rs:66:1 [INFO] [stdout] | [INFO] [stdout] = note: this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.0.8/src/buffer.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub trait Buffer: private::Sealed {} [INFO] [stdout] | --------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `&std::os::fd::OwnedFd` to implement `rustix_openpty::rustix::fd::AsFd` [INFO] [stdout] note: required by a bound in `rustix_openpty::rustix::termios::tcgetattr` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-0.38.44/src/termios/tc.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn tcgetattr(fd: Fd) -> io::Result { [INFO] [stdout] | ^^^^ required by this bound in `tcgetattr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::os::fd::OwnedFd: rustix_openpty::rustix::fd::AsFd` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alacritty_terminal-0.24.2/src/tty/unix.rs:201:37 [INFO] [stdout] | [INFO] [stdout] 201 | let _ = termios::tcsetattr(&master, OptionalActions::Now, &termios); [INFO] [stdout] | ------------------ ^^^^^^ the trait `rustix_openpty::rustix::fd::AsFd` is not implemented for `std::os::fd::OwnedFd` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rustix` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-0.38.44/src/maybe_polyfill/no_std/os/fd/owned.rs:238:1 [INFO] [stdout] | [INFO] [stdout] 238 | pub trait AsFd { [INFO] [stdout] | ^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alacritty_terminal-0.24.2/src/tty/unix.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use rustix_openpty::openpty; [INFO] [stdout] | -------------- one version of crate `rustix` used here, as a dependency of crate `rustix_openpty` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/alacritty_terminal-0.24.2/src/event_loop.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use polling::{Event as PollingEvent, Events, PollMode}; [INFO] [stdout] | ------- one version of crate `rustix` used here, as a dependency of crate `polling` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/os/fd/owned.rs:66:1 [INFO] [stdout] | [INFO] [stdout] = note: this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.0.8/src/buffer.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub trait Buffer: private::Sealed {} [INFO] [stdout] | --------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `&std::os::fd::OwnedFd` to implement `rustix_openpty::rustix::fd::AsFd` [INFO] [stdout] note: required by a bound in `rustix_openpty::rustix::termios::tcsetattr` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-0.38.44/src/termios/tc.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn tcsetattr( [INFO] [stdout] | ^^^^ required by this bound in `tcsetattr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `alacritty_terminal` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "9f112028c89df5633d78675acb817192c601b3a7b5bac1c86b86b8ebf5664270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f112028c89df5633d78675acb817192c601b3a7b5bac1c86b86b8ebf5664270", kill_on_drop: false }` [INFO] [stdout] 9f112028c89df5633d78675acb817192c601b3a7b5bac1c86b86b8ebf5664270