[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 try#7df376b035b3d12ff0386ad8b45b76dbe020257b for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpabloordonez%2Ftokterm" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pabloordonez/tokterm on toolchain 7df376b035b3d12ff0386ad8b45b76dbe020257b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35a3c88c70d5306cabd701a98193742420c7aa9c57725726179f0518884ecbb5 [INFO] running `Command { std: "docker" "start" "-a" "35a3c88c70d5306cabd701a98193742420c7aa9c57725726179f0518884ecbb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35a3c88c70d5306cabd701a98193742420c7aa9c57725726179f0518884ecbb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35a3c88c70d5306cabd701a98193742420c7aa9c57725726179f0518884ecbb5", kill_on_drop: false }` [INFO] [stdout] 35a3c88c70d5306cabd701a98193742420c7aa9c57725726179f0518884ecbb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d650a8d48c2061e62451c548c0d6bcdee86ef513de82abd7b3cb67d9f6da57aa [INFO] running `Command { std: "docker" "start" "-a" "d650a8d48c2061e62451c548c0d6bcdee86ef513de82abd7b3cb67d9f6da57aa", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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: 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 | stroke: &dyn Paint, [INFO] [stdout] | +++ [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 a dyn-compatible 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 a dyn-compatible 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-1949cf8c6b5b557f/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] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokterm_ncurses` (lib) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d650a8d48c2061e62451c548c0d6bcdee86ef513de82abd7b3cb67d9f6da57aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d650a8d48c2061e62451c548c0d6bcdee86ef513de82abd7b3cb67d9f6da57aa", kill_on_drop: false }` [INFO] [stdout] d650a8d48c2061e62451c548c0d6bcdee86ef513de82abd7b3cb67d9f6da57aa