[INFO] fetching crate scandir_rs 2.5.1... [INFO] testing scandir_rs-2.5.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate scandir_rs 2.5.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate scandir_rs 2.5.1 [INFO] finished tweaking crates.io crate scandir_rs 2.5.1 [INFO] tweaked toml for crates.io crate scandir_rs 2.5.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate scandir_rs 2.5.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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--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] Locking 85 packages to latest compatible versions [INFO] [stderr] Adding pyo3 v0.21.2 (available: v0.27.1) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ebec4dcc6d738f15bbdb80d24260ae58596dc25a8d0d1cf8673fc000905ac931 [INFO] running `Command { std: "docker" "start" "-a" "ebec4dcc6d738f15bbdb80d24260ae58596dc25a8d0d1cf8673fc000905ac931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebec4dcc6d738f15bbdb80d24260ae58596dc25a8d0d1cf8673fc000905ac931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebec4dcc6d738f15bbdb80d24260ae58596dc25a8d0d1cf8673fc000905ac931", kill_on_drop: false }` [INFO] [stdout] ebec4dcc6d738f15bbdb80d24260ae58596dc25a8d0d1cf8673fc000905ac931 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 56bf3eb3b67881a175fd44af937a67860ad68a46a4e90c055341d4867bf166f6 [INFO] running `Command { std: "docker" "start" "-a" "56bf3eb3b67881a175fd44af937a67860ad68a46a4e90c055341d4867bf166f6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling pyo3-build-config v0.21.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling glob-sl v0.4.2 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling pyo3-ffi v0.21.2 [INFO] [stderr] Compiling pyo3 v0.21.2 [INFO] [stderr] Compiling jwalk-meta v0.9.4 [INFO] [stderr] Compiling bincode v2.0.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.21.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling speedy-derive v0.8.7 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling speedy v0.8.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pwd v1.4.0 [INFO] [stderr] Compiling expanduser v1.2.2 [INFO] [stderr] Compiling pyo3-macros v0.21.2 [INFO] [stderr] Compiling scandir v2.9.5 [INFO] [stderr] Compiling scandir_rs v2.5.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `scandir::ScandirResultsType` [INFO] [stdout] --> src/pyscandir.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | use scandir::{ ErrorsType, ScandirResult, ScandirResultsType }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `ScandirResultsType` in the root [INFO] [stdout] | help: a similar name exists in the module: `ScandirResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | st_ctime: entry.st_ctime, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `f64`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | st_mtime: entry.st_mtime, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `f64`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | st_atime: entry.st_atime, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `f64`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | st_ctime: entry.st_ctime, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `f64`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | st_mtime: entry.st_mtime, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `f64`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/def.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | st_atime: entry.st_atime, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `f64`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pyscandir.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let (entries, errors) = py.allow_threads(|| self.instance.collect())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ --------------------------------------------- this expression has type `ScandirResults` [INFO] [stdout] | | [INFO] [stdout] | expected `ScandirResults`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ScandirResults` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pyscandir.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let (entries, errors) = self.instance.results(only_new.unwrap_or(true)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ----------------------------------------------- this expression has type `ScandirResults` [INFO] [stdout] | | [INFO] [stdout] | expected `ScandirResults`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ScandirResults` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pyscandir.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let (entries, errors) = self.instance.results(only_new.unwrap_or(true)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ----------------------------------------------- this expression has type `ScandirResults` [INFO] [stdout] | | [INFO] [stdout] | expected `ScandirResults`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ScandirResults` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pyscandir.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | let (entries, errors) = self.instance.results(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ --------------------------- this expression has type `ScandirResults` [INFO] [stdout] | | [INFO] [stdout] | expected `ScandirResults`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ScandirResults` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scandir_rs` (lib) due to 11 previous errors [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "56bf3eb3b67881a175fd44af937a67860ad68a46a4e90c055341d4867bf166f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56bf3eb3b67881a175fd44af937a67860ad68a46a4e90c055341d4867bf166f6", kill_on_drop: false }` [INFO] [stdout] 56bf3eb3b67881a175fd44af937a67860ad68a46a4e90c055341d4867bf166f6