[INFO] crate findup 0.1.0 is already in cache
[INFO] checking findup-0.1.0 against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] extracting crate findup 0.1.0 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate findup 0.1.0 on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[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-0/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] f3ac1ee201792bd9dc3e22024fe6f6d13741f70e90bac344666ba22a83ac72da
[INFO] running `"docker" "start" "-a" "f3ac1ee201792bd9dc3e22024fe6f6d13741f70e90bac344666ba22a83ac72da"`
[INFO] [stderr]     Checking findup v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unknown lint: `unstable`
[INFO] [stderr]  --> src/lib.rs:3:10
[INFO] [stderr]   |
[INFO] [stderr] 3 | #![allow(unstable)]
[INFO] [stderr]   |          ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unknown lint: `unstable`
[INFO] [stderr]  --> src/lib.rs:3:10
[INFO] [stderr]   |
[INFO] [stderr] 3 | #![allow(unstable)]
[INFO] [stderr]   |          ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::io::fs`
[INFO] [stderr]   --> src/lib.rs:11:14
[INFO] [stderr]    |
[INFO] [stderr] 11 | use std::io::fs::PathExtensions;
[INFO] [stderr]    |              ^^ could not find `fs` in `io`
[INFO] [stderr] 
[INFO] [stderr] error: cannot find attribute `warm` in this scope
[INFO] [stderr]  --> src/lib.rs:4:3
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[warm(unstable)]
[INFO] [stderr]   |   ^^^^ help: a built-in attribute with a similar name exists: `warn`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/lib.rs:14:31
[INFO] [stderr]    |
[INFO] [stderr] 14 |   os::getcwd().unwrap().join(&Path::new(path))
[INFO] [stderr]    |                               ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/lib.rs:18:14
[INFO] [stderr]    |
[INFO] [stderr] 18 |   base.join(&Path::new(path))
[INFO] [stderr]    |              ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/lib.rs:25:20
[INFO] [stderr]    |
[INFO] [stderr] 25 |     _ => cwd.join(&Path::new(partial))
[INFO] [stderr]    |                    ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/lib.rs:34:12
[INFO] [stderr]    |
[INFO] [stderr] 34 |     return Path::new("");
[INFO] [stderr]    |            ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:13:28
[INFO] [stderr]    |
[INFO] [stderr] 13 | fn abs_path(path: &str) -> Path {
[INFO] [stderr]    |                            ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 8  | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `getcwd` in module `os`
[INFO] [stderr]   --> src/lib.rs:14:7
[INFO] [stderr]    |
[INFO] [stderr] 14 |   os::getcwd().unwrap().join(&Path::new(path))
[INFO] [stderr]    |       ^^^^^^ not found in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:17:20
[INFO] [stderr]    |
[INFO] [stderr] 17 | fn full_path(base: Path, path: &str) -> Path {
[INFO] [stderr]    |                    ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 8  | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:17:41
[INFO] [stderr]    |
[INFO] [stderr] 17 | fn full_path(base: Path, path: &str) -> Path {
[INFO] [stderr]    |                                         ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 8  | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:21:32
[INFO] [stderr]    |
[INFO] [stderr] 21 | fn base_path(partial: &str) -> Path {
[INFO] [stderr]    |                                ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 8  | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `getcwd` in module `os`
[INFO] [stderr]   --> src/lib.rs:22:17
[INFO] [stderr]    |
[INFO] [stderr] 22 |   let cwd = os::getcwd().unwrap();
[INFO] [stderr]    |                 ^^^^^^ not found in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:29:41
[INFO] [stderr]    |
[INFO] [stderr] 29 | fn lookup(base: &str, pattern: &str) -> Path {
[INFO] [stderr]    |                                         ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 8  | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:37:16
[INFO] [stderr]    |
[INFO] [stderr] 37 |   let buf: Vec<Path> = glob(pattern).collect();
[INFO] [stderr]    |                ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 8  | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 29 | fn lookup<Path>(base: &str, pattern: &str) -> Path {
[INFO] [stderr]    |          ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:46:33
[INFO] [stderr]    |
[INFO] [stderr] 46 | pub fn findup(pattern: &str) -> Path {
[INFO] [stderr]    |                                 ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 8  | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::path`
[INFO] [stderr]  --> src/lib.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use std::path;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `collect` found for enum `std::result::Result<glob::Paths, glob::PatternError>` in the current scope
[INFO] [stderr]    --> src/lib.rs:37:38
[INFO] [stderr]     |
[INFO] [stderr] 37  |     let buf: Vec<Path> = glob(pattern).collect();
[INFO] [stderr]     |                                        ^^^^^^^ method not found in `std::result::Result<glob::Paths, glob::PatternError>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: the method `collect` exists but the following trait bounds were not satisfied:
[INFO] [stderr]             `std::result::Result<glob::Paths, glob::PatternError>: std::iter::Iterator`
[INFO] [stderr]             which is required by `&mut std::result::Result<glob::Paths, glob::PatternError>: std::iter::Iterator`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 16 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error[E0432]: unresolved import `std::io::fs`
[INFO] [stderr]   --> src/lib.rs:11:14
[INFO] [stderr]    |
[INFO] [stderr] 11 | use std::io::fs::PathExtensions;
[INFO] [stderr]    |              ^^ could not find `fs` in `io`
[INFO] [stderr] 
[INFO] [stderr] error: cannot find attribute `warm` in this scope
[INFO] [stderr]  --> src/lib.rs:4:3
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[warm(unstable)]
[INFO] [stderr]   |   ^^^^ help: a built-in attribute with a similar name exists: `warn`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/lib.rs:14:31
[INFO] [stderr]    |
[INFO] [stderr] 14 |   os::getcwd().unwrap().join(&Path::new(path))
[INFO] [stderr]    |                               ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/lib.rs:18:14
[INFO] [stderr]    |
[INFO] [stderr] 18 |   base.join(&Path::new(path))
[INFO] [stderr]    |              ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/lib.rs:25:20
[INFO] [stderr]    |
[INFO] [stderr] 25 |     _ => cwd.join(&Path::new(partial))
[INFO] [stderr]    |                    ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path`
[INFO] [stderr]   --> src/lib.rs:34:12
[INFO] [stderr]    |
[INFO] [stderr] 34 |     return Path::new("");
[INFO] [stderr]    |            ^^^^ use of undeclared type or module `Path`
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `findup`.
[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[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:13:28
[INFO] [stderr]    |
[INFO] [stderr] 13 | fn abs_path(path: &str) -> Path {
[INFO] [stderr]    |                            ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 8  | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `getcwd` in module `os`
[INFO] [stderr]   --> src/lib.rs:14:7
[INFO] [stderr]    |
[INFO] [stderr] 14 |   os::getcwd().unwrap().join(&Path::new(path))
[INFO] [stderr]    |       ^^^^^^ not found in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:17:20
[INFO] [stderr]    |
[INFO] [stderr] 17 | fn full_path(base: Path, path: &str) -> Path {
[INFO] [stderr]    |                    ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 8  | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:17:41
[INFO] [stderr]    |
[INFO] [stderr] 17 | fn full_path(base: Path, path: &str) -> Path {
[INFO] [stderr]    |                                         ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 8  | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:21:32
[INFO] [stderr]    |
[INFO] [stderr] 21 | fn base_path(partial: &str) -> Path {
[INFO] [stderr]    |                                ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 8  | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `getcwd` in module `os`
[INFO] [stderr]   --> src/lib.rs:22:17
[INFO] [stderr]    |
[INFO] [stderr] 22 |   let cwd = os::getcwd().unwrap();
[INFO] [stderr]    |                 ^^^^^^ not found in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:29:41
[INFO] [stderr]    |
[INFO] [stderr] 29 | fn lookup(base: &str, pattern: &str) -> Path {
[INFO] [stderr]    |                                         ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 8  | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:37:16
[INFO] [stderr]    |
[INFO] [stderr] 37 |   let buf: Vec<Path> = glob(pattern).collect();
[INFO] [stderr]    |                ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 8  | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] help: you might be missing a type parameter
[INFO] [stderr]    |
[INFO] [stderr] 29 | fn lookup<Path>(base: &str, pattern: &str) -> Path {
[INFO] [stderr]    |          ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Path` in this scope
[INFO] [stderr]   --> src/lib.rs:46:33
[INFO] [stderr]    |
[INFO] [stderr] 46 | pub fn findup(pattern: &str) -> Path {
[INFO] [stderr]    |                                 ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 8  | use std::path::Path;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::path`
[INFO] [stderr]  --> src/lib.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use std::path;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `collect` found for enum `std::result::Result<glob::Paths, glob::PatternError>` in the current scope
[INFO] [stderr]    --> src/lib.rs:37:38
[INFO] [stderr]     |
[INFO] [stderr] 37  |     let buf: Vec<Path> = glob(pattern).collect();
[INFO] [stderr]     |                                        ^^^^^^^ method not found in `std::result::Result<glob::Paths, glob::PatternError>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: the method `collect` exists but the following trait bounds were not satisfied:
[INFO] [stderr]             `std::result::Result<glob::Paths, glob::PatternError>: std::iter::Iterator`
[INFO] [stderr]             which is required by `&mut std::result::Result<glob::Paths, glob::PatternError>: std::iter::Iterator`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 16 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `findup`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "f3ac1ee201792bd9dc3e22024fe6f6d13741f70e90bac344666ba22a83ac72da"`
[INFO] running `"docker" "rm" "-f" "f3ac1ee201792bd9dc3e22024fe6f6d13741f70e90bac344666ba22a83ac72da"`
[INFO] [stdout] f3ac1ee201792bd9dc3e22024fe6f6d13741f70e90bac344666ba22a83ac72da
