[INFO] fetching crate static 0.0.4... [INFO] checking static-0.0.4 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate static 0.0.4 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate static 0.0.4 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 896371222a8e677589f1bbe7de4696c3417589d313af7c3084f3bd2abbfb8d2e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "896371222a8e677589f1bbe7de4696c3417589d313af7c3084f3bd2abbfb8d2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "896371222a8e677589f1bbe7de4696c3417589d313af7c3084f3bd2abbfb8d2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "896371222a8e677589f1bbe7de4696c3417589d313af7c3084f3bd2abbfb8d2e", kill_on_drop: false }` [INFO] [stdout] 896371222a8e677589f1bbe7de4696c3417589d313af7c3084f3bd2abbfb8d2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38e1f58b333f0b7f150c37b2c0084381f616d28fc51118efd6e9f34aa1b25c95 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "38e1f58b333f0b7f150c37b2c0084381f616d28fc51118efd6e9f34aa1b25c95", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking mime v0.2.6 [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 standback v0.2.15 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking uuid v0.5.1 [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] Checking iron v0.6.1 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking mount v0.4.0 [INFO] [stderr] Checking iron-test v0.6.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking 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[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: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `static` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "38e1f58b333f0b7f150c37b2c0084381f616d28fc51118efd6e9f34aa1b25c95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38e1f58b333f0b7f150c37b2c0084381f616d28fc51118efd6e9f34aa1b25c95", kill_on_drop: false }` [INFO] [stdout] 38e1f58b333f0b7f150c37b2c0084381f616d28fc51118efd6e9f34aa1b25c95