[INFO] fetching crate unifont 0.1.0... [INFO] checking unifont-0.1.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate unifont 0.1.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate unifont 0.1.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate unifont 0.1.0 [INFO] finished tweaking crates.io crate unifont 0.1.0 [INFO] tweaked toml for crates.io crate unifont 0.1.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff1a1bfd02bd77baee4e8345bfdf4b11950899fe17ba81957e2e0d08594a232b [INFO] running `Command { std: "docker" "start" "-a" "ff1a1bfd02bd77baee4e8345bfdf4b11950899fe17ba81957e2e0d08594a232b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff1a1bfd02bd77baee4e8345bfdf4b11950899fe17ba81957e2e0d08594a232b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff1a1bfd02bd77baee4e8345bfdf4b11950899fe17ba81957e2e0d08594a232b", kill_on_drop: false }` [INFO] [stdout] ff1a1bfd02bd77baee4e8345bfdf4b11950899fe17ba81957e2e0d08594a232b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb944664aaf8a118873eb3e714534a44f3f143029057d4757275b35bca646592 [INFO] running `Command { std: "docker" "start" "-a" "cb944664aaf8a118873eb3e714534a44f3f143029057d4757275b35bca646592", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unifont v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> build.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | writeln!(output_file, "static CODE_POINT_RANGES: [(usize, usize); {}] = [", ranges.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> build.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | writeln!(output_file, " ({}, {}),", start, end); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> build.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | writeln!(output_file, "];"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> build.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | writeln!(output_file, "static GLYPH_TABLE: [Glyph; {}] = [", glyph_map.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> build.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | writeln!(output_file, " Glyph::HalfWidth([{}]),", u8s.join(", ")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> build.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | writeln!(output_file, " Glyph::FullWidth([{}]),", u16s.join(", ")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> build.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | writeln!(output_file, "ERROR: invalid glyph data: {}", data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> build.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | writeln!(output_file, "];"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/unifont.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn enumerate_glyphs() -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/unifont.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn enumerate_glyphs() -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GLYPH_A` [INFO] [stdout] --> src/testutil.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / pub const GLYPH_A: Glyph = Glyph::HalfWidth([ [INFO] [stdout] 6 | | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3C, 0x42, [INFO] [stdout] 7 | | 0x02, 0x3E, 0x42, 0x42, 0x46, 0x3A, 0x00, 0x00, [INFO] [stdout] 8 | | ]); [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GLYPH_A_SHAPE` [INFO] [stdout] --> src/testutil.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / pub const GLYPH_A_SHAPE: [&str; 16] = [ [INFO] [stdout] 11 | | "--------", [INFO] [stdout] 12 | | "--------", [INFO] [stdout] 13 | | "--------", [INFO] [stdout] ... | [INFO] [stdout] 26 | | "--------", [INFO] [stdout] 27 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GLYPH_JI` [INFO] [stdout] --> src/testutil.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / pub const GLYPH_JI: Glyph = Glyph::FullWidth([ [INFO] [stdout] 30 | | 0x0200, 0x0100, 0x7FFE, 0x4002, 0x8004, 0x1FE0, 0x0040, 0x0080, [INFO] [stdout] 31 | | 0x0100, 0xFFFE, 0x0100, 0x0100, 0x0100, 0x0100, 0x0500, 0x0200, [INFO] [stdout] 32 | | ]); [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GLYPH_JI_SHAPE` [INFO] [stdout] --> src/testutil.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub const GLYPH_JI_SHAPE: [&str; 16] = [ [INFO] [stdout] 35 | | "------#---------", [INFO] [stdout] 36 | | "-------#--------", [INFO] [stdout] 37 | | "-##############-", [INFO] [stdout] ... | [INFO] [stdout] 50 | | "------#---------", [INFO] [stdout] 51 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `render` [INFO] [stdout] --> src/testutil.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn render(glyph: &Glyph) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `vec_of_strings` [INFO] [stdout] --> src/testutil.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn vec_of_strings(s: [&str; 16]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `vec_of_strings` [INFO] [stdout] --> src/testutil.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn vec_of_strings(s: [&str; 16]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.80s [INFO] running `Command { std: "docker" "inspect" "cb944664aaf8a118873eb3e714534a44f3f143029057d4757275b35bca646592", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb944664aaf8a118873eb3e714534a44f3f143029057d4757275b35bca646592", kill_on_drop: false }` [INFO] [stdout] cb944664aaf8a118873eb3e714534a44f3f143029057d4757275b35bca646592