[INFO] cloning repository https://github.com/pabloordonez/tokterm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pabloordonez/tokterm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpabloordonez%2Ftokterm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpabloordonez%2Ftokterm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b580d0c85341c3003896611add489b66d29d5f3a [INFO] checking pabloordonez/tokterm against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpabloordonez%2Ftokterm" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pabloordonez/tokterm on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pabloordonez/tokterm [INFO] finished tweaking git repo https://github.com/pabloordonez/tokterm [INFO] tweaked toml for git repo https://github.com/pabloordonez/tokterm written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pabloordonez/tokterm 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ncurses v5.94.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 299c78045d2d3bd4947d6bbd92a3e72b8ba3703758162c489fa9d064fc093f19 [INFO] running `Command { std: "docker" "start" "-a" "299c78045d2d3bd4947d6bbd92a3e72b8ba3703758162c489fa9d064fc093f19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "299c78045d2d3bd4947d6bbd92a3e72b8ba3703758162c489fa9d064fc093f19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "299c78045d2d3bd4947d6bbd92a3e72b8ba3703758162c489fa9d064fc093f19", kill_on_drop: false }` [INFO] [stdout] 299c78045d2d3bd4947d6bbd92a3e72b8ba3703758162c489fa9d064fc093f19 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f736cf3f9f4c38f627f7886f27b1aaa399f367b132d37d44d799e4ebf962e963 [INFO] running `Command { std: "docker" "start" "-a" "f736cf3f9f4c38f627f7886f27b1aaa399f367b132d37d44d799e4ebf962e963", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking tokterm_core v0.1.0 (/opt/rustwide/workdir/src/tokterm_core) [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/tokterm_core/src/drawing/color.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokterm_core/src/drawing/canvas.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | stroke: Option<&'a Paint>, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | stroke: Option<&'a dyn Paint>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokterm_core/src/drawing/canvas.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | fill: Option<&'a Paint>, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | fill: Option<&'a dyn Paint>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokterm_core/src/system/application.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | fn get_terminal(&self) -> &Terminal; [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | fn get_terminal(&self) -> &dyn Terminal; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokterm_core/src/system/application.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_mut_terminal(&mut self) -> &mut Terminal; [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | fn get_mut_terminal(&mut self) -> &mut dyn Terminal; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokterm_core/src/drawing/canvas.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | stroke: Option<&'a Paint>, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | stroke: Option<&'a dyn Paint>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokterm_core/src/drawing/canvas.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | fill: Option<&'a Paint>, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | fill: Option<&'a dyn Paint>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokterm_core/src/drawing/canvas.rs:50:47 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn set_stroke(&mut self, painter: &'a Paint) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | pub fn set_stroke(&mut self, painter: &'a dyn Paint) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokterm_core/src/drawing/canvas.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn set_fill(&mut self, painter: &'a Paint) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | pub fn set_fill(&mut self, painter: &'a dyn Paint) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokterm_core/src/drawing/canvas.rs:193:18 [INFO] [stdout] | [INFO] [stdout] 193 | stroke: &Paint, [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 | stroke: &dyn Paint, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ncurses v5.94.0 [INFO] [stderr] Checking tokterm_ncurses v0.1.0 (/opt/rustwide/workdir/src/tokterm_ncurses) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokterm_ncurses/src/application.rs:221:32 [INFO] [stdout] | [INFO] [stdout] 221 | fn get_terminal(&self) -> &Terminal { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 221 | fn get_terminal(&self) -> &dyn Terminal { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokterm_ncurses/src/application.rs:226:44 [INFO] [stdout] | [INFO] [stdout] 226 | fn get_mut_terminal(&mut self) -> &mut Terminal { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 226 | fn get_mut_terminal(&mut self) -> &mut dyn Terminal { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tokterm_ncurses/src/application.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 89 | mousemask( [INFO] [stdout] | --------- arguments to this function are incorrect [INFO] [stdout] 90 | (ALL_MOUSE_EVENTS | REPORT_MOUSE_POSITION) as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ncurses-5.94.0/src/lib.rs:1988:8 [INFO] [stdout] | [INFO] [stdout] 1988 | pub fn mousemask(newmask: mmask_t, oldmask: Option<&mut mmask_t>) -> mmask_t [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 90 | ((ALL_MOUSE_EVENTS | REPORT_MOUSE_POSITION) as u64).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokterm_ncurses` (lib) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f736cf3f9f4c38f627f7886f27b1aaa399f367b132d37d44d799e4ebf962e963", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f736cf3f9f4c38f627f7886f27b1aaa399f367b132d37d44d799e4ebf962e963", kill_on_drop: false }` [INFO] [stdout] f736cf3f9f4c38f627f7886f27b1aaa399f367b132d37d44d799e4ebf962e963