[INFO] cloning repository https://github.com/mark2b/fb2d [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mark2b/fb2d" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmark2b%2Ffb2d", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmark2b%2Ffb2d'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa61032802aa29c138c8e6aaeacd7732c9933691 [INFO] checking mark2b/fb2d against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmark2b%2Ffb2d" "/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/mark2b/fb2d on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mark2b/fb2d [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/mark2b/fb2d [INFO] tweaked toml for git repo https://github.com/mark2b/fb2d written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/mark2b/fb2d already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vergen v0.1.1 [INFO] [stderr] Downloaded ctrlc v3.1.0 [INFO] [stderr] Downloaded memmap v0.5.2 [INFO] [stderr] Downloaded miniz_oxide v0.1.2 [INFO] [stderr] Downloaded miniz_oxide_c_api v0.1.2 [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" "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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 923404133e13f533d09510b0f49800e6ff473709816ecadb610886cc85ab5492 [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" "923404133e13f533d09510b0f49800e6ff473709816ecadb610886cc85ab5492", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "923404133e13f533d09510b0f49800e6ff473709816ecadb610886cc85ab5492", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "923404133e13f533d09510b0f49800e6ff473709816ecadb610886cc85ab5492", kill_on_drop: false }` [INFO] [stdout] 923404133e13f533d09510b0f49800e6ff473709816ecadb610886cc85ab5492 [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" "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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3cae871f3a560d093bc7d4933ceb41b5316491619cff41d6d6a6f123a0f2caa [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" "b3cae871f3a560d093bc7d4933ceb41b5316491619cff41d6d6a6f123a0f2caa", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.39 [INFO] [stderr] Compiling cc v1.0.9 [INFO] [stderr] Checking num-traits v0.2.2 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking either v1.4.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Checking podio v0.1.6 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking transformation-pipeline v0.1.0 [INFO] [stderr] Checking remove_dir_all v0.5.0 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Checking deflate v0.7.17 [INFO] [stderr] Checking stb_truetype v0.2.2 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking xml-rs v0.7.0 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking miniz_oxide v0.1.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking atty v0.2.8 [INFO] [stderr] Checking nix v0.9.0 [INFO] [stderr] Checking memmap v0.5.2 [INFO] [stderr] Checking clap v2.31.2 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num-integer v0.1.36 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking ordered-float v0.5.0 [INFO] [stderr] Checking msdos_time v0.1.5 [INFO] [stderr] Checking rusttype v0.5.2 [INFO] [stderr] Checking num-iter v0.1.35 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Compiling miniz_oxide_c_api v0.1.2 [INFO] [stderr] Compiling bzip2-sys v0.1.6 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Compiling vergen v0.1.1 [INFO] [stderr] Compiling fb2d v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking uuid v0.6.2 [INFO] [stderr] Checking flate2 v1.0.1 [INFO] [stderr] Checking rayon v1.0.1 [INFO] [stderr] Checking bzip2 v0.3.2 [INFO] [stderr] Checking zip v0.2.8 [INFO] [stderr] Checking unzip v0.1.0 [INFO] [stderr] Checking jpeg-decoder v0.1.14 [INFO] [stderr] Checking ctrlc v3.1.0 [INFO] [stderr] Checking image v0.18.0 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/screen_writer.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | impl ScreenWriter {} [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenWriter` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/node.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | sprite: Box>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Sprite<'a>` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | pub writer: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenWriter` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sprite.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> Sprite<'a> {} [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Sprite<'a>` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/screen_writer.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | impl ScreenWriter {} [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenWriter` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/node.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | sprite: Box>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Sprite<'a>` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | pub writer: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn ScreenWriter` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sprite.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> Sprite<'a> {} [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Sprite<'a>` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/texture.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let mut children_keys = key_cell.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | let mut children_keys = key_cell.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | let mut children_keys = key_cell.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | let mut children_keys = key_cell.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | let mut children_keys = key_cell.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene.rs:177:29 [INFO] [stdout] | [INFO] [stdout] 177 | let mut children_keys = key_cell.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/texture.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let mut children_keys = key_cell.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | let mut children_keys = key_cell.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | let mut children_keys = key_cell.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | let mut children_keys = key_cell.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | let mut children_keys = key_cell.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene.rs:177:29 [INFO] [stdout] | [INFO] [stdout] 177 | let mut children_keys = key_cell.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bin/show.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let mut fb = fb2d::screen_writer_for_framebuffer("/dev/fb0")?; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> bin/show.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let mut fb = fb2d::screen_writer_for_framebuffer("/dev/fb0")?; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/simple_sprite.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | sprite2, [INFO] [stdout] | ^^^^^^^ expected struct `TextureSprite`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `TextureSprite` [INFO] [stdout] found enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fb2d` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "b3cae871f3a560d093bc7d4933ceb41b5316491619cff41d6d6a6f123a0f2caa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3cae871f3a560d093bc7d4933ceb41b5316491619cff41d6d6a6f123a0f2caa", kill_on_drop: false }` [INFO] [stdout] b3cae871f3a560d093bc7d4933ceb41b5316491619cff41d6d6a6f123a0f2caa