[INFO] cloning repository https://github.com/dagit/rust_tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dagit/rust_tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdagit%2Frust_tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdagit%2Frust_tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f89c6e65d41984729ec8dda8ed2d91d527df4992 [INFO] checking dagit/rust_tutorial against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdagit%2Frust_tutorial" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dagit/rust_tutorial on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dagit/rust_tutorial [INFO] finished tweaking git repo https://github.com/dagit/rust_tutorial [INFO] tweaked toml for git repo https://github.com/dagit/rust_tutorial written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/dagit/rust_tutorial already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/tomassedovic/tcod-rs.git` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/tomassedovic/tcod-rs.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73a5b5adef0c4dc777b18f7cf84197c8ee4ba67c656d6186f3c459f9032a733a [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" "73a5b5adef0c4dc777b18f7cf84197c8ee4ba67c656d6186f3c459f9032a733a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73a5b5adef0c4dc777b18f7cf84197c8ee4ba67c656d6186f3c459f9032a733a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73a5b5adef0c4dc777b18f7cf84197c8ee4ba67c656d6186f3c459f9032a733a", kill_on_drop: false }` [INFO] [stdout] 73a5b5adef0c4dc777b18f7cf84197c8ee4ba67c656d6186f3c459f9032a733a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--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] debe5d6b32962986f626a02d9b2ecef9e4c7f9feb02b41499312d1bbc5991a8d [INFO] running `Command { std: "docker" "start" "-a" "debe5d6b32962986f626a02d9b2ecef9e4c7f9feb02b41499312d1bbc5991a8d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling tcod-sys v5.0.1 (https://github.com/tomassedovic/tcod-rs.git#d4ad0749) [INFO] [stderr] Checking tcod v0.15.0 (https://github.com/tomassedovic/tcod-rs.git#d4ad0749) [INFO] [stderr] Checking rl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `self::tcod::input::KeyState` [INFO] [stdout] --> src/game.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use self::tcod::input::KeyState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `KeyState` in `input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::tcod::input::KeyState` [INFO] [stdout] --> src/rendering.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use self::tcod::input::KeyState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `KeyState` in `input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::tcod::input::KeyState` [INFO] [stdout] --> src/movement.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use self::tcod::input::KeyState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `KeyState` in `input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::tcod::input::Key` [INFO] [stdout] --> src/movement.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use self::tcod::input::Key::Special; [INFO] [stdout] | ^^^ `Key` is a struct, not a module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | pub rendering_component: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderingComponent + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | fn render(&self, &RenderingComponent); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderingComponent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | pub type Updatable<'a> = Box>; [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Updates + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | Box::new(RefCell::new(t)) as Box> [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Updates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/character.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | pub movement_component: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MovementComponent + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/character.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(x: i32, y: i32, dc: char, mc: Box) -> Character<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MovementComponent + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/character.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn render(&self, rendering_component: &RenderingComponent){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderingComponent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/npc.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | pub movement_component: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MovementComponent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/npc.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(x: i32, y: i32, dc: char, mc: Box) -> NPC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MovementComponent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/npc.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | fn render(&self, rendering_component: &RenderingComponent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderingComponent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/movement.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | pub get_last_keypress: &'a Fn() -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/movement.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn new(bounds: Bound, glk: &'a Fn() -> Option) -> TcodMovementComponent<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::tcod::input::KeyState` [INFO] [stdout] --> src/game.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use self::tcod::input::KeyState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `KeyState` in `input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::tcod::input::KeyState` [INFO] [stdout] --> src/rendering.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use self::tcod::input::KeyState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `KeyState` in `input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::tcod::input::KeyState` [INFO] [stdout] --> src/movement.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use self::tcod::input::KeyState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `KeyState` in `input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::tcod::input::Key` [INFO] [stdout] --> src/movement.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use self::tcod::input::Key::Special; [INFO] [stdout] | ^^^ `Key` is a struct, not a module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | pub rendering_component: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderingComponent + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | fn render(&self, &RenderingComponent); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderingComponent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | pub type Updatable<'a> = Box>; [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Updates + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | Box::new(RefCell::new(t)) as Box> [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Updates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/character.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | pub movement_component: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MovementComponent + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/character.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(x: i32, y: i32, dc: char, mc: Box) -> Character<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MovementComponent + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/character.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn render(&self, rendering_component: &RenderingComponent){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderingComponent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/npc.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | pub movement_component: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MovementComponent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/npc.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(x: i32, y: i32, dc: char, mc: Box) -> NPC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MovementComponent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/npc.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | fn render(&self, rendering_component: &RenderingComponent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderingComponent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/movement.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | pub get_last_keypress: &'a Fn() -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/movement.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn new(bounds: Bound, glk: &'a Fn() -> Option) -> TcodMovementComponent<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/game.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | last_keypress: RefCell::new(None) [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/game.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | last_keypress: RefCell::new(None) [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Updates` [INFO] [stdout] --> src/game.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use traits::{Updates, Updatable}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Updates` [INFO] [stdout] --> src/game.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use traits::{Updates, Updatable}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rl` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "debe5d6b32962986f626a02d9b2ecef9e4c7f9feb02b41499312d1bbc5991a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "debe5d6b32962986f626a02d9b2ecef9e4c7f9feb02b41499312d1bbc5991a8d", kill_on_drop: false }` [INFO] [stdout] debe5d6b32962986f626a02d9b2ecef9e4c7f9feb02b41499312d1bbc5991a8d