[INFO] cloning repository https://github.com/lesguillemets/effective-fortnight [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lesguillemets/effective-fortnight" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flesguillemets%2Feffective-fortnight", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flesguillemets%2Feffective-fortnight'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2cd88ee8005042e87ea682c8dac2e5b183c94de [INFO] testing lesguillemets/effective-fortnight against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flesguillemets%2Feffective-fortnight" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lesguillemets/effective-fortnight [INFO] finished tweaking git repo https://github.com/lesguillemets/effective-fortnight [INFO] tweaked toml for git repo https://github.com/lesguillemets/effective-fortnight written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lesguillemets/effective-fortnight on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lesguillemets/effective-fortnight 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded adler32 v1.0.0 [INFO] [stderr] Downloaded num-traits v0.1.37 [INFO] [stderr] Downloaded num-integer v0.1.34 [INFO] [stderr] Downloaded byteorder v1.0.0 [INFO] [stderr] Downloaded num-rational v0.1.36 [INFO] [stderr] Downloaded num-iter v0.1.33 [INFO] [stderr] Downloaded num_cpus v1.3.0 [INFO] [stderr] Downloaded rayon-core v1.0.0 [INFO] [stderr] Downloaded gif v0.9.1 [INFO] [stderr] Downloaded jpeg-decoder v0.1.12 [INFO] [stderr] Downloaded deque v0.3.1 [INFO] [stderr] Downloaded rayon v0.7.0 [INFO] [stderr] Downloaded image v0.12.3 [INFO] [stderr] Downloaded libc v0.2.21 [INFO] [stderr] Downloaded scoped_threadpool v0.1.7 [INFO] [stderr] Downloaded lazy_static v0.2.8 [INFO] [stderr] Downloaded deflate v0.7.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a5bf2234ef258e0c3edf12a26a516b35250359cbb45541da5e5f818c0c43da5 [INFO] running `Command { std: "docker" "start" "-a" "9a5bf2234ef258e0c3edf12a26a516b35250359cbb45541da5e5f818c0c43da5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a5bf2234ef258e0c3edf12a26a516b35250359cbb45541da5e5f818c0c43da5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a5bf2234ef258e0c3edf12a26a516b35250359cbb45541da5e5f818c0c43da5", kill_on_drop: false }` [INFO] [stdout] 9a5bf2234ef258e0c3edf12a26a516b35250359cbb45541da5e5f818c0c43da5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9152ecb897ac18db8618c67e14b0ee76dac9787f11f6b1530df72500bd26239 [INFO] running `Command { std: "docker" "start" "-a" "c9152ecb897ac18db8618c67e14b0ee76dac9787f11f6b1530df72500bd26239", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling rayon-core v1.0.0 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling adler32 v1.0.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling deflate v0.7.6 [INFO] [stderr] Compiling scoped_threadpool v0.1.7 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.34 [INFO] [stderr] Compiling num_cpus v1.3.0 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling num-rational v0.1.36 [INFO] [stderr] Compiling gif v0.9.1 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling deque v0.3.1 [INFO] [stderr] Compiling png v0.6.2 [INFO] [stderr] Compiling rayon v0.7.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.12 [INFO] [stderr] Compiling image v0.12.3 [INFO] [stderr] Compiling colourful-converter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ColorType` and `Rgb` [INFO] [stdout] --> src/decode.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use image::{ColorType, Rgb, Pixel}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | /// decode the encoded file to validate [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | let test_file = from_file.clone() + ".redecoded"; [INFO] [stdout] | ------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImage` [INFO] [stdout] --> src/decode.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{GenericImage, ImageDecoder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pixel` [INFO] [stdout] --> src/decode.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use image::{ColorType, Rgb, Pixel}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/decode.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | let (w, h) = decoder.dimensions().expect("cannot get file dimensions"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/decode.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut header = body.next().expect("empty body"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/decode.rs:73:60 [INFO] [stdout] | [INFO] [stdout] 73 | let mut x = header.chunks(3).enumerate().skip_while(|&(i, p)| is_empty(p)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut outf = &mut File::create(&Path::new(to_file)).expect("fileerror"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/decode.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct DecodeInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecodeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | test.write(&decode_file("out.png")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 22 | let _ = test.write(&decode_file("out.png")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | image::ImageRgb8(imgbuf).save(outf, image::PNG); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = image::ImageRgb8(imgbuf).save(outf, image::PNG); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.69s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "c9152ecb897ac18db8618c67e14b0ee76dac9787f11f6b1530df72500bd26239", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9152ecb897ac18db8618c67e14b0ee76dac9787f11f6b1530df72500bd26239", kill_on_drop: false }` [INFO] [stdout] c9152ecb897ac18db8618c67e14b0ee76dac9787f11f6b1530df72500bd26239 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd5ffe1297d6feb52524e74cb689f73017692ea8621b73d5a8e95db7348a11e4 [INFO] running `Command { std: "docker" "start" "-a" "cd5ffe1297d6feb52524e74cb689f73017692ea8621b73d5a8e95db7348a11e4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling colourful-converter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ColorType` and `Rgb` [INFO] [stdout] --> src/decode.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use image::{ColorType, Rgb, Pixel}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | /// decode the encoded file to validate [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | let test_file = from_file.clone() + ".redecoded"; [INFO] [stdout] | ------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImage` [INFO] [stdout] --> src/decode.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{GenericImage, ImageDecoder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pixel` [INFO] [stdout] --> src/decode.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use image::{ColorType, Rgb, Pixel}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/decode.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | let (w, h) = decoder.dimensions().expect("cannot get file dimensions"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/decode.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut header = body.next().expect("empty body"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/decode.rs:73:60 [INFO] [stdout] | [INFO] [stdout] 73 | let mut x = header.chunks(3).enumerate().skip_while(|&(i, p)| is_empty(p)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut outf = &mut File::create(&Path::new(to_file)).expect("fileerror"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/decode.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct DecodeInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecodeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | test.write(&decode_file("out.png")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 22 | let _ = test.write(&decode_file("out.png")); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | image::ImageRgb8(imgbuf).save(outf, image::PNG); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = image::ImageRgb8(imgbuf).save(outf, image::PNG); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "cd5ffe1297d6feb52524e74cb689f73017692ea8621b73d5a8e95db7348a11e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd5ffe1297d6feb52524e74cb689f73017692ea8621b73d5a8e95db7348a11e4", kill_on_drop: false }` [INFO] [stdout] cd5ffe1297d6feb52524e74cb689f73017692ea8621b73d5a8e95db7348a11e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 90156c76c9335f0367f759eee96e66c7a736a55329dd8ab0bba3617d297be959 [INFO] running `Command { std: "docker" "start" "-a" "90156c76c9335f0367f759eee96e66c7a736a55329dd8ab0bba3617d297be959", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused imports: `ColorType` and `Rgb` [INFO] [stderr] --> src/decode.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use image::{ColorType, Rgb, Pixel}; [INFO] [stderr] | ^^^^^^^^^ ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | /// decode the encoded file to validate [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 20 | let test_file = from_file.clone() + ".redecoded"; [INFO] [stderr] | ------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `GenericImage` [INFO] [stderr] --> src/decode.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use image::{GenericImage, ImageDecoder}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Pixel` [INFO] [stderr] --> src/decode.rs:4:29 [INFO] [stderr] | [INFO] [stderr] 4 | use image::{ColorType, Rgb, Pixel}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `w` [INFO] [stderr] --> src/decode.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | let (w, h) = decoder.dimensions().expect("cannot get file dimensions"); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/decode.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | let mut header = body.next().expect("empty body"); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/decode.rs:73:60 [INFO] [stderr] | [INFO] [stderr] 73 | let mut x = header.chunks(3).enumerate().skip_while(|&(i, p)| is_empty(p)); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | let mut outf = &mut File::create(&Path::new(to_file)).expect("fileerror"); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field `size` is never read [INFO] [stderr] --> src/decode.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 24 | struct DecodeInfo { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 27 | size: usize, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DecodeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | test.write(&decode_file("out.png")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 22 | let _ = test.write(&decode_file("out.png")); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | image::ImageRgb8(imgbuf).save(outf, image::PNG); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 30 | let _ = image::ImageRgb8(imgbuf).save(outf, image::PNG); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `colourful-converter` (bin "colourful-converter" test) generated 11 warnings (run `cargo fix --bin "colourful-converter" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/colourful_converter-99db108cb9223325) [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" "90156c76c9335f0367f759eee96e66c7a736a55329dd8ab0bba3617d297be959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90156c76c9335f0367f759eee96e66c7a736a55329dd8ab0bba3617d297be959", kill_on_drop: false }` [INFO] [stdout] 90156c76c9335f0367f759eee96e66c7a736a55329dd8ab0bba3617d297be959