[INFO] crate scan 0.1.0 is already in cache [INFO] checking scan-0.1.0 against try#1a608893c03d7722effeb0058e82770bd36b4b3c for pr-66504-1 [INFO] extracting crate scan 0.1.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate scan 0.1.0 on toolchain 1a608893c03d7722effeb0058e82770bd36b4b3c [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate scan 0.1.0 [INFO] finished tweaking crates.io crate scan 0.1.0 [INFO] tweaked toml for crates.io crate scan 0.1.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "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] e7aa5e409a2b5ac0582c47c04ec384a5344c2c06b2f854263f7e0dd0f1af7854 [INFO] running `"docker" "start" "-a" "e7aa5e409a2b5ac0582c47c04ec384a5344c2c06b2f854263f7e0dd0f1af7854"` [INFO] [stderr] Checking scan v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved imports `std::io::Chars`, `std::io::CharsError` [INFO] [stderr] --> src/scan.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{Read, Chars, CharsError, BufReader}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ no `CharsError` in `io` [INFO] [stderr] | | [INFO] [stderr] | no `Chars` in `io` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stderr] --> src/scan.rs:51:27 [INFO] [stderr] | [INFO] [stderr] 51 | impl From for ScanError { [INFO] [stderr] | ^^^^^^^^^^ not found in `io` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stderr] --> src/scan.rs:52:20 [INFO] [stderr] | [INFO] [stderr] 52 | fn from(e: io::CharsError) -> ScanError { ScanError::Io(e) } [INFO] [stderr] | ^^^^^^^^^^ not found in `io` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/scan.rs:275:16 [INFO] [stderr] | [INFO] [stderr] 275 | let file = try!(File::open(path)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Display` [INFO] [stderr] --> src/scan.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | use std::fmt::{Debug, Display}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scan.rs:71:32 [INFO] [stderr] | [INFO] [stderr] 71 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `chars` found for type `R` in the current scope [INFO] [stderr] --> src/scan.rs:199:32 [INFO] [stderr] | [INFO] [stderr] 199 | Scanner{ chars: reader.chars(), ignore: f } [INFO] [stderr] | ^^^^^ method not found in `R` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `scan`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved imports `std::io::Chars`, `std::io::CharsError` [INFO] [stderr] --> src/scan.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{Read, Chars, CharsError, BufReader}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ no `CharsError` in `io` [INFO] [stderr] | | [INFO] [stderr] | no `Chars` in `io` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stderr] --> src/scan.rs:51:27 [INFO] [stderr] | [INFO] [stderr] 51 | impl From for ScanError { [INFO] [stderr] | ^^^^^^^^^^ not found in `io` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CharsError` in module `io` [INFO] [stderr] --> src/scan.rs:52:20 [INFO] [stderr] | [INFO] [stderr] 52 | fn from(e: io::CharsError) -> ScanError { ScanError::Io(e) } [INFO] [stderr] | ^^^^^^^^^^ not found in `io` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/scan.rs:275:16 [INFO] [stderr] | [INFO] [stderr] 275 | let file = try!(File::open(path)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Display` [INFO] [stderr] --> src/scan.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | use std::fmt::{Debug, Display}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scan.rs:71:32 [INFO] [stderr] | [INFO] [stderr] 71 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `chars` found for type `R` in the current scope [INFO] [stderr] --> src/scan.rs:199:32 [INFO] [stderr] | [INFO] [stderr] 199 | Scanner{ chars: reader.chars(), ignore: f } [INFO] [stderr] | ^^^^^ method not found in `R` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `scan`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e7aa5e409a2b5ac0582c47c04ec384a5344c2c06b2f854263f7e0dd0f1af7854"` [INFO] running `"docker" "rm" "-f" "e7aa5e409a2b5ac0582c47c04ec384a5344c2c06b2f854263f7e0dd0f1af7854"` [INFO] [stdout] e7aa5e409a2b5ac0582c47c04ec384a5344c2c06b2f854263f7e0dd0f1af7854