[INFO] cloning repository https://github.com/camhux/burn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/camhux/burn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcamhux%2Fburn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcamhux%2Fburn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c036de0baffd7fd13891018fc6ba9a7904058fc [INFO] checking camhux/burn against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcamhux%2Fburn" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/camhux/burn on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/camhux/burn [INFO] finished tweaking git repo https://github.com/camhux/burn [INFO] tweaked toml for git repo https://github.com/camhux/burn written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/camhux/burn already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1422c7cf211b1f67038afda27a2ec3e79d9e54674f0243fd9c86d119c3683478 [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" "1422c7cf211b1f67038afda27a2ec3e79d9e54674f0243fd9c86d119c3683478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1422c7cf211b1f67038afda27a2ec3e79d9e54674f0243fd9c86d119c3683478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1422c7cf211b1f67038afda27a2ec3e79d9e54674f0243fd9c86d119c3683478", kill_on_drop: false }` [INFO] [stdout] 1422c7cf211b1f67038afda27a2ec3e79d9e54674f0243fd9c86d119c3683478 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81deb76dd3818ae917a52e42bd151f7073b89aeef44291619787930f04673a2e [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" "81deb76dd3818ae917a52e42bd151f7073b89aeef44291619787930f04673a2e", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.34 [INFO] [stderr] Checking rand v0.3.18 [INFO] [stderr] Checking termion v1.5.1 [INFO] [stderr] Checking burn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `termion::raw::IntoRawMode` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use termion::raw::IntoRawMode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `state::FireState` [INFO] [stdout] --> src/layers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use state::FireState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `termion::raw::IntoRawMode` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use termion::raw::IntoRawMode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `state::FireState` [INFO] [stdout] --> src/layers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use state::FireState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layers.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn composite(&self, layers: &[&Layerable]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Layerable` [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/layers.rs:78:53 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn intermediate_composite(&self, layers: &[&Layerable]) -> IntermediateLayer { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Layerable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SmokeLayer` [INFO] [stdout] --> src/state/mod.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | use self::smoke_state::{SmokeState, SmokeLayer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layerable` [INFO] [stdout] --> src/main.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | use layers::{BasicLayer, Compositor, Layerable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FireLayer`, `FireState` [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use state::{FireState, FireLayer}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layers.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn composite(&self, layers: &[&Layerable]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Layerable` [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/layers.rs:78:53 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn intermediate_composite(&self, layers: &[&Layerable]) -> IntermediateLayer { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Layerable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SmokeLayer` [INFO] [stdout] --> src/state/mod.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | use self::smoke_state::{SmokeState, SmokeLayer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layerable` [INFO] [stdout] --> src/main.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | use layers::{BasicLayer, Compositor, Layerable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FireLayer`, `FireState` [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use state::{FireState, FireLayer}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | println!("{}", error.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | println!("{}", error.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `row` [INFO] [stdout] --> src/state/fire_state.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | row: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `col` [INFO] [stdout] --> src/state/fire_state.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | col: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fire_in_neighborhood` [INFO] [stdout] --> src/state/fire_state.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | fn fire_in_neighborhood(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_can_unlink_file` [INFO] [stdout] --> src/main.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn check_can_unlink_file(file: fs::File) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/state/fire_state.rs:71:56 [INFO] [stdout] | [INFO] [stdout] 71 | ..., self.bottom, self.left].into_iter().filter(|&&cell| if let FireCell::Lit {..} = cell { true } else { false }).count() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'array_map' [INFO] [stdout] --> src/layers.rs:116:24 [INFO] [stdout] | [INFO] [stdout] 116 | b"bonjour".map(|&x| Some(x)).collect(), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #75243 for more information [INFO] [stdout] = help: add `#![feature(array_map)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layers.rs:116:29 [INFO] [stdout] | [INFO] [stdout] 116 | b"bonjour".map(|&x| Some(x)).collect(), [INFO] [stdout] | ^-- [INFO] [stdout] | || [INFO] [stdout] | |expected due to this [INFO] [stdout] | expected `u8`, found reference [INFO] [stdout] | help: did you mean `x`: `&u8` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `collect` found for array `[Option<_>; 7]` in the current scope [INFO] [stdout] --> src/layers.rs:116:42 [INFO] [stdout] | [INFO] [stdout] 116 | b"bonjour".map(|&x| Some(x)).collect(), [INFO] [stdout] | ^^^^^^^ method not found in `[Option<_>; 7]` [INFO] [stdout] | [INFO] [stdout] = note: the method `collect` exists but the following trait bounds were not satisfied: [INFO] [stdout] `[Option<_>; 7]: Iterator` [INFO] [stdout] which is required by `&mut [Option<_>; 7]: Iterator` [INFO] [stdout] `[Option<_>]: Iterator` [INFO] [stdout] which is required by `&mut [Option<_>]: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'array_map' [INFO] [stdout] --> src/layers.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | b"allo".map(|&x| Some(x)).collect(), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #75243 for more information [INFO] [stdout] = help: add `#![feature(array_map)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layers.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 117 | b"allo".map(|&x| Some(x)).collect(), [INFO] [stdout] | ^-- [INFO] [stdout] | || [INFO] [stdout] | |expected due to this [INFO] [stdout] | expected `u8`, found reference [INFO] [stdout] | help: did you mean `x`: `&u8` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found reference `&_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `collect` found for array `[Option<_>; 4]` in the current scope [INFO] [stdout] --> src/layers.rs:117:39 [INFO] [stdout] | [INFO] [stdout] 117 | b"allo".map(|&x| Some(x)).collect(), [INFO] [stdout] | ^^^^^^^ method not found in `[Option<_>; 4]` [INFO] [stdout] | [INFO] [stdout] = note: the method `collect` exists but the following trait bounds were not satisfied: [INFO] [stdout] `[Option<_>; 4]: Iterator` [INFO] [stdout] which is required by `&mut [Option<_>; 4]: Iterator` [INFO] [stdout] `[Option<_>]: Iterator` [INFO] [stdout] which is required by `&mut [Option<_>]: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layers.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | features, [INFO] [stdout] | ^^^^^^^^ expected struct `String`, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec>>` [INFO] [stdout] found struct `Vec>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layers.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | assert_eq!(layer.get(0, 2), Some(b'n')); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `String`, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Option` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layers.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | assert_eq!(layer.get(1, 0), Some(b'a')); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `String`, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Option` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/state/fire_state.rs:220:90 [INFO] [stdout] | [INFO] [stdout] 220 | let fire_cell_count = last_row.into_iter().fold(0, |acc, &mut cell| match cell { Some(_) => acc + 1, None => acc }); [INFO] [stdout] | ---- ^^^^^^^ expected enum `FireCell`, found enum `Option` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `FireCell` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `FireCell` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/state/fire_state.rs:220:110 [INFO] [stdout] | [INFO] [stdout] 220 | let fire_cell_count = last_row.into_iter().fold(0, |acc, &mut cell| match cell { Some(_) => acc + 1, None => acc }); [INFO] [stdout] | ---- ^^^^ expected enum `FireCell`, found enum `Option` [INFO] [stdout] | | [INFO] [stdout] | this expression has type `FireCell` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `FireCell` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `burn` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "81deb76dd3818ae917a52e42bd151f7073b89aeef44291619787930f04673a2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81deb76dd3818ae917a52e42bd151f7073b89aeef44291619787930f04673a2e", kill_on_drop: false }` [INFO] [stdout] 81deb76dd3818ae917a52e42bd151f7073b89aeef44291619787930f04673a2e