[INFO] fetching crate term_fb 0.0.1... [INFO] testing term_fb-0.0.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate term_fb 0.0.1 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate term_fb 0.0.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termios v0.3.3 [INFO] [stderr] Downloaded crossbeam v0.6.0 [INFO] [stderr] Downloaded ryu v0.2.8 [INFO] [stderr] Downloaded parking_lot v0.7.1 [INFO] [stderr] Downloaded crossbeam-deque v0.6.3 [INFO] [stderr] Downloaded parking_lot_core v0.4.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.7.2 [INFO] [stderr] Downloaded spin_sleep v0.3.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3dd52a29837c046cb312e8f57e272f142c1c0721e725f1e48af80485cf86bcaf [INFO] running `Command { std: "docker" "start" "-a" "3dd52a29837c046cb312e8f57e272f142c1c0721e725f1e48af80485cf86bcaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3dd52a29837c046cb312e8f57e272f142c1c0721e725f1e48af80485cf86bcaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dd52a29837c046cb312e8f57e272f142c1c0721e725f1e48af80485cf86bcaf", kill_on_drop: false }` [INFO] [stdout] 3dd52a29837c046cb312e8f57e272f142c1c0721e725f1e48af80485cf86bcaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63fbcc4c289b6d93829e3ab155d0bdae00d73e69f8d229d38b9e2b86fd453edf [INFO] running `Command { std: "docker" "start" "-a" "63fbcc4c289b6d93829e3ab155d0bdae00d73e69f8d229d38b9e2b86fd453edf", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling spin_sleep v0.3.7 [INFO] [stderr] Compiling parking_lot v0.7.1 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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/caccb4d0368bd918ef6668af8e13834d07040417/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/caccb4d0368bd918ef6668af8e13834d07040417/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/caccb4d0368bd918ef6668af8e13834d07040417/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)]` (part of `#[warn(unused)]`) 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" "63fbcc4c289b6d93829e3ab155d0bdae00d73e69f8d229d38b9e2b86fd453edf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63fbcc4c289b6d93829e3ab155d0bdae00d73e69f8d229d38b9e2b86fd453edf", kill_on_drop: false }` [INFO] [stdout] 63fbcc4c289b6d93829e3ab155d0bdae00d73e69f8d229d38b9e2b86fd453edf