[INFO] cloning repository https://github.com/manpat/rs-wiresim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/manpat/rs-wiresim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanpat%2Frs-wiresim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanpat%2Frs-wiresim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f9a2992269c887c6832112a838494a2a5bd6b247 [INFO] checking manpat/rs-wiresim against master#85c39893a761fe4c050523278da4e7e45ab42b6e for pr-134688 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanpat%2Frs-wiresim" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/manpat/rs-wiresim on toolchain 85c39893a761fe4c050523278da4e7e45ab42b6e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/manpat/rs-wiresim [INFO] finished tweaking git repo https://github.com/manpat/rs-wiresim [INFO] tweaked toml for git repo https://github.com/manpat/rs-wiresim written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/manpat/rs-wiresim 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" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "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 c_vec v1.3.0 [INFO] [stderr] Downloaded rgb v0.7.2 [INFO] [stderr] Downloaded lodepng v1.1.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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 189a8211b03b7f6b4a95da83979523e29f356066e99f10dc29a616f2f694418f [INFO] running `Command { std: "docker" "start" "-a" "189a8211b03b7f6b4a95da83979523e29f356066e99f10dc29a616f2f694418f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "189a8211b03b7f6b4a95da83979523e29f356066e99f10dc29a616f2f694418f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "189a8211b03b7f6b4a95da83979523e29f356066e99f10dc29a616f2f694418f", kill_on_drop: false }` [INFO] [stdout] 189a8211b03b7f6b4a95da83979523e29f356066e99f10dc29a616f2f694418f [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1a3b68f76627b28cd037acdcc73deab816f66b9b7460c7d8851b9e77c2fc2c1 [INFO] running `Command { std: "docker" "start" "-a" "a1a3b68f76627b28cd037acdcc73deab816f66b9b7460c7d8851b9e77c2fc2c1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Checking libc v0.2.29 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling gcc v0.3.53 [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking c_vec v1.3.0 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking rgb v0.7.2 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Checking rand v0.3.16 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Compiling lodepng v1.1.3 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking num v0.1.40 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Checking sdl2 v0.30.0 [INFO] [stderr] Compiling wire v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/wire/mod.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | self.nodes.push((id, box node)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 69 | self.nodes.push((id, Box::new(node))); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/wire/mod.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | self.nodes.push((id, box node)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 69 | self.nodes.push((id, Box::new(node))); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/game.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | spawn: box |wire: &mut WireContext| wire.add_node( ConstantNode{value: 5} ), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 59 | spawn: Box::new(|wire: &mut WireContext| wire.add_node( ConstantNode{value: 5} )), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/game.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | spawn: box |wire: &mut WireContext| wire.add_node( AddNode::new() ), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 65 | spawn: Box::new(|wire: &mut WireContext| wire.add_node( AddNode::new() )), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/game.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | spawn: box |wire: &mut WireContext| wire.add_node( AndNode::new() ), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 71 | spawn: Box::new(|wire: &mut WireContext| wire.add_node( AndNode::new() )), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/game.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | spawn: box |wire: &mut WireContext| wire.add_node( CounterNode::new() ), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 77 | spawn: Box::new(|wire: &mut WireContext| wire.add_node( CounterNode::new() )), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/game.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | spawn: box |wire: &mut WireContext| wire.add_node( OutputNode::new("output") ), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 83 | spawn: Box::new(|wire: &mut WireContext| wire.add_node( OutputNode::new("output") )), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/game.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | spawn: box |wire: &mut WireContext| wire.add_node( ButtonNode::new() ), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 89 | spawn: Box::new(|wire: &mut WireContext| wire.add_node( ButtonNode::new() )), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/game.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | spawn: box |wire: &mut WireContext| wire.add_node( ToggleNode::new() ), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 95 | spawn: Box::new(|wire: &mut WireContext| wire.add_node( ToggleNode::new() )), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/game.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | spawn: box |wire: &mut WireContext| wire.add_node( ConstantNode{value: 5} ), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 59 | spawn: Box::new(|wire: &mut WireContext| wire.add_node( ConstantNode{value: 5} )), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/game.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | spawn: box |wire: &mut WireContext| wire.add_node( AddNode::new() ), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 65 | spawn: Box::new(|wire: &mut WireContext| wire.add_node( AddNode::new() )), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/game.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | spawn: box |wire: &mut WireContext| wire.add_node( AndNode::new() ), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 71 | spawn: Box::new(|wire: &mut WireContext| wire.add_node( AndNode::new() )), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/game.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | spawn: box |wire: &mut WireContext| wire.add_node( CounterNode::new() ), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 77 | spawn: Box::new(|wire: &mut WireContext| wire.add_node( CounterNode::new() )), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/game.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | spawn: box |wire: &mut WireContext| wire.add_node( OutputNode::new("output") ), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 83 | spawn: Box::new(|wire: &mut WireContext| wire.add_node( OutputNode::new("output") )), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/game.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | spawn: box |wire: &mut WireContext| wire.add_node( ButtonNode::new() ), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 89 | spawn: Box::new(|wire: &mut WireContext| wire.add_node( ButtonNode::new() )), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/game.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | spawn: box |wire: &mut WireContext| wire.add_node( ToggleNode::new() ), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 95 | spawn: Box::new(|wire: &mut WireContext| wire.add_node( ToggleNode::new() )), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::basic::*` [INFO] [stdout] --> src/wire/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use self::basic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::io::*` [INFO] [stdout] --> src/wire/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use self::io::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::basic::*` [INFO] [stdout] --> src/wire/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use self::basic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::io::*` [INFO] [stdout] --> src/wire/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use self::io::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/wire-1460227afced6f08/out/bindings.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void, [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] 9 | fn metaloadfn(mut loadfn: &mut dyn FnMut(&str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | spawn: Box u32>, [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] 22 | spawn: Box u32>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wire/mod.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | pub nodes: Vec<(u32, 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] 50 | pub nodes: Vec<(u32, Box)>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/wire-1460227afced6f08/out/bindings.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void, [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] 9 | fn metaloadfn(mut loadfn: &mut dyn FnMut(&str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | spawn: Box u32>, [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] 22 | spawn: Box u32>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wire/mod.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | pub nodes: Vec<(u32, 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] 50 | pub nodes: Vec<(u32, Box)>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game.rs:138:40 [INFO] [stdout] | [INFO] [stdout] 138 | fn get_hovered_node(&self) -> Option<&WireNode> { [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] 138 | fn get_hovered_node(&self) -> Option<&dyn WireNode> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game.rs:145:53 [INFO] [stdout] | [INFO] [stdout] 145 | fn get_hovered_node_mut(&mut self) -> Option<&mut (WireNode + 'static)> { [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 | fn get_hovered_node_mut(&mut self) -> Option<&mut (dyn WireNode + 'static)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wire/mod.rs:77:50 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_node(&self, node_id: u32) -> Option<&WireNode> { [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] 77 | pub fn get_node(&self, node_id: u32) -> Option<&dyn WireNode> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wire/mod.rs:82:63 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_node_mut(&mut self, node_id: u32) -> Option<&mut (WireNode + 'static)> { [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] 82 | pub fn get_node_mut(&mut self, node_id: u32) -> Option<&mut (dyn WireNode + 'static)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game.rs:138:40 [INFO] [stdout] | [INFO] [stdout] 138 | fn get_hovered_node(&self) -> Option<&WireNode> { [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] 138 | fn get_hovered_node(&self) -> Option<&dyn WireNode> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game.rs:145:53 [INFO] [stdout] | [INFO] [stdout] 145 | fn get_hovered_node_mut(&mut self) -> Option<&mut (WireNode + 'static)> { [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 | fn get_hovered_node_mut(&mut self) -> Option<&mut (dyn WireNode + 'static)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wire/mod.rs:77:50 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_node(&self, node_id: u32) -> Option<&WireNode> { [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] 77 | pub fn get_node(&self, node_id: u32) -> Option<&dyn WireNode> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/wire/mod.rs:82:63 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_node_mut(&mut self, node_id: u32) -> Option<&mut (WireNode + 'static)> { [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] 82 | pub fn get_node_mut(&mut self, node_id: u32) -> Option<&mut (dyn WireNode + 'static)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/debug/build/wire-1460227afced6f08/out/bindings.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> /opt/rustwide/target/debug/build/wire-1460227afced6f08/out/bindings.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/wire/io.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_output(&self, port: u32) -> WireValue { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/wire/io.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | fn get_output(&self, port: u32) -> WireValue { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/wire/mod.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | fn on_input_changed(&mut self, port: u32, value: WireValue) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/wire/mod.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | fn on_input_changed(&mut self, port: u32, value: WireValue) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/wire/mod.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_output(&self, port: u32) -> WireValue { WireValue::Null } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_data` [INFO] [stdout] --> src/text.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | let test_data = [ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glyph_width` [INFO] [stdout] --> src/text.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | let glyph_width = 12; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyph_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glyph_height` [INFO] [stdout] --> src/text.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | let glyph_height = 14; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyph_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wire` (bin "wire") due to 9 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/wire/io.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_output(&self, port: u32) -> WireValue { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/wire/io.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | fn get_output(&self, port: u32) -> WireValue { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/wire/mod.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | fn on_input_changed(&mut self, port: u32, value: WireValue) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/wire/mod.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | fn on_input_changed(&mut self, port: u32, value: WireValue) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> src/wire/mod.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_output(&self, port: u32) -> WireValue { WireValue::Null } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_data` [INFO] [stdout] --> src/text.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | let test_data = [ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glyph_width` [INFO] [stdout] --> src/text.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | let glyph_width = 12; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyph_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `glyph_height` [INFO] [stdout] --> src/text.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | let glyph_height = 14; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_glyph_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wire` (bin "wire" test) due to 9 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a1a3b68f76627b28cd037acdcc73deab816f66b9b7460c7d8851b9e77c2fc2c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1a3b68f76627b28cd037acdcc73deab816f66b9b7460c7d8851b9e77c2fc2c1", kill_on_drop: false }` [INFO] [stdout] a1a3b68f76627b28cd037acdcc73deab816f66b9b7460c7d8851b9e77c2fc2c1