[INFO] fetching crate txtpic 1.2.4... [INFO] testing txtpic-1.2.4 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate txtpic 1.2.4 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate txtpic 1.2.4 [INFO] finished tweaking crates.io crate txtpic 1.2.4 [INFO] tweaked toml for crates.io crate txtpic 1.2.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate txtpic 1.2.4 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] [stderr] Adding bmp v0.2.0 (available: v0.5.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.48) [INFO] [stderr] Adding image v0.12.4 (available: v0.25.8) [INFO] [stderr] Adding rusttype v0.2.4 (available: v0.9.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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] Downloading crates ... [INFO] [stderr] Downloaded stb_truetype v0.2.8 [INFO] [stderr] Downloaded png v0.6.2 [INFO] [stderr] Downloaded bitflags v0.7.0 [INFO] [stderr] Downloaded rusttype v0.2.4 [INFO] [stderr] Downloaded inflate v0.1.1 [INFO] [stderr] Downloaded enum_primitive v0.1.1 [INFO] [stderr] Downloaded stb_truetype v0.3.1 [INFO] [stderr] Downloaded lzw v0.10.0 [INFO] [stderr] Downloaded gif v0.9.2 [INFO] [stderr] Downloaded image v0.12.4 [INFO] [stderr] Downloaded bmp v0.2.0 [INFO] [stderr] Downloaded deflate v0.7.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0dfa506913b113e121cc554edc9f9fbd3bd727ace2a27d0f79fde8ca4ed81753 [INFO] running `Command { std: "docker" "start" "-a" "0dfa506913b113e121cc554edc9f9fbd3bd727ace2a27d0f79fde8ca4ed81753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0dfa506913b113e121cc554edc9f9fbd3bd727ace2a27d0f79fde8ca4ed81753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dfa506913b113e121cc554edc9f9fbd3bd727ace2a27d0f79fde8ca4ed81753", kill_on_drop: false }` [INFO] [stdout] 0dfa506913b113e121cc554edc9f9fbd3bd727ace2a27d0f79fde8ca4ed81753 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae74b5c62275050e358d83c9436f2774287b281d1201ba158008ba7239f918ee [INFO] running `Command { std: "docker" "start" "-a" "ae74b5c62275050e358d83c9436f2774287b281d1201ba158008ba7239f918ee", 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 libc v0.2.176 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling bmp v0.2.0 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling stb_truetype v0.2.8 [INFO] [stderr] Compiling rusttype v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling png v0.6.2 [INFO] [stderr] Compiling image v0.12.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling txtpic v1.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/character_set/calculate_character_brightness.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | pixel_data[(x + y * width)] = scaled_v; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - pixel_data[(x + y * width)] = scaled_v; [INFO] [stdout] 60 + pixel_data[x + y * width ] = scaled_v; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.45s [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 3` [INFO] running `Command { std: "docker" "inspect" "ae74b5c62275050e358d83c9436f2774287b281d1201ba158008ba7239f918ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae74b5c62275050e358d83c9436f2774287b281d1201ba158008ba7239f918ee", kill_on_drop: false }` [INFO] [stdout] ae74b5c62275050e358d83c9436f2774287b281d1201ba158008ba7239f918ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48e5307a0418be5f470b33a8bfb9b192e7e7729edbd4300d3a276675394199c6 [INFO] running `Command { std: "docker" "start" "-a" "48e5307a0418be5f470b33a8bfb9b192e7e7729edbd4300d3a276675394199c6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/character_set/calculate_character_brightness.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | pixel_data[(x + y * width)] = scaled_v; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - pixel_data[(x + y * width)] = scaled_v; [INFO] [stdout] 60 + pixel_data[x + y * width ] = scaled_v; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling txtpic v1.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/character_set/calculate_character_brightness.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | pixel_data[(x + y * width)] = scaled_v; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - pixel_data[(x + y * width)] = scaled_v; [INFO] [stdout] 60 + pixel_data[x + y * width ] = scaled_v; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s [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 3` [INFO] running `Command { std: "docker" "inspect" "48e5307a0418be5f470b33a8bfb9b192e7e7729edbd4300d3a276675394199c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48e5307a0418be5f470b33a8bfb9b192e7e7729edbd4300d3a276675394199c6", kill_on_drop: false }` [INFO] [stdout] 48e5307a0418be5f470b33a8bfb9b192e7e7729edbd4300d3a276675394199c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 988c407e0399d3df69c8bf032c3898c06e071e998309db9d2a97249550216ee6 [INFO] running `Command { std: "docker" "start" "-a" "988c407e0399d3df69c8bf032c3898c06e071e998309db9d2a97249550216ee6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/character_set/calculate_character_brightness.rs:60:28 [INFO] [stderr] | [INFO] [stderr] 60 | pixel_data[(x + y * width)] = scaled_v; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 60 - pixel_data[(x + y * width)] = scaled_v; [INFO] [stderr] 60 + pixel_data[x + y * width ] = scaled_v; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `txtpic` (lib) generated 1 warning (run `cargo fix --lib -p txtpic` to apply 1 suggestion) [INFO] [stderr] warning: `txtpic` (lib test) generated 1 warning (1 duplicate) [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 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/txtpic_lib-889aa289963d7cfe) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/txtpic-b945eeec9b871032) [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] [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 txtpic_lib [INFO] [stderr] warning: unnecessary parentheses around index expression [INFO] [stderr] --> src/character_set/calculate_character_brightness.rs:60:28 [INFO] [stderr] | [INFO] [stderr] 60 | pixel_data[(x + y * width)] = scaled_v; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 60 - pixel_data[(x + y * width)] = scaled_v; [INFO] [stderr] 60 + pixel_data[x + y * width ] = scaled_v; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/character_set/character_set.rs - character_set::character_set::CharacterSet::invert (line 88) ... ok [INFO] [stdout] test src/character_set/character_set.rs - character_set::character_set::CharacterSet::from (line 42) ... ok [INFO] [stdout] test src/character_set/character_set.rs - character_set::character_set::CharacterSet::new (line 16) ... ok [INFO] [stdout] test src/text_image/text_image.rs - text_image::text_image::TextImage::set_char (line 107) ... ok [INFO] [stdout] test src/character_set/character_set.rs - character_set::character_set::CharacterSet::get (line 59) ... ok [INFO] [stdout] test src/character_set/calculate_character_brightness.rs - character_set::calculate_character_brightness::calculate_character_brightness (line 12) ... ok [INFO] [stdout] test src/text_image/text_image.rs - text_image::text_image::TextImage::from (line 58) ... ok [INFO] [stdout] test src/text_image/image_to_text.rs - text_image::image_to_text::image_to_text (line 11) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.19s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "988c407e0399d3df69c8bf032c3898c06e071e998309db9d2a97249550216ee6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "988c407e0399d3df69c8bf032c3898c06e071e998309db9d2a97249550216ee6", kill_on_drop: false }` [INFO] [stdout] 988c407e0399d3df69c8bf032c3898c06e071e998309db9d2a97249550216ee6