[INFO] fetching crate scandir_rs 2.5.1... [INFO] building scandir_rs-2.5.1 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate scandir_rs 2.5.1 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate scandir_rs 2.5.1 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 95 packages to latest compatible versions [INFO] [stderr] Adding pyo3 v0.21.2 (available: v0.26.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7950c42812198574b12a5eb2e87a89a91593f406960f64783dacc45f551865a [INFO] running `Command { std: "docker" "start" "-a" "b7950c42812198574b12a5eb2e87a89a91593f406960f64783dacc45f551865a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7950c42812198574b12a5eb2e87a89a91593f406960f64783dacc45f551865a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7950c42812198574b12a5eb2e87a89a91593f406960f64783dacc45f551865a", kill_on_drop: false }` [INFO] [stdout] b7950c42812198574b12a5eb2e87a89a91593f406960f64783dacc45f551865a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab514370b26575424fb52c2508c505643c5ff125e7f8f0f832f7336dbc9e7942 [INFO] running `Command { std: "docker" "start" "-a" "ab514370b26575424fb52c2508c505643c5ff125e7f8f0f832f7336dbc9e7942", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Compiling unty v0.0.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling speedy-derive v0.8.7 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling glob-sl v0.4.2 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling jwalk-meta v0.9.4 [INFO] [stderr] Compiling pyo3-build-config v0.21.2 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pwd v1.4.0 [INFO] [stderr] Compiling expanduser v1.2.2 [INFO] [stderr] Compiling bincode v2.0.1 [INFO] [stderr] Compiling speedy v0.8.7 [INFO] [stderr] Compiling pyo3-macros-backend v0.21.2 [INFO] [stderr] Compiling scandir v2.9.4 [INFO] [stderr] Compiling pyo3-ffi v0.21.2 [INFO] [stderr] Compiling pyo3 v0.21.2 [INFO] [stderr] Compiling pyo3-macros v0.21.2 [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/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: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: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] [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: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: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] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scandir_rs` (lib) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "ab514370b26575424fb52c2508c505643c5ff125e7f8f0f832f7336dbc9e7942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab514370b26575424fb52c2508c505643c5ff125e7f8f0f832f7336dbc9e7942", kill_on_drop: false }` [INFO] [stdout] ab514370b26575424fb52c2508c505643c5ff125e7f8f0f832f7336dbc9e7942