[INFO] cloning repository https://github.com/TaylorHo/img-hash-linker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TaylorHo/img-hash-linker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTaylorHo%2Fimg-hash-linker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTaylorHo%2Fimg-hash-linker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc1a2628aed6efbde651c7b9fee3a6952c866258 [INFO] testing TaylorHo/img-hash-linker against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTaylorHo%2Fimg-hash-linker" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TaylorHo/img-hash-linker [INFO] finished tweaking git repo https://github.com/TaylorHo/img-hash-linker [INFO] tweaked toml for git repo https://github.com/TaylorHo/img-hash-linker written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TaylorHo/img-hash-linker on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TaylorHo/img-hash-linker 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded v_frame v0.3.9 [INFO] [stderr] Downloaded equator v0.4.2 [INFO] [stderr] Downloaded equator-macro v0.4.2 [INFO] [stderr] Downloaded aligned-vec v0.6.4 [INFO] [stderr] Downloaded av1-grain v0.2.4 [INFO] [stderr] Downloaded image-webp v0.2.2 [INFO] [stderr] Downloaded zune-jpeg v0.4.17 [INFO] [stderr] Downloaded libc v0.2.173 [INFO] [stderr] Downloaded fast_image_resize v5.1.4 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 275f5a1dd67679f972f6dca3891e3d6ea47ac3b83fc6340c77f4d5b293a0911d [INFO] running `Command { std: "docker" "start" "-a" "275f5a1dd67679f972f6dca3891e3d6ea47ac3b83fc6340c77f4d5b293a0911d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "275f5a1dd67679f972f6dca3891e3d6ea47ac3b83fc6340c77f4d5b293a0911d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "275f5a1dd67679f972f6dca3891e3d6ea47ac3b83fc6340c77f4d5b293a0911d", kill_on_drop: false }` [INFO] [stdout] 275f5a1dd67679f972f6dca3891e3d6ea47ac3b83fc6340c77f4d5b293a0911d [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79a8e0f12d419de77502dbd198c72da8ea008c9f8ff0e3c88ec0560b42765323 [INFO] running `Command { std: "docker" "start" "-a" "79a8e0f12d419de77502dbd198c72da8ea008c9f8ff0e3c88ec0560b42765323", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling image-webp v0.2.2 [INFO] [stderr] Compiling zune-jpeg v0.4.17 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling is-docker v0.2.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling is-wsl v0.4.0 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling open v5.3.2 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling tiff v0.9.1 [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 num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling thiserror v1.0.69 [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 55.85s [INFO] running `Command { std: "docker" "inspect" "79a8e0f12d419de77502dbd198c72da8ea008c9f8ff0e3c88ec0560b42765323", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79a8e0f12d419de77502dbd198c72da8ea008c9f8ff0e3c88ec0560b42765323", kill_on_drop: false }` [INFO] [stdout] 79a8e0f12d419de77502dbd198c72da8ea008c9f8ff0e3c88ec0560b42765323 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa8914da56dc02ca95887522388713677fd0ebff0364dd5cc53036a5ca24920c [INFO] running `Command { std: "docker" "start" "-a" "fa8914da56dc02ca95887522388713677fd0ebff0364dd5cc53036a5ca24920c", 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.86s [INFO] running `Command { std: "docker" "inspect" "fa8914da56dc02ca95887522388713677fd0ebff0364dd5cc53036a5ca24920c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa8914da56dc02ca95887522388713677fd0ebff0364dd5cc53036a5ca24920c", kill_on_drop: false }` [INFO] [stdout] fa8914da56dc02ca95887522388713677fd0ebff0364dd5cc53036a5ca24920c [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3c00faee8487c734230009e9bd52b4574c36b4cf19f0ee8e2d0e5a4257d63569 [INFO] running `Command { std: "docker" "start" "-a" "3c00faee8487c734230009e9bd52b4574c36b4cf19f0ee8e2d0e5a4257d63569", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/img_hash_linker-3e0303fc13b6d145) [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] 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] [stderr] Doc-tests img_hash_linker [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - open_link_from_hash (line 88) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [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 75) ... 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/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] ---- 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] [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.58s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.71s; merged doctests compilation took 0.13s [INFO] running `Command { std: "docker" "inspect" "3c00faee8487c734230009e9bd52b4574c36b4cf19f0ee8e2d0e5a4257d63569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c00faee8487c734230009e9bd52b4574c36b4cf19f0ee8e2d0e5a4257d63569", kill_on_drop: false }` [INFO] [stdout] 3c00faee8487c734230009e9bd52b4574c36b4cf19f0ee8e2d0e5a4257d63569