[INFO] crate findup 0.1.0 is already in cache [INFO] checking findup-0.1.0 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate findup 0.1.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate findup 0.1.0 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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-6/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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] 7ee81d026ef2a1c0628c91c0e23f3e3a03b31d5a8b5ca85696dfb65eb1d75d10 [INFO] running `"docker" "start" "-a" "7ee81d026ef2a1c0628c91c0e23f3e3a03b31d5a8b5ca85696dfb65eb1d75d10"` [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 = 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] [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[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 = 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] [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` in the current scope [INFO] [stderr] --> src/lib.rs:37:38 [INFO] [stderr] | [INFO] [stderr] 37 | let buf: Vec = glob(pattern).collect(); [INFO] [stderr] | ^^^^^^^ method not found in `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: the method `collect` exists but the following trait bounds were not satisfied: [INFO] [stderr] `std::result::Result: std::iter::Iterator` [INFO] [stderr] which is required by `&mut std::result::Result: std::iter::Iterator` [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors; 2 warnings emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `collect` found for enum `std::result::Result` in the current scope [INFO] [stderr] --> src/lib.rs:37:38 [INFO] [stderr] | [INFO] [stderr] 37 | let buf: Vec = glob(pattern).collect(); [INFO] [stderr] | ^^^^^^^ method not found in `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: the method `collect` exists but the following trait bounds were not satisfied: [INFO] [stderr] `std::result::Result: std::iter::Iterator` [INFO] [stderr] which is required by `&mut std::result::Result: std::iter::Iterator` [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors; 2 warnings emitted [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" "7ee81d026ef2a1c0628c91c0e23f3e3a03b31d5a8b5ca85696dfb65eb1d75d10"` [INFO] running `"docker" "rm" "-f" "7ee81d026ef2a1c0628c91c0e23f3e3a03b31d5a8b5ca85696dfb65eb1d75d10"` [INFO] [stdout] 7ee81d026ef2a1c0628c91c0e23f3e3a03b31d5a8b5ca85696dfb65eb1d75d10