[INFO] cloning repository https://github.com/nastevens/rnav [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nastevens/rnav" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnastevens%2Frnav", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnastevens%2Frnav'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 778e0a4aa6c0c9277369686f29921373da71efb5 [INFO] checking nastevens/rnav against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnastevens%2Frnav" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nastevens/rnav on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nastevens/rnav [INFO] finished tweaking git repo https://github.com/nastevens/rnav [INFO] tweaked toml for git repo https://github.com/nastevens/rnav written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/nastevens/rnav already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-13/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/docopt/docopt.rs` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2d7cb166bb4dc881050931dd6a9b734d584947a1895f094c0a2bd1a6352e00c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b2d7cb166bb4dc881050931dd6a9b734d584947a1895f094c0a2bd1a6352e00c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2d7cb166bb4dc881050931dd6a9b734d584947a1895f094c0a2bd1a6352e00c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2d7cb166bb4dc881050931dd6a9b734d584947a1895f094c0a2bd1a6352e00c", kill_on_drop: false }` [INFO] [stdout] b2d7cb166bb4dc881050931dd6a9b734d584947a1895f094c0a2bd1a6352e00c [INFO] running `Command { std: "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" "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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 11b87ac8a0f79fcffe574792a45cfd3ad208e8d2ed4664b397bec3d9f7e5e0c9 [INFO] running `Command { std: "docker" "start" "-a" "11b87ac8a0f79fcffe574792a45cfd3ad208e8d2ed4664b397bec3d9f7e5e0c9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.43 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking strsim v0.9.3 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking docopt v1.1.0 (https://github.com/docopt/docopt.rs#be4aaf22) [INFO] [stderr] Checking rnav v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::fs::PathExt` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fs::PathExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `PathExt` in `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `printf` in this scope [INFO] [stdout] --> src/main.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | None => printf!("echo \"Alias {} is not defined\" >&2", alias) [INFO] [stdout] | ^^^^^^ help: a macro with a similar name exists: `print` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | match env::home_dir() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::fs::PathExt` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fs::PathExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `PathExt` in `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `printf` in this scope [INFO] [stdout] --> src/main.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | None => printf!("echo \"Alias {} is not defined\" >&2", alias) [INFO] [stdout] | ^^^^^^ help: a macro with a similar name exists: `print` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | match env::home_dir() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | match get_target_for_alias(alias) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&alias` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | fn do_cd(alias: String) -> i32 { [INFO] [stdout] | ----- ^^^ expected `i32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | match get_target_for_alias(alias) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&alias` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | fn do_cd(alias: String) -> i32 { [INFO] [stdout] | ----- ^^^ expected `i32`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode` found for struct `Docopt` in the current scope [INFO] [stdout] --> src/main.rs:97:45 [INFO] [stdout] | [INFO] [stdout] 97 | ... .and_then(|d| d.decode()) [INFO] [stdout] | ^^^^^^ method not found in `Docopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 95 | fn dispatch_command() -> i32 { [INFO] [stdout] | --- expected `i32` because of return type [INFO] [stdout] ... [INFO] [stdout] 106 | do_add(opt) [INFO] [stdout] | ^^^^^^^^^^^ expected `i32`, found struct `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode` found for struct `Docopt` in the current scope [INFO] [stdout] --> src/main.rs:97:45 [INFO] [stdout] | [INFO] [stdout] 97 | ... .and_then(|d| d.decode()) [INFO] [stdout] | ^^^^^^ method not found in `Docopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 95 | fn dispatch_command() -> i32 { [INFO] [stdout] | --- expected `i32` because of return type [INFO] [stdout] ... [INFO] [stdout] 108 | do_show(opt) [INFO] [stdout] | ^^^^^^^^^^^^ expected `i32`, found struct `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 95 | fn dispatch_command() -> i32 { [INFO] [stdout] | --- expected `i32` because of return type [INFO] [stdout] ... [INFO] [stdout] 106 | do_add(opt) [INFO] [stdout] | ^^^^^^^^^^^ expected `i32`, found struct `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 95 | fn dispatch_command() -> i32 { [INFO] [stdout] | --- expected `i32` because of return type [INFO] [stdout] ... [INFO] [stdout] 110 | do_rm(opt) [INFO] [stdout] | ^^^^^^^^^^ expected `i32`, found struct `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 95 | fn dispatch_command() -> i32 { [INFO] [stdout] | --- expected `i32` because of return type [INFO] [stdout] ... [INFO] [stdout] 108 | do_show(opt) [INFO] [stdout] | ^^^^^^^^^^^^ expected `i32`, found struct `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 95 | fn dispatch_command() -> i32 { [INFO] [stdout] | --- expected `i32` because of return type [INFO] [stdout] ... [INFO] [stdout] 112 | do_clear(opt) [INFO] [stdout] | ^^^^^^^^^^^^^ expected `i32`, found struct `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 95 | fn dispatch_command() -> i32 { [INFO] [stdout] | --- expected `i32` because of return type [INFO] [stdout] ... [INFO] [stdout] 110 | do_rm(opt) [INFO] [stdout] | ^^^^^^^^^^ expected `i32`, found struct `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 95 | fn dispatch_command() -> i32 { [INFO] [stdout] | --- expected `i32` because of return type [INFO] [stdout] ... [INFO] [stdout] 114 | do_list(opt) [INFO] [stdout] | ^^^^^^^^^^^^ expected `i32`, found struct `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 95 | fn dispatch_command() -> i32 { [INFO] [stdout] | --- expected `i32` because of return type [INFO] [stdout] ... [INFO] [stdout] 112 | do_clear(opt) [INFO] [stdout] | ^^^^^^^^^^^^^ expected `i32`, found struct `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 95 | fn dispatch_command() -> i32 { [INFO] [stdout] | --- expected `i32` because of return type [INFO] [stdout] ... [INFO] [stdout] 116 | do_prune(opt) [INFO] [stdout] | ^^^^^^^^^^^^^ expected `i32`, found struct `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rnav` [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 122 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 125 | dispatch_command() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^- help: try adding a semicolon: `;` [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 95 | fn dispatch_command() -> i32 { [INFO] [stdout] | --- expected `i32` because of return type [INFO] [stdout] ... [INFO] [stdout] 114 | do_list(opt) [INFO] [stdout] | ^^^^^^^^^^^^ expected `i32`, found struct `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 95 | fn dispatch_command() -> i32 { [INFO] [stdout] | --- expected `i32` because of return type [INFO] [stdout] ... [INFO] [stdout] 116 | do_prune(opt) [INFO] [stdout] | ^^^^^^^^^^^^^ expected `i32`, found struct `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 122 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 125 | dispatch_command() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^- help: try adding a semicolon: `;` [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "11b87ac8a0f79fcffe574792a45cfd3ad208e8d2ed4664b397bec3d9f7e5e0c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11b87ac8a0f79fcffe574792a45cfd3ad208e8d2ed4664b397bec3d9f7e5e0c9", kill_on_drop: false }` [INFO] [stdout] 11b87ac8a0f79fcffe574792a45cfd3ad208e8d2ed4664b397bec3d9f7e5e0c9