[INFO] fetching crate term_fb 0.0.1... [INFO] testing term_fb-0.0.1 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate term_fb 0.0.1 into /workspace/builds/worker-22/source [INFO] validating manifest of crates.io crate term_fb 0.0.1 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-22/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ryu v0.2.8 [INFO] [stderr] Downloaded spin_sleep v0.3.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d206e9ce400ec303eaee4e5d98482a10b800320ee8b306cf91146261471c5214 [INFO] running `Command { std: "docker" "start" "-a" "d206e9ce400ec303eaee4e5d98482a10b800320ee8b306cf91146261471c5214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d206e9ce400ec303eaee4e5d98482a10b800320ee8b306cf91146261471c5214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d206e9ce400ec303eaee4e5d98482a10b800320ee8b306cf91146261471c5214", kill_on_drop: false }` [INFO] [stdout] d206e9ce400ec303eaee4e5d98482a10b800320ee8b306cf91146261471c5214 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a48871902433fbc9faae04cfe028016545d8bbc59b69d60b42cee79c6bfd47d [INFO] running `Command { std: "docker" "start" "-a" "2a48871902433fbc9faae04cfe028016545d8bbc59b69d60b42cee79c6bfd47d", 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] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling spin_sleep v0.3.7 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling lock_api v0.1.5 [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 semver v0.9.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [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 crossbeam-deque v0.6.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling termios v0.3.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: the item `termios` is imported redundantly [INFO] [stdout] --> src/term.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | use termios::{self, Termios}; [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] [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: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] 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] | ^^^^^^^^^^^^^ method not found in `Duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/sim_loop.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | buf.blit_float(1.0/loop_duration.as_float_secs(), 1, fps_xy); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type `{float}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{float}: Float` found in the `ryu` crate: [INFO] [stdout] - impl Float for f32; [INFO] [stdout] - impl Float for f64; [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] [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] [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283, 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` due to 6 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2a48871902433fbc9faae04cfe028016545d8bbc59b69d60b42cee79c6bfd47d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a48871902433fbc9faae04cfe028016545d8bbc59b69d60b42cee79c6bfd47d", kill_on_drop: false }` [INFO] [stdout] 2a48871902433fbc9faae04cfe028016545d8bbc59b69d60b42cee79c6bfd47d