[INFO] fetching crate handmade 0.1.4... [INFO] testing handmade-0.1.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_0 [INFO] extracting crate handmade 0.1.4 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate handmade 0.1.4 [INFO] finished tweaking crates.io crate handmade 0.1.4 [INFO] tweaked toml for crates.io crate handmade 0.1.4 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate handmade 0.1.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 29 packages to latest compatible versions [INFO] [stderr] Adding image v0.23.14 (available: v0.25.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2904917270f065c0e2ac21ad3d65f9313d4688966ec016fd88fe200fc5911488 [INFO] running `Command { std: "docker" "start" "-a" "2904917270f065c0e2ac21ad3d65f9313d4688966ec016fd88fe200fc5911488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2904917270f065c0e2ac21ad3d65f9313d4688966ec016fd88fe200fc5911488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2904917270f065c0e2ac21ad3d65f9313d4688966ec016fd88fe200fc5911488", kill_on_drop: false }` [INFO] [stdout] 2904917270f065c0e2ac21ad3d65f9313d4688966ec016fd88fe200fc5911488 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7664dc74c9315e11e60eb874601059659fd43961236ab468a75aa1ba133eb7b6 [INFO] running `Command { std: "docker" "start" "-a" "7664dc74c9315e11e60eb874601059659fd43961236ab468a75aa1ba133eb7b6", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling handmade v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/text/letter.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | let img = img.to_rgba(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/text_img.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | let mut img_colorful = img.clone().to_rgba(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_luma`: replaced by `to_luma8` [INFO] [stdout] --> src/text_img.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let mut img_gray = img.to_luma(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/text/mod.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn imgs_map(&self) -> &ImagesMap { [INFO] [stdout] | ^^^^^ ---------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 78 | pub fn imgs_map(&self) -> &ImagesMap<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/text/images_map.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(page_props: &'a PageProps<'a>) -> ImagesMap { [INFO] [stdout] | ^^ ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(page_props: &'a PageProps<'a>) -> ImagesMap<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/text/letter.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | &self.imgs_map.insert_letter(self.raw); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 66 | let _ = &self.imgs_map.insert_letter(self.raw); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/text_img.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | Err(e) => panic!(e), [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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 55 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 55 - Err(e) => panic!(e), [INFO] [stdout] 55 + Err(e) => std::panic::panic_any(e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.51s [INFO] running `Command { std: "docker" "inspect" "7664dc74c9315e11e60eb874601059659fd43961236ab468a75aa1ba133eb7b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7664dc74c9315e11e60eb874601059659fd43961236ab468a75aa1ba133eb7b6", kill_on_drop: false }` [INFO] [stdout] 7664dc74c9315e11e60eb874601059659fd43961236ab468a75aa1ba133eb7b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 16e20f5c53b101e1233a66b516edbc2de2947855a4292df0bfc890a5ba65a092 [INFO] running `Command { std: "docker" "start" "-a" "16e20f5c53b101e1233a66b516edbc2de2947855a4292df0bfc890a5ba65a092", kill_on_drop: false }` [INFO] [stderr] Compiling handmade v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/text/letter.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | let img = img.to_rgba(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/text_img.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | let mut img_colorful = img.clone().to_rgba(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_luma`: replaced by `to_luma8` [INFO] [stdout] --> src/text_img.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let mut img_gray = img.to_luma(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/text/mod.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn imgs_map(&self) -> &ImagesMap { [INFO] [stdout] | ^^^^^ ---------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 78 | pub fn imgs_map(&self) -> &ImagesMap<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/text/images_map.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(page_props: &'a PageProps<'a>) -> ImagesMap { [INFO] [stdout] | ^^ ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(page_props: &'a PageProps<'a>) -> ImagesMap<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/text/letter.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | &self.imgs_map.insert_letter(self.raw); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 66 | let _ = &self.imgs_map.insert_letter(self.raw); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/text_img.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | Err(e) => panic!(e), [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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 55 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 55 - Err(e) => panic!(e), [INFO] [stdout] 55 + Err(e) => std::panic::panic_any(e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/text/letter.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | let img = img.to_rgba(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stdout] --> src/text_img.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | let mut img_colorful = img.clone().to_rgba(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `image::DynamicImage::to_luma`: replaced by `to_luma8` [INFO] [stdout] --> src/text_img.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let mut img_gray = img.to_luma(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/text/mod.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn imgs_map(&self) -> &ImagesMap { [INFO] [stdout] | ^^^^^ ---------- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 78 | pub fn imgs_map(&self) -> &ImagesMap<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/text/images_map.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(page_props: &'a PageProps<'a>) -> ImagesMap { [INFO] [stdout] | ^^ ^^ --------- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(page_props: &'a PageProps<'a>) -> ImagesMap<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/text/letter.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | &self.imgs_map.insert_letter(self.raw); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 66 | let _ = &self.imgs_map.insert_letter(self.raw); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/text_img.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | Err(e) => panic!(e), [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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 55 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 55 - Err(e) => panic!(e), [INFO] [stdout] 55 + Err(e) => std::panic::panic_any(e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "16e20f5c53b101e1233a66b516edbc2de2947855a4292df0bfc890a5ba65a092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16e20f5c53b101e1233a66b516edbc2de2947855a4292df0bfc890a5ba65a092", kill_on_drop: false }` [INFO] [stdout] 16e20f5c53b101e1233a66b516edbc2de2947855a4292df0bfc890a5ba65a092 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 12b165377c94599d55d12c1ae74cc60a7483bc1b85d45ec3e8a22702fe31feaf [INFO] running `Command { std: "docker" "start" "-a" "12b165377c94599d55d12c1ae74cc60a7483bc1b85d45ec3e8a22702fe31feaf", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated method `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stderr] --> src/text/letter.rs:57:23 [INFO] [stderr] | [INFO] [stderr] 57 | let img = img.to_rgba(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `image::DynamicImage::to_rgba`: replaced by `to_rgba8` [INFO] [stderr] --> src/text_img.rs:59:40 [INFO] [stderr] | [INFO] [stderr] 59 | let mut img_colorful = img.clone().to_rgba(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `image::DynamicImage::to_luma`: replaced by `to_luma8` [INFO] [stderr] --> src/text_img.rs:61:28 [INFO] [stderr] | [INFO] [stderr] 61 | let mut img_gray = img.to_luma(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/text/mod.rs:78:21 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn imgs_map(&self) -> &ImagesMap { [INFO] [stderr] | ^^^^^ ---------- [INFO] [stderr] | | || [INFO] [stderr] | | |the lifetimes get resolved as `'_` [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 78 | pub fn imgs_map(&self) -> &ImagesMap<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/text/images_map.rs:15:29 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn new(page_props: &'a PageProps<'a>) -> ImagesMap { [INFO] [stderr] | ^^ ^^ --------- the lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 15 | pub fn new(page_props: &'a PageProps<'a>) -> ImagesMap<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/text/letter.rs:66:17 [INFO] [stderr] | [INFO] [stderr] 66 | &self.imgs_map.insert_letter(self.raw); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 66 | let _ = &self.imgs_map.insert_letter(self.raw); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/text_img.rs:55:26 [INFO] [stderr] | [INFO] [stderr] 55 | Err(e) => panic!(e), [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: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 55 | Err(e) => panic!("{}", e), [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 55 - Err(e) => panic!(e), [INFO] [stderr] 55 + Err(e) => std::panic::panic_any(e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `handmade` (lib) generated 7 warnings (run `cargo fix --lib -p handmade` to apply 3 suggestions) [INFO] [stderr] warning: `handmade` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/handmade-b242c243da87ec15) [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" "12b165377c94599d55d12c1ae74cc60a7483bc1b85d45ec3e8a22702fe31feaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12b165377c94599d55d12c1ae74cc60a7483bc1b85d45ec3e8a22702fe31feaf", kill_on_drop: false }` [INFO] [stdout] 12b165377c94599d55d12c1ae74cc60a7483bc1b85d45ec3e8a22702fe31feaf