[INFO] fetching crate findup 0.1.0... [INFO] checking findup-0.1.0 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate findup 0.1.0 into /workspace/builds/worker-92/source [INFO] validating manifest of crates.io crate findup 0.1.0 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate findup 0.1.0 [INFO] finished tweaking crates.io crate findup 0.1.0 [INFO] tweaked toml for crates.io crate findup 0.1.0 written to /workspace/builds/worker-92/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f3c29cf9b0918806072dbb13e9fe9a7344e8ed0cce61d9ab792e7d33a1ad8c3 [INFO] running `Command { std: "docker" "start" "-a" "1f3c29cf9b0918806072dbb13e9fe9a7344e8ed0cce61d9ab792e7d33a1ad8c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f3c29cf9b0918806072dbb13e9fe9a7344e8ed0cce61d9ab792e7d33a1ad8c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f3c29cf9b0918806072dbb13e9fe9a7344e8ed0cce61d9ab792e7d33a1ad8c3", kill_on_drop: false }` [INFO] [stdout] 1f3c29cf9b0918806072dbb13e9fe9a7344e8ed0cce61d9ab792e7d33a1ad8c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 209339c598dd8af545800bfaaf8f83f6e413d8bbc826199f19057b82b6242994 [INFO] running `Command { std: "docker" "start" "-a" "209339c598dd8af545800bfaaf8f83f6e413d8bbc826199f19057b82b6242994", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking findup v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/lib.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/lib.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::fs` [INFO] [stdout] --> src/lib.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::fs::PathExtensions; [INFO] [stdout] | ^^ could not find `fs` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::fs` [INFO] [stdout] --> src/lib.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::fs::PathExtensions; [INFO] [stdout] | ^^ could not find `fs` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `warm` in this scope [INFO] [stdout] --> src/lib.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[warm(unstable)] [INFO] [stdout] | ^^^^ help: a built-in attribute with a similar name exists: `warn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | fn abs_path(path: &str) -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getcwd` in module `os` [INFO] [stdout] --> src/lib.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | os::getcwd().unwrap().join(&Path::new(path)) [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | os::getcwd().unwrap().join(&Path::new(path)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn full_path(base: Path, path: &str) -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `warm` in this scope [INFO] [stdout] --> src/lib.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[warm(unstable)] [INFO] [stdout] | ^^^^ help: a built-in attribute with a similar name exists: `warn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | fn full_path(base: Path, path: &str) -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | fn abs_path(path: &str) -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | base.join(&Path::new(path)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getcwd` in module `os` [INFO] [stdout] --> src/lib.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | os::getcwd().unwrap().join(&Path::new(path)) [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | fn base_path(partial: &str) -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | os::getcwd().unwrap().join(&Path::new(path)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getcwd` in module `os` [INFO] [stdout] --> src/lib.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let cwd = os::getcwd().unwrap(); [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | fn full_path(base: Path, path: &str) -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | _ => cwd.join(&Path::new(partial)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | fn full_path(base: Path, path: &str) -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | fn lookup(base: &str, pattern: &str) -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | base.join(&Path::new(path)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | return Path::new(""); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | fn base_path(partial: &str) -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | let buf: Vec = glob(pattern).collect(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getcwd` in module `os` [INFO] [stdout] --> src/lib.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let cwd = os::getcwd().unwrap(); [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn findup(pattern: &str) -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | _ => cwd.join(&Path::new(partial)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | fn lookup(base: &str, pattern: &str) -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | return Path::new(""); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | let buf: Vec = glob(pattern).collect(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn findup(pattern: &str) -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `findup` due to 17 previous errors; 2 warnings emitted [INFO] [stdout] error[E0599]: the method `collect` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | let buf: Vec = glob(pattern).collect(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: Iterator` [INFO] [stdout] which is required by `&mut Result: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 16 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | let buf: Vec = glob(pattern).collect(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Result: Iterator` [INFO] [stdout] which is required by `&mut Result: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "209339c598dd8af545800bfaaf8f83f6e413d8bbc826199f19057b82b6242994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "209339c598dd8af545800bfaaf8f83f6e413d8bbc826199f19057b82b6242994", kill_on_drop: false }` [INFO] [stdout] 209339c598dd8af545800bfaaf8f83f6e413d8bbc826199f19057b82b6242994