[INFO] fetching crate ix-match 0.3.1... [INFO] testing ix-match-0.3.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate ix-match 0.3.1 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ix-match 0.3.1 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 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] e96803d6c1f8408a9370de70d88186298ce228c550bbf771d334d59add9ba431 [INFO] running `Command { std: "docker" "start" "-a" "e96803d6c1f8408a9370de70d88186298ce228c550bbf771d334d59add9ba431", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e96803d6c1f8408a9370de70d88186298ce228c550bbf771d334d59add9ba431", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e96803d6c1f8408a9370de70d88186298ce228c550bbf771d334d59add9ba431", kill_on_drop: false }` [INFO] [stdout] e96803d6c1f8408a9370de70d88186298ce228c550bbf771d334d59add9ba431 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d38efcf6f3a2a310ddb41f56b64efb7a70823009adcb23313f5ca1e5009bf5b5 [INFO] running `Command { std: "docker" "start" "-a" "d38efcf6f3a2a310ddb41f56b64efb7a70823009adcb23313f5ca1e5009bf5b5", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling bstr v1.10.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling clap_builder v4.5.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [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 38.28s [INFO] running `Command { std: "docker" "inspect" "d38efcf6f3a2a310ddb41f56b64efb7a70823009adcb23313f5ca1e5009bf5b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d38efcf6f3a2a310ddb41f56b64efb7a70823009adcb23313f5ca1e5009bf5b5", kill_on_drop: false }` [INFO] [stdout] d38efcf6f3a2a310ddb41f56b64efb7a70823009adcb23313f5ca1e5009bf5b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d02769e04afa267379022bc16a9bbf41a5da197029b688987ee9503a43737079 [INFO] running `Command { std: "docker" "start" "-a" "d02769e04afa267379022bc16a9bbf41a5da197029b688987ee9503a43737079", 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 fastrand v2.1.1 [INFO] [stderr] Compiling once_cell v1.19.0 [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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/time.rs:244:17 [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" "d02769e04afa267379022bc16a9bbf41a5da197029b688987ee9503a43737079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d02769e04afa267379022bc16a9bbf41a5da197029b688987ee9503a43737079", kill_on_drop: false }` [INFO] [stdout] d02769e04afa267379022bc16a9bbf41a5da197029b688987ee9503a43737079