[INFO] fetching crate term_fb 0.0.1... [INFO] testing term_fb-0.0.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate term_fb 0.0.1 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate term_fb 0.0.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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.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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spin_sleep v0.3.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66c23443b9f2fa28cd2fc21a20dbf2a4f905cf78824a5cc170493e324250cef8 [INFO] running `Command { std: "docker" "start" "-a" "66c23443b9f2fa28cd2fc21a20dbf2a4f905cf78824a5cc170493e324250cef8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66c23443b9f2fa28cd2fc21a20dbf2a4f905cf78824a5cc170493e324250cef8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66c23443b9f2fa28cd2fc21a20dbf2a4f905cf78824a5cc170493e324250cef8", kill_on_drop: false }` [INFO] [stdout] 66c23443b9f2fa28cd2fc21a20dbf2a4f905cf78824a5cc170493e324250cef8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fc9e1861edf472299201eebb1bfcf37676023f396bfc7a13055e0b7928b1278 [INFO] running `Command { std: "docker" "start" "-a" "7fc9e1861edf472299201eebb1bfcf37676023f396bfc7a13055e0b7928b1278", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling spin_sleep v0.3.7 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling termios v0.3.3 [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 itoa v0.4.8 [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 semver v0.9.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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" "7fc9e1861edf472299201eebb1bfcf37676023f396bfc7a13055e0b7928b1278", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fc9e1861edf472299201eebb1bfcf37676023f396bfc7a13055e0b7928b1278", kill_on_drop: false }` [INFO] [stdout] 7fc9e1861edf472299201eebb1bfcf37676023f396bfc7a13055e0b7928b1278