[INFO] updating cached repository https://github.com/bryanjos/rust-note-example [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5a9cd6b407eb71ee7db08cc19eabd54abad707e4 [INFO] testing bryanjos/rust-note-example against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbryanjos%2Frust-note-example" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bryanjos/rust-note-example on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/bryanjos/rust-note-example [INFO] finished tweaking git repo https://github.com/bryanjos/rust-note-example [INFO] tweaked toml for git repo https://github.com/bryanjos/rust-note-example written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/bryanjos/rust-note-example already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bfbb3a84028f40e7dc0bd2b48e608fbbe45fba6a7b9a0590d6efc06926210eee [INFO] running `"docker" "start" "-a" "bfbb3a84028f40e7dc0bd2b48e608fbbe45fba6a7b9a0590d6efc06926210eee"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling note v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `std::io::File` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::File; [INFO] [stderr] | ^^^^^^^^^^^^^ no `File` in `io` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `fail` in this scope [INFO] [stderr] --> src/main.rs:23:17 [INFO] [stderr] | [INFO] [stderr] 23 | fail!("{} is an unknown command", command); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `fail` in this scope [INFO] [stderr] --> src/main.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | fail!("Unexpected combination of arguments: {}", args); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `fail` in this scope [INFO] [stderr] --> src/main.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 49 | _ => fail!("Could not find note") [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:55:3 [INFO] [stderr] | [INFO] [stderr] 55 | Path::new(file_name) [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `args` in module `os` [INFO] [stderr] --> src/main.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | match os::args().as_slice().tail() { [INFO] [stderr] | ^^^^ not found in `os` [INFO] [stderr] | [INFO] [stderr] help: consider importing this function [INFO] [stderr] | [INFO] [stderr] 4 | use std::env::args; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Path` in this scope [INFO] [stderr] --> src/main.rs:53:28 [INFO] [stderr] | [INFO] [stderr] 53 | fn get_path(title:&str) -> Path { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this struct [INFO] [stderr] | [INFO] [stderr] 4 | use std::path::Path; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:54:27 [INFO] [stderr] | [INFO] [stderr] 54 | let file_name = String::from_str(title).append(".txt"); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 4 | use std::str::FromStr; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 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 `note`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "bfbb3a84028f40e7dc0bd2b48e608fbbe45fba6a7b9a0590d6efc06926210eee"` [INFO] running `"docker" "rm" "-f" "bfbb3a84028f40e7dc0bd2b48e608fbbe45fba6a7b9a0590d6efc06926210eee"` [INFO] [stdout] bfbb3a84028f40e7dc0bd2b48e608fbbe45fba6a7b9a0590d6efc06926210eee