[INFO] fetching crate static 0.0.4... [INFO] testing static-0.0.4 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate static 0.0.4 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate static 0.0.4 [INFO] finished tweaking crates.io crate static 0.0.4 [INFO] tweaked toml for crates.io crate static 0.0.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate static 0.0.4 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 76 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded modifier v0.1.0 [INFO] [stderr] Downloaded router v0.6.0 [INFO] [stderr] Downloaded iron-test v0.6.0 [INFO] [stderr] Downloaded sequence_trie v0.3.6 [INFO] [stderr] Downloaded iron v0.6.1 [INFO] [stderr] Downloaded rand v0.3.23 [INFO] [stderr] Downloaded uuid v0.5.1 [INFO] [stderr] Downloaded mount v0.4.0 [INFO] [stderr] Downloaded plugin v0.2.6 [INFO] [stderr] Downloaded route-recognizer v0.1.13 [INFO] [stderr] Downloaded mime_guess v1.8.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd41351abcfc431030a26ce2fd351d0d607b4727b649a9e36ea56aed936e811d [INFO] running `Command { std: "docker" "start" "-a" "cd41351abcfc431030a26ce2fd351d0d607b4727b649a9e36ea56aed936e811d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd41351abcfc431030a26ce2fd351d0d607b4727b649a9e36ea56aed936e811d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd41351abcfc431030a26ce2fd351d0d607b4727b649a9e36ea56aed936e811d", kill_on_drop: false }` [INFO] [stdout] cd41351abcfc431030a26ce2fd351d0d607b4727b649a9e36ea56aed936e811d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfc055e3d10ebbfa8cb595c71e268a93251c7024890dafa766b435e1ea6d0198 [INFO] running `Command { std: "docker" "start" "-a" "cfc055e3d10ebbfa8cb595c71e268a93251c7024890dafa766b435e1ea6d0198", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling traitobject v0.1.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling sequence_trie v0.3.6 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling mount v0.4.0 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling static v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::path::AsPath` [INFO] [stdout] --> src/requested_path.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{PathBuf, AsPath}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AsPath` in `path` [INFO] [stdout] | help: a similar name exists in the module: `Path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::fs::PathExt` [INFO] [stdout] --> src/requested_path.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::PathExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `PathExt` in `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::path::AsPath` [INFO] [stdout] --> src/static_handler.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{PathBuf, AsPath}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AsPath` in `path` [INFO] [stdout] | help: a similar name exists in the module: `Path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::fs::PathExt` [INFO] [stdout] --> src/static_handler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::PathExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `PathExt` in `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time::Timespec` [INFO] [stdout] --> src/static_handler.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use time::{self, Timespec}; [INFO] [stdout] | ^^^^^^^^ no `Timespec` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `at` in crate `time` [INFO] [stdout] --> src/static_handler.rs:139:49 [INFO] [stdout] | [INFO] [stdout] 139 | response.headers.set(LastModified(time::at(modified))); [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the feature `fs_time` has been stable since 1.10.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(core, std_misc, path_ext, fs_time)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(stable_features)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the feature `path_ext` has been stable since 1.5.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(core, std_misc, path_ext, fs_time)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(core, std_misc, path_ext, fs_time)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `std_misc` [INFO] [stdout] --> src/lib.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(core, std_misc, path_ext, fs_time)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `static` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "cfc055e3d10ebbfa8cb595c71e268a93251c7024890dafa766b435e1ea6d0198", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfc055e3d10ebbfa8cb595c71e268a93251c7024890dafa766b435e1ea6d0198", kill_on_drop: false }` [INFO] [stdout] cfc055e3d10ebbfa8cb595c71e268a93251c7024890dafa766b435e1ea6d0198