[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 try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floovjo%2Fsoviet-sim" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/loovjo/soviet-sim on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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] 37e4f57cf8ac3069252100c2b73557be3aa6af697771f4484d18f2e5f3ecb565 [INFO] running `Command { std: "docker" "start" "-a" "37e4f57cf8ac3069252100c2b73557be3aa6af697771f4484d18f2e5f3ecb565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37e4f57cf8ac3069252100c2b73557be3aa6af697771f4484d18f2e5f3ecb565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37e4f57cf8ac3069252100c2b73557be3aa6af697771f4484d18f2e5f3ecb565", kill_on_drop: false }` [INFO] [stdout] 37e4f57cf8ac3069252100c2b73557be3aa6af697771f4484d18f2e5f3ecb565 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 857401f53152e49275515bc014d4af98aa09680665d52d67c252ec27eb607115 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "857401f53152e49275515bc014d4af98aa09680665d52d67c252ec27eb607115", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling soviet-sim v1.0.0 (/opt/rustwide/workdir) [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] [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] [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] | ^^^^^^ help: use `dyn`: `dyn Entity` [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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 item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::vec::Vec::::remove_item': Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/entity/police.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | paths.remove_item(&(*pos, path.clone())); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_let` has been stable since 1.33.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(vec_remove_item, nll, const_let)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.68s [INFO] running `Command { std: "docker" "inspect" "857401f53152e49275515bc014d4af98aa09680665d52d67c252ec27eb607115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "857401f53152e49275515bc014d4af98aa09680665d52d67c252ec27eb607115", kill_on_drop: false }` [INFO] [stdout] 857401f53152e49275515bc014d4af98aa09680665d52d67c252ec27eb607115 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd7854413a1d4f3fba35da8080b8d9163579d3e39252788d21f471631dd46c65 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bd7854413a1d4f3fba35da8080b8d9163579d3e39252788d21f471631dd46c65", kill_on_drop: false }` [INFO] [stderr] Compiling soviet-sim v1.0.0 (/opt/rustwide/workdir) [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] [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] [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] | ^^^^^^ help: use `dyn`: `dyn Entity` [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] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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 item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::vec::Vec::::remove_item': Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/entity/police.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | paths.remove_item(&(*pos, path.clone())); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_let` has been stable since 1.33.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(vec_remove_item, nll, const_let)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.89s [INFO] running `Command { std: "docker" "inspect" "bd7854413a1d4f3fba35da8080b8d9163579d3e39252788d21f471631dd46c65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd7854413a1d4f3fba35da8080b8d9163579d3e39252788d21f471631dd46c65", kill_on_drop: false }` [INFO] [stdout] bd7854413a1d4f3fba35da8080b8d9163579d3e39252788d21f471631dd46c65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4397515fd527fc343fb3230bdd35a763f42c18c859978bea7bc27d31798e69b2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4397515fd527fc343fb3230bdd35a763f42c18c859978bea7bc27d31798e69b2", kill_on_drop: false }` [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/key.rs:50:11 [INFO] [stderr] | [INFO] [stderr] 50 | 65...90 => Some(Key::Letter(code - b'A')), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/key.rs:51:11 [INFO] [stderr] | [INFO] [stderr] 51 | 48...57 => Some(Key::Digit(code - 48)), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/entity/mod.rs:159:27 [INFO] [stderr] | [INFO] [stderr] 159 | type Target = Entity; [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Entity` [INFO] [stderr] ... [INFO] [stderr] 182 | / MakeEntityWrapper!( [INFO] [stderr] 183 | | Player=WPlayer, [INFO] [stderr] 184 | | Josef=WJosef, [INFO] [stderr] 185 | | Police=WPolice, [INFO] [stderr] 186 | | Bomb=WBomb, [INFO] [stderr] 187 | | Bullet=WBullet [INFO] [stderr] 188 | | ); [INFO] [stderr] | |______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/lib.rs:406:58 [INFO] [stderr] | [INFO] [stderr] 406 | rouge.world.generate(WORLD_SIZE.0, WORLD_SIZE.1);; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | / lazy_static! { [INFO] [stderr] 69 | | static ref GAME: Mutex = Mutex::new( [INFO] [stderr] 70 | | Game { [INFO] [stderr] 71 | | state: GameState::Menu(Difficulty::Easy), [INFO] [stderr] 72 | | size: (0, 0) [INFO] [stderr] 73 | | }); [INFO] [stderr] 74 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/ext.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | / lazy_static! { [INFO] [stderr] 33 | | static ref SCREEN: Mutex>> = Mutex::new(vec![]); [INFO] [stderr] 34 | | static ref UNFLIPPED: Mutex>> = Mutex::new(vec![]); [INFO] [stderr] 35 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/ext.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | / lazy_static! { [INFO] [stderr] 33 | | static ref SCREEN: Mutex>> = Mutex::new(vec![]); [INFO] [stderr] 34 | | static ref UNFLIPPED: Mutex>> = Mutex::new(vec![]); [INFO] [stderr] 35 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/controls.rs:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | / lazy_static! { [INFO] [stderr] 39 | | pub static ref CONTROLS: Vec> = vec![ [INFO] [stderr] 40 | | Control { [INFO] [stderr] 41 | | modifiers: &[Key::Shift, Key::Ctrl], [INFO] [stderr] ... | [INFO] [stderr] 121 | | ]; [INFO] [stderr] 122 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/block.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / lazy_static! { [INFO] [stderr] 9 | | pub static ref BLOCK_FUNCS: Mutex> [INFO] [stderr] 10 | | = Mutex::new(vec![|_, _| {}]); [INFO] [stderr] 11 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/block.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! { [INFO] [stderr] 61 | | pub static ref GROUND: Block = Block::new( [INFO] [stderr] 62 | | Shape::new('.', (128, 128, 128), (0, 0, 0)), [INFO] [stderr] 63 | | "Ground".into(), [INFO] [stderr] ... | [INFO] [stderr] 131 | | [INFO] [stderr] 132 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/block.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! { [INFO] [stderr] 61 | | pub static ref GROUND: Block = Block::new( [INFO] [stderr] 62 | | Shape::new('.', (128, 128, 128), (0, 0, 0)), [INFO] [stderr] 63 | | "Ground".into(), [INFO] [stderr] ... | [INFO] [stderr] 131 | | [INFO] [stderr] 132 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/block.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! { [INFO] [stderr] 61 | | pub static ref GROUND: Block = Block::new( [INFO] [stderr] 62 | | Shape::new('.', (128, 128, 128), (0, 0, 0)), [INFO] [stderr] 63 | | "Ground".into(), [INFO] [stderr] ... | [INFO] [stderr] 131 | | [INFO] [stderr] 132 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/block.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! { [INFO] [stderr] 61 | | pub static ref GROUND: Block = Block::new( [INFO] [stderr] 62 | | Shape::new('.', (128, 128, 128), (0, 0, 0)), [INFO] [stderr] 63 | | "Ground".into(), [INFO] [stderr] ... | [INFO] [stderr] 131 | | [INFO] [stderr] 132 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/block.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! { [INFO] [stderr] 61 | | pub static ref GROUND: Block = Block::new( [INFO] [stderr] 62 | | Shape::new('.', (128, 128, 128), (0, 0, 0)), [INFO] [stderr] 63 | | "Ground".into(), [INFO] [stderr] ... | [INFO] [stderr] 131 | | [INFO] [stderr] 132 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/crafting.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / lazy_static! { [INFO] [stderr] 11 | | pub static ref RECIPES: Vec = vec![ [INFO] [stderr] 12 | | Recipe { [INFO] [stderr] 13 | | out: InventoryItem::Block(block::MOVER.clone()), [INFO] [stderr] ... | [INFO] [stderr] 49 | | ]; [INFO] [stderr] 50 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::vec::Vec::::remove_item': Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stderr] --> src/entity/police.rs:116:31 [INFO] [stderr] | [INFO] [stderr] 116 | paths.remove_item(&(*pos, path.clone())); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the feature `const_let` has been stable since 1.33.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:1:34 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(vec_remove_item, nll, const_let)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 17 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/soviet_sim-cd8c70867ed112cd [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4397515fd527fc343fb3230bdd35a763f42c18c859978bea7bc27d31798e69b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4397515fd527fc343fb3230bdd35a763f42c18c859978bea7bc27d31798e69b2", kill_on_drop: false }` [INFO] [stdout] 4397515fd527fc343fb3230bdd35a763f42c18c859978bea7bc27d31798e69b2