[INFO] fetching crate font_metrics 0.0.4... [INFO] testing font_metrics-0.0.4 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate font_metrics 0.0.4 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate font_metrics 0.0.4 [INFO] finished tweaking crates.io crate font_metrics 0.0.4 [INFO] tweaked toml for crates.io crate font_metrics 0.0.4 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate font_metrics 0.0.4 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 93 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.46) [INFO] [stderr] Adding lopdf v0.15.3 (available: v0.38.0) [INFO] [stderr] Adding num-rational v0.1.43 (available: v0.4.2) [INFO] [stderr] Adding pdf-extract v0.4.6 (available: v0.9.0) [INFO] [stderr] Adding rusttype v0.6.5 (available: v0.9.3) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c73043bffb8717fb59886daf582f87f83522ddb4344044b3faa477261cff75e [INFO] running `Command { std: "docker" "start" "-a" "1c73043bffb8717fb59886daf582f87f83522ddb4344044b3faa477261cff75e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c73043bffb8717fb59886daf582f87f83522ddb4344044b3faa477261cff75e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c73043bffb8717fb59886daf582f87f83522ddb4344044b3faa477261cff75e", kill_on_drop: false }` [INFO] [stdout] 1c73043bffb8717fb59886daf582f87f83522ddb4344044b3faa477261cff75e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea807840ceeea5326229af2a7790f8cae7127a33e18e2deea6a1df8b0cdf7340 [INFO] running `Command { std: "docker" "start" "-a" "ea807840ceeea5326229af2a7790f8cae7127a33e18e2deea6a1df8b0cdf7340", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling pom v1.1.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling num v0.1.43 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling chrono v0.3.0 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling type1-encoding-parser v0.1.0 [INFO] [stderr] Compiling adobe-cmap-parser v0.3.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling postscript v0.11.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling rusttype v0.6.5 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling euclid v0.15.6 [INFO] [stderr] Compiling lopdf v0.15.3 [INFO] [stderr] Compiling pdf-extract v0.4.6 [INFO] [stderr] Compiling font_metrics v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> bin/fm-cpp.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | panic!(format!("{:?} is not a file!", font_path)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 85 - panic!(format!("{:?} is not a file!", font_path)); [INFO] [stdout] 85 + panic!("{:?} is not a file!", font_path); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.04s [INFO] running `Command { std: "docker" "inspect" "ea807840ceeea5326229af2a7790f8cae7127a33e18e2deea6a1df8b0cdf7340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea807840ceeea5326229af2a7790f8cae7127a33e18e2deea6a1df8b0cdf7340", kill_on_drop: false }` [INFO] [stdout] ea807840ceeea5326229af2a7790f8cae7127a33e18e2deea6a1df8b0cdf7340 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 185a0408fec1ea09624e150d43568565f89ad6557b7cbf10f3bd249f8e88206e [INFO] running `Command { std: "docker" "start" "-a" "185a0408fec1ea09624e150d43568565f89ad6557b7cbf10f3bd249f8e88206e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling font_metrics v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> bin/fm-cpp.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | panic!(format!("{:?} is not a file!", font_path)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 85 - panic!(format!("{:?} is not a file!", font_path)); [INFO] [stdout] 85 + panic!("{:?} is not a file!", font_path); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "185a0408fec1ea09624e150d43568565f89ad6557b7cbf10f3bd249f8e88206e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "185a0408fec1ea09624e150d43568565f89ad6557b7cbf10f3bd249f8e88206e", kill_on_drop: false }` [INFO] [stdout] 185a0408fec1ea09624e150d43568565f89ad6557b7cbf10f3bd249f8e88206e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 65322dcad99f9a8ff980e2bfbfb71346acf4ac494786aad088c5e01f50947ad6 [INFO] running `Command { std: "docker" "start" "-a" "65322dcad99f9a8ff980e2bfbfb71346acf4ac494786aad088c5e01f50947ad6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> bin/fm-cpp.rs:85:16 [INFO] [stderr] | [INFO] [stderr] 85 | panic!(format!("{:?} is not a file!", font_path)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 85 - panic!(format!("{:?} is not a file!", font_path)); [INFO] [stderr] 85 + panic!("{:?} is not a file!", font_path); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `font_metrics` (bin "fm-cpp" test) generated 1 warning (run `cargo fix --bin "fm-cpp" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/font_metrics-25c07152c4ffa5e7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests bin/fm-cpp.rs (/opt/rustwide/target/debug/deps/fm_cpp-e6dde06b472e09ed) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests bin/fm-density.rs (/opt/rustwide/target/debug/deps/fm_density-5c1cb20ee025502f) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests bin/fm-xheight.rs (/opt/rustwide/target/debug/deps/fm_xheight-5e4fd6527063be2c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests font_metrics [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "65322dcad99f9a8ff980e2bfbfb71346acf4ac494786aad088c5e01f50947ad6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65322dcad99f9a8ff980e2bfbfb71346acf4ac494786aad088c5e01f50947ad6", kill_on_drop: false }` [INFO] [stdout] 65322dcad99f9a8ff980e2bfbfb71346acf4ac494786aad088c5e01f50947ad6