[INFO] cloning repository https://github.com/littlecastrum/carakistan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/littlecastrum/carakistan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flittlecastrum%2Fcarakistan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flittlecastrum%2Fcarakistan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c906cde38939f62c7f6d5ab994c39b4ee9214ac5 [INFO] checking littlecastrum/carakistan against master#0599f3403366d9c57f0625e6de3af214b5042a90 for pr-87710 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flittlecastrum%2Fcarakistan" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/littlecastrum/carakistan on toolchain 0599f3403366d9c57f0625e6de3af214b5042a90 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0599f3403366d9c57f0625e6de3af214b5042a90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/littlecastrum/carakistan [INFO] finished tweaking git repo https://github.com/littlecastrum/carakistan [INFO] tweaked toml for git repo https://github.com/littlecastrum/carakistan written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/littlecastrum/carakistan already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0599f3403366d9c57f0625e6de3af214b5042a90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+0599f3403366d9c57f0625e6de3af214b5042a90" "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] d05163dd5698ba6498049abbec8f7922a5bd700e7fa83f2ba3244d64644e5899 [INFO] running `Command { std: "docker" "start" "-a" "d05163dd5698ba6498049abbec8f7922a5bd700e7fa83f2ba3244d64644e5899", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d05163dd5698ba6498049abbec8f7922a5bd700e7fa83f2ba3244d64644e5899", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d05163dd5698ba6498049abbec8f7922a5bd700e7fa83f2ba3244d64644e5899", kill_on_drop: false }` [INFO] [stdout] d05163dd5698ba6498049abbec8f7922a5bd700e7fa83f2ba3244d64644e5899 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+0599f3403366d9c57f0625e6de3af214b5042a90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e94a012481744a16750cff3c00f6b0ddbd0822fb5385919050513e642e724fe [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" "4e94a012481744a16750cff3c00f6b0ddbd0822fb5385919050513e642e724fe", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Compiling tcod-sys v5.0.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking tcod v0.14.0 [INFO] [stderr] Checking carakistan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub render: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RendererComponent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/character/mod.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | pub movement_component: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MovementComponent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/character/mod.rs:13:50 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(x: i32, y: i32, dc: char, mc: Box) -> Character { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MovementComponent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/character/mod.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn render(&self, console: &mut Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RendererComponent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/character/mod.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let mc : Box = Box::new(RandomMovementComponent::new(window)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MovementComponent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/character/mod.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let mc : Box = Box::new(RandomMovementComponent::new(window)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MovementComponent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/character/mod.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | let mc : Box = Box::new(RandomMovementComponent::new(window)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MovementComponent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/character/mod.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | let mc : Box = Box::new(PlayerMovementComponent::new(window)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MovementComponent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub render: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RendererComponent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/character/mod.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | pub movement_component: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MovementComponent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/character/mod.rs:13:50 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(x: i32, y: i32, dc: char, mc: Box) -> Character { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MovementComponent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/character/mod.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn render(&self, console: &mut Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RendererComponent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/character/mod.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let mc : Box = Box::new(RandomMovementComponent::new(window)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MovementComponent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/character/mod.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let mc : Box = Box::new(RandomMovementComponent::new(window)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MovementComponent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/character/mod.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | let mc : Box = Box::new(RandomMovementComponent::new(window)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MovementComponent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/character/mod.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | let mc : Box = Box::new(PlayerMovementComponent::new(window)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MovementComponent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/character/mod.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | let player = Character::new(40, 25, '@'); [INFO] [stdout] | ^^^^^^^^^^^^^^ -- -- --- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/character/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(x: i32, y: i32, dc: char, mc: Box) -> Character { [INFO] [stdout] | ^^^ ------ ------ -------- -------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `carakistan` due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4e94a012481744a16750cff3c00f6b0ddbd0822fb5385919050513e642e724fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e94a012481744a16750cff3c00f6b0ddbd0822fb5385919050513e642e724fe", kill_on_drop: false }` [INFO] [stdout] 4e94a012481744a16750cff3c00f6b0ddbd0822fb5385919050513e642e724fe