[INFO] fetching crate minipng 1.0.0... [INFO] testing minipng-1.0.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate minipng 1.0.0 into /workspace/builds/worker-6-tc1/source [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate minipng 1.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate minipng 1.0.0 [INFO] tweaked toml for crates.io crate minipng 1.0.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate minipng 1.0.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate minipng 1.0.0 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded png-decoder v0.1.1 [INFO] [stderr] Downloaded clap v4.5.47 [INFO] [stderr] Downloaded clap_builder v4.5.47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25b77fc685b4e987851afd49de2fe296d30a45a35d24ff61f41fe3ce80999651 [INFO] running `Command { std: "docker" "start" "-a" "25b77fc685b4e987851afd49de2fe296d30a45a35d24ff61f41fe3ce80999651", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25b77fc685b4e987851afd49de2fe296d30a45a35d24ff61f41fe3ce80999651", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25b77fc685b4e987851afd49de2fe296d30a45a35d24ff61f41fe3ce80999651", kill_on_drop: false }` [INFO] [stdout] 25b77fc685b4e987851afd49de2fe296d30a45a35d24ff61f41fe3ce80999651 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf96eb4747199a98469a9e2287f08cd5d026a1ada88b877074679de2be930314 [INFO] running `Command { std: "docker" "start" "-a" "bf96eb4747199a98469a9e2287f08cd5d026a1ada88b877074679de2be930314", kill_on_drop: false }` [INFO] [stderr] Compiling minipng v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "bf96eb4747199a98469a9e2287f08cd5d026a1ada88b877074679de2be930314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf96eb4747199a98469a9e2287f08cd5d026a1ada88b877074679de2be930314", kill_on_drop: false }` [INFO] [stdout] bf96eb4747199a98469a9e2287f08cd5d026a1ada88b877074679de2be930314 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb29d6081d650593453fde8694b2104e0c8a1641e93eaa8698c0df355aca55c1 [INFO] running `Command { std: "docker" "start" "-a" "bb29d6081d650593453fde8694b2104e0c8a1641e93eaa8698c0df355aca55c1", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling criterion-plot v0.6.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling png-decoder v0.1.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stderr] Compiling minipng v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: mutation of an interior mutable `const` item with call to `lock` [INFO] [stdout] --> src/test.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | if !is_valid && decode_png(bytes, &mut LARGE_BUF.lock().unwrap()).is_ok() { [INFO] [stdout] | ---------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `LARGE_BUF` is a interior mutable `const` item of type `std::sync::Mutex>` [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: only the temporaries and never the original `const LARGE_BUF` will be modified [INFO] [stdout] = help: for more details on interior mutability see [INFO] [stdout] = note: `#[warn(const_item_interior_mutations)]` on by default [INFO] [stdout] help: for a shared instance of `LARGE_BUF`, consider making it a `static` item instead [INFO] [stdout] | [INFO] [stdout] 23 - const LARGE_BUF: Mutex> = Mutex::new(vec![]); [INFO] [stdout] 23 + static LARGE_BUF: Mutex> = Mutex::new(vec![]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutation of an interior mutable `const` item with call to `lock` [INFO] [stdout] --> src/test.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 90 | *LARGE_BUF.lock().unwrap() = vec![0; 10 << 20]; [INFO] [stdout] | ---------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `LARGE_BUF` is a interior mutable `const` item of type `std::sync::Mutex>` [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: only the temporaries and never the original `const LARGE_BUF` will be modified [INFO] [stdout] = help: for more details on interior mutability see [INFO] [stdout] help: for a shared instance of `LARGE_BUF`, consider making it a `static` item instead [INFO] [stdout] | [INFO] [stdout] 23 - const LARGE_BUF: Mutex> = Mutex::new(vec![]); [INFO] [stdout] 23 + static LARGE_BUF: Mutex> = Mutex::new(vec![]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 26.98s [INFO] running `Command { std: "docker" "inspect" "bb29d6081d650593453fde8694b2104e0c8a1641e93eaa8698c0df355aca55c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb29d6081d650593453fde8694b2104e0c8a1641e93eaa8698c0df355aca55c1", kill_on_drop: false }` [INFO] [stdout] bb29d6081d650593453fde8694b2104e0c8a1641e93eaa8698c0df355aca55c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a053782c6dc6a69cfb240831d3a9252f5bc7d742e46d556d5fbed1f267356a24 [INFO] running `Command { std: "docker" "start" "-a" "a053782c6dc6a69cfb240831d3a9252f5bc7d742e46d556d5fbed1f267356a24", kill_on_drop: false }` [INFO] [stderr] warning: mutation of an interior mutable `const` item with call to `lock` [INFO] [stderr] --> src/test.rs:66:41 [INFO] [stderr] | [INFO] [stderr] 66 | if !is_valid && decode_png(bytes, &mut LARGE_BUF.lock().unwrap()).is_ok() { [INFO] [stderr] | ---------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `LARGE_BUF` is a interior mutable `const` item of type `std::sync::Mutex>` [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: only the temporaries and never the original `const LARGE_BUF` will be modified [INFO] [stderr] = help: for more details on interior mutability see [INFO] [stderr] = note: `#[warn(const_item_interior_mutations)]` on by default [INFO] [stderr] help: for a shared instance of `LARGE_BUF`, consider making it a `static` item instead [INFO] [stderr] | [INFO] [stderr] 23 - const LARGE_BUF: Mutex> = Mutex::new(vec![]); [INFO] [stderr] 23 + static LARGE_BUF: Mutex> = Mutex::new(vec![]); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: mutation of an interior mutable `const` item with call to `lock` [INFO] [stderr] --> src/test.rs:90:3 [INFO] [stderr] | [INFO] [stderr] 90 | *LARGE_BUF.lock().unwrap() = vec![0; 10 << 20]; [INFO] [stderr] | ---------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `LARGE_BUF` is a interior mutable `const` item of type `std::sync::Mutex>` [INFO] [stderr] | [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: only the temporaries and never the original `const LARGE_BUF` will be modified [INFO] [stderr] = help: for more details on interior mutability see [INFO] [stderr] help: for a shared instance of `LARGE_BUF`, consider making it a `static` item instead [INFO] [stderr] | [INFO] [stderr] 23 - const LARGE_BUF: Mutex> = Mutex::new(vec![]); [INFO] [stderr] 23 + static LARGE_BUF: Mutex> = Mutex::new(vec![]); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `minipng` (lib test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/minipng-67d3933f3fbfb9bd) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test::test_bad_png ... ok [INFO] [stdout] test test::test_buffer_too_small ... ok [INFO] [stdout] test test::test_images ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.24s [INFO] [stdout] [INFO] [stderr] Doc-tests minipng [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/../README.md - (line 43) ... ok [INFO] [stdout] test src/../README.md - (line 31) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.89s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.02s; merged doctests compilation took 0.13s [INFO] running `Command { std: "docker" "inspect" "a053782c6dc6a69cfb240831d3a9252f5bc7d742e46d556d5fbed1f267356a24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a053782c6dc6a69cfb240831d3a9252f5bc7d742e46d556d5fbed1f267356a24", kill_on_drop: false }` [INFO] [stdout] a053782c6dc6a69cfb240831d3a9252f5bc7d742e46d556d5fbed1f267356a24