[INFO] cloning repository https://github.com/dixe/rust-sdf-tool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dixe/rust-sdf-tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdixe%2Frust-sdf-tool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdixe%2Frust-sdf-tool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 729034f68abf67f56de7e57a2d8ee8d22deeb4ea [INFO] testing dixe/rust-sdf-tool against master#1ddedbaa5919b7b3e70d984660e21e844c615c97 for pr-128400 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdixe%2Frust-sdf-tool" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dixe/rust-sdf-tool on toolchain 1ddedbaa5919b7b3e70d984660e21e844c615c97 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dixe/rust-sdf-tool [INFO] finished tweaking git repo https://github.com/dixe/rust-sdf-tool [INFO] tweaked toml for git repo https://github.com/dixe/rust-sdf-tool written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dixe/rust-sdf-tool already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing dixe/rust-sdf-tool against try#33f1d8bb92813a1bfc23c093c9f443ab09290307 for pr-128400 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdixe%2Frust-sdf-tool" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dixe/rust-sdf-tool on toolchain 33f1d8bb92813a1bfc23c093c9f443ab09290307 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dixe/rust-sdf-tool [INFO] finished tweaking git repo https://github.com/dixe/rust-sdf-tool [INFO] tweaked toml for git repo https://github.com/dixe/rust-sdf-tool written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dixe/rust-sdf-tool already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "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 freetype-sys v0.16.0 [INFO] [stderr] Downloaded freetype-rs v0.31.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ceb609f593d467d8583d9707affd505f116aec77d40362f827ba7e5ca4f389a4 [INFO] running `Command { std: "docker" "start" "-a" "ceb609f593d467d8583d9707affd505f116aec77d40362f827ba7e5ca4f389a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ceb609f593d467d8583d9707affd505f116aec77d40362f827ba7e5ca4f389a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ceb609f593d467d8583d9707affd505f116aec77d40362f827ba7e5ca4f389a4", kill_on_drop: false }` [INFO] [stdout] ceb609f593d467d8583d9707affd505f116aec77d40362f827ba7e5ca4f389a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d009988b60e295930bd01bcb2cb251c300d2b7b2e797cb3d341966553b237d7b [INFO] running `Command { std: "docker" "start" "-a" "d009988b60e295930bd01bcb2cb251c300d2b7b2e797cb3d341966553b237d7b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling futures-sink v0.3.24 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling bytemuck v1.12.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling freetype-sys v0.16.0 [INFO] [stderr] Compiling png v0.17.6 [INFO] [stderr] Compiling freetype-rs v0.31.0 [INFO] [stderr] Compiling jpeg-decoder v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling tiff v0.7.3 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling exr v1.5.1 [INFO] [stderr] Compiling image v0.24.3 [INFO] [stderr] Compiling rust-sdf-tool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Write` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/fntfont.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::imageops` [INFO] [stdout] --> src/fntfont.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use image::imageops; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 141 | advance_x: glyph.advance().x >> 6, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | offset_x: g_metrics.horiBearingX >> 6, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | offset_y: g_metrics.horiBearingY >> 6, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:248:43 [INFO] [stdout] | [INFO] [stdout] 248 | let pixel_h = ( max_ascent + i32::abs(max_descent)) as u32; [INFO] [stdout] | -------- ^^^^^^^^^^^ expected `i32`, found `i64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/33f1d8bb92813a1bfc23c093c9f443ab09290307/library/core/src/num/mod.rs:325:5 [INFO] [stdout] = note: this error originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 248 | let pixel_h = ( max_ascent + i32::abs(max_descent.try_into().unwrap())) as u32; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:248:34 [INFO] [stdout] | [INFO] [stdout] 248 | let pixel_h = ( max_ascent + i32::abs(max_descent)) as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `i32` to `i64` [INFO] [stdout] --> src/main.rs:248:32 [INFO] [stdout] | [INFO] [stdout] 248 | let pixel_h = ( max_ascent + i32::abs(max_descent)) as u32; [INFO] [stdout] | ^ no implementation for `i64 + i32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add` is not implemented for `i64` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `&'a i64` implements `Add` [INFO] [stdout] `&i64` implements `Add<&i64>` [INFO] [stdout] `i64` implements `Add<&i64>` [INFO] [stdout] `i64` implements `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:278:38 [INFO] [stdout] | [INFO] [stdout] 278 | let x_offset = (pixel_w as i32 - advance_x) / 2; [INFO] [stdout] | ^^^^^^^^^ expected `i32`, found `i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `i64` from `i32` [INFO] [stdout] --> src/main.rs:278:36 [INFO] [stdout] | [INFO] [stdout] 278 | let x_offset = (pixel_w as i32 - advance_x) / 2; [INFO] [stdout] | ^ no implementation for `i32 - i64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Sub` is not implemented for `i32` [INFO] [stdout] = help: the following other types implement trait `std::ops::Sub`: [INFO] [stdout] `&'a i32` implements `std::ops::Sub` [INFO] [stdout] `&i32` implements `std::ops::Sub<&i32>` [INFO] [stdout] `i32` implements `std::ops::Sub<&i32>` [INFO] [stdout] `i32` implements `std::ops::Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:282:39 [INFO] [stdout] | [INFO] [stdout] 282 | let y_offset = (pixel_h as i32 - bearing_y) /2; [INFO] [stdout] | ^^^^^^^^^ expected `i32`, found `i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `i64` from `i32` [INFO] [stdout] --> src/main.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 282 | let y_offset = (pixel_h as i32 - bearing_y) /2; [INFO] [stdout] | ^ no implementation for `i32 - i64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Sub` is not implemented for `i32` [INFO] [stdout] = help: the following other types implement trait `std::ops::Sub`: [INFO] [stdout] `&'a i32` implements `std::ops::Sub` [INFO] [stdout] `&i32` implements `std::ops::Sub<&i32>` [INFO] [stdout] `i32` implements `std::ops::Sub<&i32>` [INFO] [stdout] `i32` implements `std::ops::Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:287:34 [INFO] [stdout] | [INFO] [stdout] 287 | let baseline_h = (y_offset + bearing_y) as u32; [INFO] [stdout] | ^^^^^^^^^ expected `i32`, found `i64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `i64` to `i32` [INFO] [stdout] --> src/main.rs:287:32 [INFO] [stdout] | [INFO] [stdout] 287 | let baseline_h = (y_offset + bearing_y) as u32; [INFO] [stdout] | ^ no implementation for `i32 + i64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add` is not implemented for `i32` [INFO] [stdout] = help: the following other types implement trait `Add`: [INFO] [stdout] `&'a i32` implements `Add` [INFO] [stdout] `&i32` implements `Add<&i32>` [INFO] [stdout] `i32` implements `Add<&i32>` [INFO] [stdout] `i32` implements `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fntfont.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut out_img = p.image.clone(); [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: unused variable: `h` [INFO] [stdout] --> src/fntfont.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let h = img.height(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fntfont.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let mut page_id = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/fntfont.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | for k in kernings { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fntfont.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | let mut res = format!("kernings count={}\n", kernings.len()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let args = std::env::args(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lineheight` [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let lineheight = face.height() >> 6; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineheight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | let mut res = scaled / 2.0 + 0.5; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-sdf-tool` (bin "rust-sdf-tool") due to 13 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d009988b60e295930bd01bcb2cb251c300d2b7b2e797cb3d341966553b237d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d009988b60e295930bd01bcb2cb251c300d2b7b2e797cb3d341966553b237d7b", kill_on_drop: false }` [INFO] [stdout] d009988b60e295930bd01bcb2cb251c300d2b7b2e797cb3d341966553b237d7b