[INFO] fetching crate ix-match 0.3.1... [INFO] testing ix-match-0.3.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate ix-match 0.3.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate ix-match 0.3.1 [INFO] finished tweaking crates.io crate ix-match 0.3.1 [INFO] tweaked toml for crates.io crate ix-match 0.3.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ix-match 0.3.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ix-match 0.3.1 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8e423945f442482d8971a652115a2237216ec4ffa981c6c3df32e061227e020 [INFO] running `Command { std: "docker" "start" "-a" "f8e423945f442482d8971a652115a2237216ec4ffa981c6c3df32e061227e020", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8e423945f442482d8971a652115a2237216ec4ffa981c6c3df32e061227e020", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8e423945f442482d8971a652115a2237216ec4ffa981c6c3df32e061227e020", kill_on_drop: false }` [INFO] [stdout] f8e423945f442482d8971a652115a2237216ec4ffa981c6c3df32e061227e020 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11fe1689455fee64cf351724e9abd197fdfb1f74f3dc94f60535b8939ac0e6f8 [INFO] running `Command { std: "docker" "start" "-a" "11fe1689455fee64cf351724e9abd197fdfb1f74f3dc94f60535b8939ac0e6f8", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bstr v1.10.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling clap_builder v4.5.18 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling globwalker v0.9.0 [INFO] [stderr] Compiling clap v4.5.18 [INFO] [stderr] Compiling ix-match v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.20s [INFO] running `Command { std: "docker" "inspect" "11fe1689455fee64cf351724e9abd197fdfb1f74f3dc94f60535b8939ac0e6f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11fe1689455fee64cf351724e9abd197fdfb1f74f3dc94f60535b8939ac0e6f8", kill_on_drop: false }` [INFO] [stdout] 11fe1689455fee64cf351724e9abd197fdfb1f74f3dc94f60535b8939ac0e6f8 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80ebbd96acd946d93cb37ee945d1c1ec720c3aa34a851ae0f3778cfdd4c11e6c [INFO] running `Command { std: "docker" "start" "-a" "80ebbd96acd946d93cb37ee945d1c1ec720c3aa34a851ae0f3778cfdd4c11e6c", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling globwalker v0.9.0 [INFO] [stderr] Compiling ix-match v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/main.rs:128:71 [INFO] [stdout] | [INFO] [stdout] 111 | fn test_find_dir_by_pattern() { [INFO] [stdout] | ----------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 128 | .ok_or_else(|| anyhow::anyhow!("RGB directory not found"))?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 111 ~ fn test_find_dir_by_pattern() -> Result<(), Box> { [INFO] [stdout] 112 | let iiq_dir = tempdir().unwrap().path().to_path_buf(); [INFO] [stdout] ... [INFO] [stdout] 149 | assert_eq!(empty_nir_files, 0); [INFO] [stdout] 150 ~ Ok(()) [INFO] [stdout] 151 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/main.rs:131:71 [INFO] [stdout] | [INFO] [stdout] 111 | fn test_find_dir_by_pattern() { [INFO] [stdout] | ----------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 131 | .ok_or_else(|| anyhow::anyhow!("NIR directory not found"))?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 111 ~ fn test_find_dir_by_pattern() -> Result<(), Box> { [INFO] [stdout] 112 | let iiq_dir = tempdir().unwrap().path().to_path_buf(); [INFO] [stdout] ... [INFO] [stdout] 149 | assert_eq!(empty_nir_files, 0); [INFO] [stdout] 150 ~ Ok(()) [INFO] [stdout] 151 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:133:44 [INFO] [stdout] | [INFO] [stdout] 133 | let thresh = Duration::from_millis(args.thresh); [INFO] [stdout] | --------------------- ^^^^^^^^^^^ expected `u64`, found `Duration` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/time.rs:244:18 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ix-match` (bin "ix-match" test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "80ebbd96acd946d93cb37ee945d1c1ec720c3aa34a851ae0f3778cfdd4c11e6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80ebbd96acd946d93cb37ee945d1c1ec720c3aa34a851ae0f3778cfdd4c11e6c", kill_on_drop: false }` [INFO] [stdout] 80ebbd96acd946d93cb37ee945d1c1ec720c3aa34a851ae0f3778cfdd4c11e6c