[INFO] fetching crate term_fb 0.0.1... [INFO] checking term_fb-0.0.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate term_fb 0.0.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate term_fb 0.0.1 [INFO] finished tweaking crates.io crate term_fb 0.0.1 [INFO] tweaked toml for crates.io crate term_fb 0.0.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate term_fb 0.0.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 49 packages to latest compatible versions [INFO] [stderr] Adding crossbeam v0.6.0 (available: v0.8.4) [INFO] [stderr] Adding itoa v0.4.8 (available: v1.0.15) [INFO] [stderr] Adding ryu v0.2.8 (available: v1.0.20) [INFO] [stderr] Adding spin_sleep v0.3.7 (available: v1.3.2) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2033cc6dc40dc1cefd79e5c551ac0c5cd8fe57990218f32fc66dd04070617a7 [INFO] running `Command { std: "docker" "start" "-a" "d2033cc6dc40dc1cefd79e5c551ac0c5cd8fe57990218f32fc66dd04070617a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2033cc6dc40dc1cefd79e5c551ac0c5cd8fe57990218f32fc66dd04070617a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2033cc6dc40dc1cefd79e5c551ac0c5cd8fe57990218f32fc66dd04070617a7", kill_on_drop: false }` [INFO] [stdout] d2033cc6dc40dc1cefd79e5c551ac0c5cd8fe57990218f32fc66dd04070617a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c1371d2bb5f9899b694a55ba249847a650aba3c72b1997ee3e662402891bfc6 [INFO] running `Command { std: "docker" "start" "-a" "5c1371d2bb5f9899b694a55ba249847a650aba3c72b1997ee3e662402891bfc6", kill_on_drop: false }` [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking spin_sleep v0.3.7 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking crossbeam v0.6.0 [INFO] [stderr] Checking term_fb v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/buf.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/buf.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/input_parser.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | ch @ ' ' ... '~' => InputKey::AsciiPrintable(ch), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/input_parser.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | ch @ '\x00' ... '\x1f' => InputKey::AsciiControl(std::char::from_u32((ch as u32) + 0x40).expect("Always succeeds.")), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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: `...` range patterns are deprecated [INFO] [stdout] --> src/input_parser.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | ch @ ' ' ... '~' => InputKey::AsciiPrintable(ch), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/input_parser.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | ch @ '\x00' ... '\x1f' => InputKey::AsciiControl(std::char::from_u32((ch as u32) + 0x40).expect("Always succeeds.")), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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: the feature `duration_float` has been stable since 1.38.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(duration_float)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `range_contains` has been stable since 1.35.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(range_contains)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `duration_float` has been stable since 1.38.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(duration_float)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `range_contains` has been stable since 1.35.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(range_contains)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_float_secs` found for struct `Duration` in the current scope [INFO] [stdout] --> src/sim_loop.rs:34:50 [INFO] [stdout] | [INFO] [stdout] 34 | buf.blit_float(1.0/loop_duration.as_float_secs(), 1, fps_xy); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_secs` with a similar name [INFO] [stdout] | [INFO] [stdout] 34 - buf.blit_float(1.0/loop_duration.as_float_secs(), 1, fps_xy); [INFO] [stdout] 34 + buf.blit_float(1.0/loop_duration.as_secs(), 1, fps_xy); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_float_secs` found for struct `Duration` in the current scope [INFO] [stdout] --> src/sim_loop.rs:34:50 [INFO] [stdout] | [INFO] [stdout] 34 | buf.blit_float(1.0/loop_duration.as_float_secs(), 1, fps_xy); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_secs` with a similar name [INFO] [stdout] | [INFO] [stdout] 34 - buf.blit_float(1.0/loop_duration.as_float_secs(), 1, fps_xy); [INFO] [stdout] 34 + buf.blit_float(1.0/loop_duration.as_secs(), 1, fps_xy); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut()` closure, found `Chars<'_>` [INFO] [stdout] --> src/buf.rs:156:54 [INFO] [stdout] | [INFO] [stdout] 156 | self.store[start_index..end_index].fill_with(text.chars()); [INFO] [stdout] | --------- ^^^^^^^^^^^^ expected an `FnMut()` closure, found `Chars<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnMut()` is not implemented for `Chars<'_>` [INFO] [stdout] = note: wrap the `Chars<'_>` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `core::slice::::fill_with` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/slice/mod.rs:3726:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut()` closure, found `Chars<'_>` [INFO] [stdout] --> src/buf.rs:156:54 [INFO] [stdout] | [INFO] [stdout] 156 | self.store[start_index..end_index].fill_with(text.chars()); [INFO] [stdout] | --------- ^^^^^^^^^^^^ expected an `FnMut()` closure, found `Chars<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnMut()` is not implemented for `Chars<'_>` [INFO] [stdout] = note: wrap the `Chars<'_>` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `core::slice::::fill_with` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/slice/mod.rs:3726:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut()` closure, found `Chars<'_>` [INFO] [stdout] --> src/buf.rs:168:54 [INFO] [stdout] | [INFO] [stdout] 168 | self.store[start_index..end_index].fill_with(text.chars()); [INFO] [stdout] | --------- ^^^^^^^^^^^^ expected an `FnMut()` closure, found `Chars<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnMut()` is not implemented for `Chars<'_>` [INFO] [stdout] = note: wrap the `Chars<'_>` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `core::slice::::fill_with` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/slice/mod.rs:3726:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut()` closure, found `Chars<'_>` [INFO] [stdout] --> src/buf.rs:168:54 [INFO] [stdout] | [INFO] [stdout] 168 | self.store[start_index..end_index].fill_with(text.chars()); [INFO] [stdout] | --------- ^^^^^^^^^^^^ expected an `FnMut()` closure, found `Chars<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnMut()` is not implemented for `Chars<'_>` [INFO] [stdout] = note: wrap the `Chars<'_>` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `core::slice::::fill_with` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/slice/mod.rs:3726:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut()` closure, found `Chars<'_>` [INFO] [stdout] --> src/buf.rs:183:54 [INFO] [stdout] | [INFO] [stdout] 183 | self.store[start_index..end_index].fill_with(text.chars()); [INFO] [stdout] | --------- ^^^^^^^^^^^^ expected an `FnMut()` closure, found `Chars<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnMut()` is not implemented for `Chars<'_>` [INFO] [stdout] = note: wrap the `Chars<'_>` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `core::slice::::fill_with` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/slice/mod.rs:3726:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut()` closure, found `Chars<'_>` [INFO] [stdout] --> src/buf.rs:183:54 [INFO] [stdout] | [INFO] [stdout] 183 | self.store[start_index..end_index].fill_with(text.chars()); [INFO] [stdout] | --------- ^^^^^^^^^^^^ expected an `FnMut()` closure, found `Chars<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnMut()` is not implemented for `Chars<'_>` [INFO] [stdout] = note: wrap the `Chars<'_>` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `core::slice::::fill_with` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/slice/mod.rs:3726:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/buf.rs:206:16 [INFO] [stdout] | [INFO] [stdout] 206 | store: Vec::from("test".as_bytes()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec`, found `Vec` [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/buf.rs:219:16 [INFO] [stdout] | [INFO] [stdout] 219 | store: Vec::from("test1test2".as_bytes()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec`, found `Vec` [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/buf.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 232 | store: Vec::from("test1t2 test3".as_bytes()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec`, found `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/buf.rs:105:50 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn blit_line(&mut self, character: char, mut start: Coord, mut end: Coord) { [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/buf.rs:105:68 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn blit_line(&mut self, character: char, mut start: Coord, mut end: Coord) { [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/buf.rs:105:50 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn blit_line(&mut self, character: char, mut start: Coord, mut end: Coord) { [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/buf.rs:105:68 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn blit_line(&mut self, character: char, mut start: Coord, mut end: Coord) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `term_fb` (lib test) due to 7 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `term_fb` (lib) due to 4 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5c1371d2bb5f9899b694a55ba249847a650aba3c72b1997ee3e662402891bfc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c1371d2bb5f9899b694a55ba249847a650aba3c72b1997ee3e662402891bfc6", kill_on_drop: false }` [INFO] [stdout] 5c1371d2bb5f9899b694a55ba249847a650aba3c72b1997ee3e662402891bfc6