[INFO] fetching crate term_fb 0.0.1... [INFO] testing term_fb-0.0.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate term_fb 0.0.1 into /workspace/builds/worker-6-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate term_fb 0.0.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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.3) [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spin_sleep v0.3.7 [INFO] [stderr] Downloaded crossbeam v0.6.0 [INFO] [stderr] Downloaded ryu v0.2.8 [INFO] [stderr] Downloaded crossbeam-deque v0.6.3 [INFO] [stderr] Downloaded crossbeam-channel v0.3.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef9a2778bde8b3a57b6a9e9c8db21c92b019f407a6cca93abcdde972e50936a0 [INFO] running `Command { std: "docker" "start" "-a" "ef9a2778bde8b3a57b6a9e9c8db21c92b019f407a6cca93abcdde972e50936a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef9a2778bde8b3a57b6a9e9c8db21c92b019f407a6cca93abcdde972e50936a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef9a2778bde8b3a57b6a9e9c8db21c92b019f407a6cca93abcdde972e50936a0", kill_on_drop: false }` [INFO] [stdout] ef9a2778bde8b3a57b6a9e9c8db21c92b019f407a6cca93abcdde972e50936a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1b0f351b131c899e8a75e2ad1e7890fd4448eac03af8a3751d5b73620d5610b [INFO] running `Command { std: "docker" "start" "-a" "b1b0f351b131c899e8a75e2ad1e7890fd4448eac03af8a3751d5b73620d5610b", kill_on_drop: false }` [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling spin_sleep v0.3.7 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling crossbeam v0.6.0 [INFO] [stderr] Compiling 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: `...` 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] 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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/slice/mod.rs:3726:5 [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] [stderr] error: could not compile `term_fb` (lib) due to 4 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b1b0f351b131c899e8a75e2ad1e7890fd4448eac03af8a3751d5b73620d5610b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1b0f351b131c899e8a75e2ad1e7890fd4448eac03af8a3751d5b73620d5610b", kill_on_drop: false }` [INFO] [stdout] b1b0f351b131c899e8a75e2ad1e7890fd4448eac03af8a3751d5b73620d5610b