[INFO] fetching crate scandir_rs 2.5.1... [INFO] testing scandir_rs-2.5.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate scandir_rs 2.5.1 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scandir_rs 2.5.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 87 packages to latest compatible versions [INFO] [stderr] Adding pyo3 v0.21.2 (available: v0.28.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded speedy v0.8.7 [INFO] [stderr] Downloaded jwalk-meta v0.9.4 [INFO] [stderr] Downloaded unindent v0.2.4 [INFO] [stderr] Downloaded redox_users v0.3.5 [INFO] [stderr] Downloaded pwd v1.4.0 [INFO] [stderr] Downloaded dirs v1.0.5 [INFO] [stderr] Downloaded getrandom v0.1.16 [INFO] [stderr] Downloaded indoc v2.0.7 [INFO] [stderr] Downloaded pyo3-macros-backend v0.21.2 [INFO] [stderr] Downloaded pyo3-ffi v0.21.2 [INFO] [stderr] Downloaded flume v0.12.0 [INFO] [stderr] Downloaded rayon v1.12.0 [INFO] [stderr] Downloaded blake2b_simd v0.5.11 [INFO] [stderr] Downloaded pyo3-macros v0.21.2 [INFO] [stderr] Downloaded arrayvec v0.5.2 [INFO] [stderr] Downloaded scandir v2.9.6 [INFO] [stderr] Downloaded pyo3-build-config v0.21.2 [INFO] [stderr] Downloaded wasi v0.9.0+wasi-snapshot-preview1 [INFO] [stderr] Downloaded speedy-derive v0.8.7 [INFO] [stderr] Downloaded redox_syscall v0.1.57 [INFO] [stderr] Downloaded rust-argon2 v0.8.3 [INFO] [stderr] Downloaded glob-sl v0.4.2 [INFO] [stderr] Downloaded pyo3 v0.21.2 [INFO] [stderr] Downloaded expanduser v1.2.2 [INFO] [stderr] Downloaded memoffset v0.9.1 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 623f4ec2756cc034223483143e5f67ffc9417f57971f5bb9f4a71a1d2e1492f6 [INFO] running `Command { std: "docker" "start" "-a" "623f4ec2756cc034223483143e5f67ffc9417f57971f5bb9f4a71a1d2e1492f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "623f4ec2756cc034223483143e5f67ffc9417f57971f5bb9f4a71a1d2e1492f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "623f4ec2756cc034223483143e5f67ffc9417f57971f5bb9f4a71a1d2e1492f6", kill_on_drop: false }` [INFO] [stdout] 623f4ec2756cc034223483143e5f67ffc9417f57971f5bb9f4a71a1d2e1492f6 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0231df65e8b6f5f42bc307e2d721a846a88ec9419848c97a73cac5db58adf3e6 [INFO] running `Command { std: "docker" "start" "-a" "0231df65e8b6f5f42bc307e2d721a846a88ec9419848c97a73cac5db58adf3e6", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling unty v0.0.4 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling pyo3-build-config v0.21.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling flume v0.12.0 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Compiling glob-sl v0.4.2 [INFO] [stderr] Compiling rayon v1.12.0 [INFO] [stderr] Compiling bincode v2.0.1 [INFO] [stderr] Compiling pyo3-ffi v0.21.2 [INFO] [stderr] Compiling pyo3 v0.21.2 [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 jwalk-meta v0.9.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pwd v1.4.0 [INFO] [stderr] Compiling expanduser v1.2.2 [INFO] [stderr] Compiling speedy v0.8.7 [INFO] [stderr] Compiling pyo3-macros v0.21.2 [INFO] [stderr] Compiling scandir v2.9.6 [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] | ^^^^^^^^^^^^^^^^^^ no `ScandirResultsType` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 10 - use scandir::{ ErrorsType, ScandirResult, ScandirResultsType }; [INFO] [stdout] 10 + use scandir::{ ErrorsType, ScandirResult, ScandirResult }; [INFO] [stdout] | [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] [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" "0231df65e8b6f5f42bc307e2d721a846a88ec9419848c97a73cac5db58adf3e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0231df65e8b6f5f42bc307e2d721a846a88ec9419848c97a73cac5db58adf3e6", kill_on_drop: false }` [INFO] [stdout] 0231df65e8b6f5f42bc307e2d721a846a88ec9419848c97a73cac5db58adf3e6