[INFO] fetching crate img_hash_linker 1.1.0... [INFO] testing img_hash_linker-1.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate img_hash_linker 1.1.0 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate img_hash_linker 1.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3127e289ceb74ef3cc666462378f377d0c6bec8e9ef4d7b0a01e38e688ff8600 [INFO] running `Command { std: "docker" "start" "-a" "3127e289ceb74ef3cc666462378f377d0c6bec8e9ef4d7b0a01e38e688ff8600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3127e289ceb74ef3cc666462378f377d0c6bec8e9ef4d7b0a01e38e688ff8600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3127e289ceb74ef3cc666462378f377d0c6bec8e9ef4d7b0a01e38e688ff8600", kill_on_drop: false }` [INFO] [stdout] 3127e289ceb74ef3cc666462378f377d0c6bec8e9ef4d7b0a01e38e688ff8600 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23ad77e2229bf1e1766b12de31a7a43f62ad7799be84a48ab28ce468cdc98fc1 [INFO] running `Command { std: "docker" "start" "-a" "23ad77e2229bf1e1766b12de31a7a43f62ad7799be84a48ab28ce468cdc98fc1", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling zune-jpeg v0.4.17 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling image-webp v0.2.2 [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 pathdiff v0.2.3 [INFO] [stderr] Compiling open v5.3.2 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling num-rational v0.4.2 [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 profiling-procmacros v1.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [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 equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.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 v_frame v0.3.9 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling av1-grain v0.2.4 [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_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [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 31s [INFO] running `Command { std: "docker" "inspect" "23ad77e2229bf1e1766b12de31a7a43f62ad7799be84a48ab28ce468cdc98fc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23ad77e2229bf1e1766b12de31a7a43f62ad7799be84a48ab28ce468cdc98fc1", kill_on_drop: false }` [INFO] [stdout] 23ad77e2229bf1e1766b12de31a7a43f62ad7799be84a48ab28ce468cdc98fc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0cf2b2230c659c75ff844bc262b774f1570077a3bee9166c801c9e64512636d [INFO] running `Command { std: "docker" "start" "-a" "a0cf2b2230c659c75ff844bc262b774f1570077a3bee9166c801c9e64512636d", 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 1.07s [INFO] running `Command { std: "docker" "inspect" "a0cf2b2230c659c75ff844bc262b774f1570077a3bee9166c801c9e64512636d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0cf2b2230c659c75ff844bc262b774f1570077a3bee9166c801c9e64512636d", kill_on_drop: false }` [INFO] [stdout] a0cf2b2230c659c75ff844bc262b774f1570077a3bee9166c801c9e64512636d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] acf97f6e027ce64ebebc5395fdfb6810bc454fdc1ba84b83bb30c2edbf169322 [INFO] running `Command { std: "docker" "start" "-a" "acf97f6e027ce64ebebc5395fdfb6810bc454fdc1ba84b83bb30c2edbf169322", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/img_hash_linker-3e0303fc13b6d145) [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] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests img_hash_linker [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 4 tests [INFO] [stdout] test src/lib.rs - open_link_from_hash (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - compute_hash (line 30) ... FAILED [INFO] [stdout] test src/lib.rs - open_link_from_hash (line 75) ... 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] [INFO] [stdout] failures: [INFO] [stdout] [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] 3 | 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] 2 + 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] ---- 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] 6 | 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] 2 + 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] 6 | 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] 9 | 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] 2 + 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] 9 | 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/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] 8 | 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] 2 + 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/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] 8 | 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] 2 + 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] [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.41s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.72s; merged doctests compilation took 0.31s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "acf97f6e027ce64ebebc5395fdfb6810bc454fdc1ba84b83bb30c2edbf169322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acf97f6e027ce64ebebc5395fdfb6810bc454fdc1ba84b83bb30c2edbf169322", kill_on_drop: false }` [INFO] [stdout] acf97f6e027ce64ebebc5395fdfb6810bc454fdc1ba84b83bb30c2edbf169322