[INFO] cloning repository https://github.com/JosephLing/temp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JosephLing/temp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephLing%2Ftemp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephLing%2Ftemp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf7bf17f16e3077a66721fd29c85620685b04254 [INFO] checking JosephLing/temp against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosephLing%2Ftemp" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JosephLing/temp [INFO] finished tweaking git repo https://github.com/JosephLing/temp [INFO] tweaked toml for git repo https://github.com/JosephLing/temp written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JosephLing/temp on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JosephLing/temp already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65a02fc9885271b4d627e425c625865a856c3557a5882d328de8b8a69f78aa6f [INFO] running `Command { std: "docker" "start" "-a" "65a02fc9885271b4d627e425c625865a856c3557a5882d328de8b8a69f78aa6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65a02fc9885271b4d627e425c625865a856c3557a5882d328de8b8a69f78aa6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65a02fc9885271b4d627e425c625865a856c3557a5882d328de8b8a69f78aa6f", kill_on_drop: false }` [INFO] [stdout] 65a02fc9885271b4d627e425c625865a856c3557a5882d328de8b8a69f78aa6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c441967a95716f9e24aae4fc3333f05a9154a8b2331dc67ebd7f41bb245449ba [INFO] running `Command { std: "docker" "start" "-a" "c441967a95716f9e24aae4fc3333f05a9154a8b2331dc67ebd7f41bb245449ba", 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.63 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling argh_shared v0.1.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking convert_case v0.4.0 [INFO] [stderr] Checking lib-ruby-parser v3.0.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling argh_derive v0.1.4 [INFO] [stderr] Checking argh v0.1.4 [INFO] [stderr] Checking rts v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/views.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 326 | ... todo!("return type hmmm or a string for the vector, I guess it will have to be some kinda string in the vec so we can get the position in the json correct"); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------ any code following this expression is unreachable [INFO] [stdout] 327 | ... assert_eq!(helper(input), ["admin".to_owned()]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/views.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | for arg in &begin.args { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 29 - for arg in &begin.args { [INFO] [stdout] 29 + while let Some(arg) = &begin.args { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 29 - for arg in &begin.args { [INFO] [stdout] 29 + if let Some(arg) = &begin.args { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/views.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | for arg in &begin.body { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 32 - for arg in &begin.body { [INFO] [stdout] 32 + while let Some(arg) = &begin.body { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 32 - for arg in &begin.body { [INFO] [stdout] 32 + if let Some(arg) = &begin.body { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/views.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | for arg in &begin.args { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 44 - for arg in &begin.args { [INFO] [stdout] 44 + while let Some(arg) = &begin.args { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 44 - for arg in &begin.args { [INFO] [stdout] 44 + if let Some(arg) = &begin.args { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/views.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | for arg in &begin.body { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 47 - for arg in &begin.body { [INFO] [stdout] 47 + while let Some(arg) = &begin.body { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 47 - for arg in &begin.body { [INFO] [stdout] 47 + if let Some(arg) = &begin.body { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/views.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | let input = " [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/views.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | for arg in &begin.args { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 29 - for arg in &begin.args { [INFO] [stdout] 29 + while let Some(arg) = &begin.args { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 29 - for arg in &begin.args { [INFO] [stdout] 29 + if let Some(arg) = &begin.args { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/views.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | for arg in &begin.body { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 32 - for arg in &begin.body { [INFO] [stdout] 32 + while let Some(arg) = &begin.body { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 32 - for arg in &begin.body { [INFO] [stdout] 32 + if let Some(arg) = &begin.body { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/views.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | for arg in &begin.args { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 44 - for arg in &begin.args { [INFO] [stdout] 44 + while let Some(arg) = &begin.args { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 44 - for arg in &begin.args { [INFO] [stdout] 44 + if let Some(arg) = &begin.args { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/views.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | for arg in &begin.body { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 47 - for arg in &begin.body { [INFO] [stdout] 47 + while let Some(arg) = &begin.body { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 47 - for arg in &begin.body { [INFO] [stdout] 47 + if let Some(arg) = &begin.body { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.90s [INFO] running `Command { std: "docker" "inspect" "c441967a95716f9e24aae4fc3333f05a9154a8b2331dc67ebd7f41bb245449ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c441967a95716f9e24aae4fc3333f05a9154a8b2331dc67ebd7f41bb245449ba", kill_on_drop: false }` [INFO] [stdout] c441967a95716f9e24aae4fc3333f05a9154a8b2331dc67ebd7f41bb245449ba