[INFO] fetching crate img_hash_linker 1.1.0... [INFO] testing img_hash_linker-1.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate img_hash_linker 1.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate img_hash_linker 1.1.0 [INFO] finished tweaking crates.io crate img_hash_linker 1.1.0 [INFO] tweaked toml for crates.io crate img_hash_linker 1.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate img_hash_linker 1.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate img_hash_linker 1.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76998b7e0f93d9817ffc5f2098549a90939e0084f7e503c651814d0da8bd2a27 [INFO] running `Command { std: "docker" "start" "-a" "76998b7e0f93d9817ffc5f2098549a90939e0084f7e503c651814d0da8bd2a27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76998b7e0f93d9817ffc5f2098549a90939e0084f7e503c651814d0da8bd2a27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76998b7e0f93d9817ffc5f2098549a90939e0084f7e503c651814d0da8bd2a27", kill_on_drop: false }` [INFO] [stdout] 76998b7e0f93d9817ffc5f2098549a90939e0084f7e503c651814d0da8bd2a27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4c19bd22f67d489637e3513c3fb68960ec42cafd5337f6ad83c894b99a40c97 [INFO] running `Command { std: "docker" "start" "-a" "d4c19bd22f67d489637e3513c3fb68960ec42cafd5337f6ad83c894b99a40c97", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling image-webp v0.2.2 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling zune-jpeg v0.4.17 [INFO] [stderr] Compiling is-docker v0.2.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling is-wsl v0.4.0 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling open v5.3.2 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling ravif v0.11.12 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling fast_image_resize v5.1.4 [INFO] [stderr] Compiling img_hash_linker v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "d4c19bd22f67d489637e3513c3fb68960ec42cafd5337f6ad83c894b99a40c97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4c19bd22f67d489637e3513c3fb68960ec42cafd5337f6ad83c894b99a40c97", kill_on_drop: false }` [INFO] [stdout] d4c19bd22f67d489637e3513c3fb68960ec42cafd5337f6ad83c894b99a40c97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2828208aa2358f558c58849c037c4823d813a3c349245afad9cfb500d88abb29 [INFO] running `Command { std: "docker" "start" "-a" "2828208aa2358f558c58849c037c4823d813a3c349245afad9cfb500d88abb29", kill_on_drop: false }` [INFO] [stderr] Compiling img_hash_linker v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `Command { std: "docker" "inspect" "2828208aa2358f558c58849c037c4823d813a3c349245afad9cfb500d88abb29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2828208aa2358f558c58849c037c4823d813a3c349245afad9cfb500d88abb29", kill_on_drop: false }` [INFO] [stdout] 2828208aa2358f558c58849c037c4823d813a3c349245afad9cfb500d88abb29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e0c5b99980a5f46a846c6591d646f4de1c39e746fd90b8d22d993ae9ebaa9335 [INFO] running `Command { std: "docker" "start" "-a" "e0c5b99980a5f46a846c6591d646f4de1c39e746fd90b8d22d993ae9ebaa9335", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/img_hash_linker-3e0303fc13b6d145) [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/img_hash_linker-77460b7fad01bafb) [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] [stderr] Doc-tests img_hash_linker [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - open_link_from_hash (line 75) ... FAILED [INFO] [stdout] test src/lib.rs - compute_hash (line 30) ... FAILED [INFO] [stdout] test src/data_handle/add_data_to_csv_file.rs - data_handle::add_data_to_csv_file::add_entry_to_data_file (line 10) ... FAILED [INFO] [stdout] test src/lib.rs - open_link_from_hash (line 88) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - open_link_from_hash (line 75) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `open_link_from_hash` in this scope [INFO] [stdout] --> src/lib.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | match open_link_from_hash(links, "abc123".to_string()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 75 + use img_hash_linker::open_link_from_hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - compute_hash (line 30) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `compute_hash` in this scope [INFO] [stdout] --> src/lib.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | let hash = compute_hash(image, true, Some(10))?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 30 + use img_hash_linker::compute_hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found crate `image` [INFO] [stdout] --> src/lib.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let hash = compute_hash(image, true, Some(10))?; [INFO] [stdout] | ^^^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compute_hash` in this scope [INFO] [stdout] --> src/lib.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | let hash = compute_hash(image, false, None)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 30 + use img_hash_linker::compute_hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found crate `image` [INFO] [stdout] --> src/lib.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | let hash = compute_hash(image, false, None)?; [INFO] [stdout] | ^^^^^ not a value [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/data_handle/add_data_to_csv_file.rs - data_handle::add_data_to_csv_file::add_entry_to_data_file (line 10) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `add_entry_to_data_file` in this scope [INFO] [stdout] --> src/data_handle/add_data_to_csv_file.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | add_entry_to_data_file(data, "example.csv".to_string())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 + use img_hash_linker::data_handle::add_data_to_csv_file::add_entry_to_data_file; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - open_link_from_hash (line 88) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `load_data_from_csv` in this scope [INFO] [stdout] --> src/lib.rs:89:36 [INFO] [stdout] | [INFO] [stdout] 89 | let links: Vec<(String, String)> = load_data_from_csv("path/to/example.csv").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 88 + use img_hash_linker::data_handle::load_csv::load_data_from_csv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/data_handle/add_data_to_csv_file.rs - data_handle::add_data_to_csv_file::add_entry_to_data_file (line 10) [INFO] [stdout] src/lib.rs - compute_hash (line 30) [INFO] [stdout] src/lib.rs - open_link_from_hash (line 75) [INFO] [stdout] src/lib.rs - open_link_from_hash (line 88) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.48s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.64s; merged doctests compilation took 0.16s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e0c5b99980a5f46a846c6591d646f4de1c39e746fd90b8d22d993ae9ebaa9335", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0c5b99980a5f46a846c6591d646f4de1c39e746fd90b8d22d993ae9ebaa9335", kill_on_drop: false }` [INFO] [stdout] e0c5b99980a5f46a846c6591d646f4de1c39e746fd90b8d22d993ae9ebaa9335