[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] testing manpat/rs-wiresim against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanpat%2Frs-wiresim" "/workspace/builds/worker-75/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-75/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/manpat/rs-wiresim on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-75/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb67bb8576f3e389f229a9795615ab173af06e0ff932b59f0369ef69a8ce84eb [INFO] running `Command { std: "docker" "start" "-a" "cb67bb8576f3e389f229a9795615ab173af06e0ff932b59f0369ef69a8ce84eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb67bb8576f3e389f229a9795615ab173af06e0ff932b59f0369ef69a8ce84eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb67bb8576f3e389f229a9795615ab173af06e0ff932b59f0369ef69a8ce84eb", kill_on_drop: false }` [INFO] [stdout] cb67bb8576f3e389f229a9795615ab173af06e0ff932b59f0369ef69a8ce84eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e4951296f665872283e3fd73e44cfd85507ef5a476639ca5cd9e767288e5852 [INFO] running `Command { std: "docker" "start" "-a" "9e4951296f665872283e3fd73e44cfd85507ef5a476639ca5cd9e767288e5852", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.29 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling bitflags v0.9.1 [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] Compiling log v0.3.8 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling c_vec v1.3.0 [INFO] [stderr] Compiling rgb v0.7.2 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling rand v0.3.16 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling lodepng v1.1.3 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling wire v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling num v0.1.40 [INFO] [stderr] Compiling sdl2 v0.30.0 [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [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-9b6227b456601a4c/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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - fn metaloadfn(mut loadfn: &mut FnMut(&str) -> *const __gl_imports::raw::c_void, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - spawn: Box u32>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - pub nodes: Vec<(u32, Box)>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 - fn get_hovered_node(&self) -> Option<&WireNode> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 - fn get_hovered_node_mut(&mut self) -> Option<&mut (WireNode + 'static)> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - pub fn get_node(&self, node_id: u32) -> Option<&WireNode> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 - pub fn get_node_mut(&mut self, node_id: u32) -> Option<&mut (WireNode + 'static)> { [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] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wire` due to 3 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9e4951296f665872283e3fd73e44cfd85507ef5a476639ca5cd9e767288e5852", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e4951296f665872283e3fd73e44cfd85507ef5a476639ca5cd9e767288e5852", kill_on_drop: false }` [INFO] [stdout] 9e4951296f665872283e3fd73e44cfd85507ef5a476639ca5cd9e767288e5852