[INFO] fetching crate pix2svg 0.1.0... [INFO] testing pix2svg-0.1.0 against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] extracting crate pix2svg 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate pix2svg 0.1.0 [INFO] finished tweaking crates.io crate pix2svg 0.1.0 [INFO] tweaked toml for crates.io crate pix2svg 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pix2svg 0.1.0 on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pix2svg 0.1.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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f10fdd05943b81e3bb70b85f22b1e91cde897e8accb029813432b0d97b92d604 [INFO] running `Command { std: "docker" "start" "-a" "f10fdd05943b81e3bb70b85f22b1e91cde897e8accb029813432b0d97b92d604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f10fdd05943b81e3bb70b85f22b1e91cde897e8accb029813432b0d97b92d604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f10fdd05943b81e3bb70b85f22b1e91cde897e8accb029813432b0d97b92d604", kill_on_drop: false }` [INFO] [stdout] f10fdd05943b81e3bb70b85f22b1e91cde897e8accb029813432b0d97b92d604 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a4cba091f324d7f79d7151627de07ef7cad9659d10aa8c33d11c40ebabecaa7 [INFO] running `Command { std: "docker" "start" "-a" "1a4cba091f324d7f79d7151627de07ef7cad9659d10aa8c33d11c40ebabecaa7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling image-webp v0.2.1 [INFO] [stderr] Compiling zune-jpeg v0.4.15 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling ravif v0.11.12 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling pix2svg v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.87s [INFO] running `Command { std: "docker" "inspect" "1a4cba091f324d7f79d7151627de07ef7cad9659d10aa8c33d11c40ebabecaa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a4cba091f324d7f79d7151627de07ef7cad9659d10aa8c33d11c40ebabecaa7", kill_on_drop: false }` [INFO] [stdout] 1a4cba091f324d7f79d7151627de07ef7cad9659d10aa8c33d11c40ebabecaa7 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0451742b78e94eb86c706e42cdbb9f8f7de8f45b31eee5cfd1f547908bd014f5 [INFO] running `Command { std: "docker" "start" "-a" "0451742b78e94eb86c706e42cdbb9f8f7de8f45b31eee5cfd1f547908bd014f5", kill_on_drop: false }` [INFO] [stderr] Compiling pix2svg v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "0451742b78e94eb86c706e42cdbb9f8f7de8f45b31eee5cfd1f547908bd014f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0451742b78e94eb86c706e42cdbb9f8f7de8f45b31eee5cfd1f547908bd014f5", kill_on_drop: false }` [INFO] [stdout] 0451742b78e94eb86c706e42cdbb9f8f7de8f45b31eee5cfd1f547908bd014f5 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 967a8ac074f4c494a4e984759f78ed11cd99dd3056b625ab544d0b1bc6490c52 [INFO] running `Command { std: "docker" "start" "-a" "967a8ac074f4c494a4e984759f78ed11cd99dd3056b625ab544d0b1bc6490c52", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pix2svg-9ac7d6bd9c41eb8c) [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 src/main.rs (/opt/rustwide/target/debug/deps/pix2svg-8e58922c0a61ed67) [INFO] [stdout] [INFO] [stderr] Doc-tests pix2svg [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 2 tests [INFO] [stdout] test src/lib.rs - (line 15) ... FAILED [INFO] [stdout] test src/lib.rs - convert_image_to_svg (line 299) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 15) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `ConversionResult: AsRef<[u8]>` is not satisfied [INFO] [stdout] --> src/lib.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 22 | std::fs::write("output.svg", svg_content)?; [INFO] [stdout] | -------------- ^^^^^^^^^^^ the trait `AsRef<[u8]>` is not implemented for `ConversionResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `std::fs::write` [INFO] [stdout] --> /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/fs.rs:362:1 [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - convert_image_to_svg (line 299) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 15) [INFO] [stdout] src/lib.rs - convert_image_to_svg (line 299) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.23s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "967a8ac074f4c494a4e984759f78ed11cd99dd3056b625ab544d0b1bc6490c52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "967a8ac074f4c494a4e984759f78ed11cd99dd3056b625ab544d0b1bc6490c52", kill_on_drop: false }` [INFO] [stdout] 967a8ac074f4c494a4e984759f78ed11cd99dd3056b625ab544d0b1bc6490c52