[INFO] cloning repository https://github.com/loovjo/soviet-sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/loovjo/soviet-sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floovjo%2Fsoviet-sim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floovjo%2Fsoviet-sim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c28732f7ed6141ca041cc4e8254795e063cbcfb [INFO] testing loovjo/soviet-sim against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floovjo%2Fsoviet-sim" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/loovjo/soviet-sim on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/loovjo/soviet-sim [INFO] finished tweaking git repo https://github.com/loovjo/soviet-sim [INFO] tweaked toml for git repo https://github.com/loovjo/soviet-sim written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/loovjo/soviet-sim already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cf37b84d7a2c608c8584ba13f981195fe0ce2ae24c838591c31e4b974c4330df [INFO] running `Command { std: "docker" "start" "-a" "cf37b84d7a2c608c8584ba13f981195fe0ce2ae24c838591c31e4b974c4330df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf37b84d7a2c608c8584ba13f981195fe0ce2ae24c838591c31e4b974c4330df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf37b84d7a2c608c8584ba13f981195fe0ce2ae24c838591c31e4b974c4330df", kill_on_drop: false }` [INFO] [stdout] cf37b84d7a2c608c8584ba13f981195fe0ce2ae24c838591c31e4b974c4330df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 774fcccb17d8d0cee9664c352ba92ce589cbc5d1b8387fe3098c66d3bf94f16e [INFO] running `Command { std: "docker" "start" "-a" "774fcccb17d8d0cee9664c352ba92ce589cbc5d1b8387fe3098c66d3bf94f16e", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling soviet-sim v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(vec_remove_item, nll, const_let)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: the feature `const_let` has been stable since 1.33.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/key.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | 65...90 => Some(Key::Letter(code - b'A')), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/key.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | 48...57 => Some(Key::Digit(code - 48)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:406:58 [INFO] [stdout] | [INFO] [stdout] 406 | rouge.world.generate(WORLD_SIZE.0, WORLD_SIZE.1);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / lazy_static! { [INFO] [stdout] 69 | | static ref GAME: Mutex = Mutex::new( [INFO] [stdout] 70 | | Game { [INFO] [stdout] 71 | | state: GameState::Menu(Difficulty::Easy), [INFO] [stdout] 72 | | size: (0, 0) [INFO] [stdout] 73 | | }); [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/ext.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | static ref SCREEN: Mutex>> = Mutex::new(vec![]); [INFO] [stdout] 34 | | static ref UNFLIPPED: Mutex>> = Mutex::new(vec![]); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/ext.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | static ref SCREEN: Mutex>> = Mutex::new(vec![]); [INFO] [stdout] 34 | | static ref UNFLIPPED: Mutex>> = Mutex::new(vec![]); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/controls.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | pub static ref CONTROLS: Vec> = vec![ [INFO] [stdout] 40 | | Control { [INFO] [stdout] 41 | | modifiers: &[Key::Shift, Key::Ctrl], [INFO] [stdout] ... | [INFO] [stdout] 121 | | ]; [INFO] [stdout] 122 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/block.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | pub static ref BLOCK_FUNCS: Mutex> [INFO] [stdout] 10 | | = Mutex::new(vec![|_, _| {}]); [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/block.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | pub static ref GROUND: Block = Block::new( [INFO] [stdout] 62 | | Shape::new('.', (128, 128, 128), (0, 0, 0)), [INFO] [stdout] 63 | | "Ground".into(), [INFO] [stdout] ... | [INFO] [stdout] 131 | | [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/block.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | pub static ref GROUND: Block = Block::new( [INFO] [stdout] 62 | | Shape::new('.', (128, 128, 128), (0, 0, 0)), [INFO] [stdout] 63 | | "Ground".into(), [INFO] [stdout] ... | [INFO] [stdout] 131 | | [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/block.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | pub static ref GROUND: Block = Block::new( [INFO] [stdout] 62 | | Shape::new('.', (128, 128, 128), (0, 0, 0)), [INFO] [stdout] 63 | | "Ground".into(), [INFO] [stdout] ... | [INFO] [stdout] 131 | | [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/block.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | pub static ref GROUND: Block = Block::new( [INFO] [stdout] 62 | | Shape::new('.', (128, 128, 128), (0, 0, 0)), [INFO] [stdout] 63 | | "Ground".into(), [INFO] [stdout] ... | [INFO] [stdout] 131 | | [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/block.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | pub static ref GROUND: Block = Block::new( [INFO] [stdout] 62 | | Shape::new('.', (128, 128, 128), (0, 0, 0)), [INFO] [stdout] 63 | | "Ground".into(), [INFO] [stdout] ... | [INFO] [stdout] 131 | | [INFO] [stdout] 132 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/crafting.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | pub static ref RECIPES: Vec = vec![ [INFO] [stdout] 12 | | Recipe { [INFO] [stdout] 13 | | out: InventoryItem::Block(block::MOVER.clone()), [INFO] [stdout] ... | [INFO] [stdout] 49 | | ]; [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entity/mod.rs:159:27 [INFO] [stdout] | [INFO] [stdout] 159 | type Target = Entity; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | / MakeEntityWrapper!( [INFO] [stdout] 183 | | Player=WPlayer, [INFO] [stdout] 184 | | Josef=WJosef, [INFO] [stdout] 185 | | Police=WPolice, [INFO] [stdout] 186 | | Bomb=WBomb, [INFO] [stdout] 187 | | Bullet=WBullet [INFO] [stdout] 188 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this warning originates in the macro `MakeEntityWrapper` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 159 - type Target = Entity; [INFO] [stdout] 159 + type Target = dyn Entity; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove_item` found for struct `Vec<((u16, u16), Vec)>` in the current scope [INFO] [stdout] --> src/entity/police.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | paths.remove_item(&(*pos, path.clone())); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Vec<((u16, u16), Vec)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0554, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `soviet-sim` due to 3 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "774fcccb17d8d0cee9664c352ba92ce589cbc5d1b8387fe3098c66d3bf94f16e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "774fcccb17d8d0cee9664c352ba92ce589cbc5d1b8387fe3098c66d3bf94f16e", kill_on_drop: false }` [INFO] [stdout] 774fcccb17d8d0cee9664c352ba92ce589cbc5d1b8387fe3098c66d3bf94f16e