[INFO] cloning repository https://github.com/christheblog/graph-commands [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/christheblog/graph-commands" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristheblog%2Fgraph-commands", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristheblog%2Fgraph-commands'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8861930c516adaa8c85ca1628309ded80f9d7d79 [INFO] building christheblog/graph-commands against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristheblog%2Fgraph-commands" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/christheblog/graph-commands on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/christheblog/graph-commands [INFO] finished tweaking git repo https://github.com/christheblog/graph-commands [INFO] tweaked toml for git repo https://github.com/christheblog/graph-commands written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/christheblog/graph-commands 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex v1.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c8ae039d449a8681243d04be24b23d607f1bdd10e56a1bf4eb926b643915de4 [INFO] running `Command { std: "docker" "start" "-a" "5c8ae039d449a8681243d04be24b23d607f1bdd10e56a1bf4eb926b643915de4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c8ae039d449a8681243d04be24b23d607f1bdd10e56a1bf4eb926b643915de4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c8ae039d449a8681243d04be24b23d607f1bdd10e56a1bf4eb926b643915de4", kill_on_drop: false }` [INFO] [stdout] 5c8ae039d449a8681243d04be24b23d607f1bdd10e56a1bf4eb926b643915de4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bcfe8738f7cef5dc9a7f8aed88899b21ce0a2c30387c45cba096b16b2ae2ac0 [INFO] running `Command { std: "docker" "start" "-a" "9bcfe8738f7cef5dc9a7f8aed88899b21ce0a2c30387c45cba096b16b2ae2ac0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.3.5 [INFO] [stderr] Compiling gc-core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Compiling gc-command v0.1.0 (/opt/rustwide/workdir/command) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> command/src/graph_utils.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | Err(io_err) => Err(io_err.description().to_string()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OVERALL_SCORE` is never used [INFO] [stdout] --> command/src/path_formatter.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const OVERALL_SCORE: &str = "{score}"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OVERALL_SCORE_SHORT` is never used [INFO] [stdout] --> command/src/path_formatter.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const OVERALL_SCORE_SHORT: &str = "%S"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NODE_ID` is never used [INFO] [stdout] --> command/src/path_formatter.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const NODE_ID: &str = "{id}"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NODE_ID_SHORT` is never used [INFO] [stdout] --> command/src/path_formatter.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const NODE_ID_SHORT: &str = "%i"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REPEAT` is never used [INFO] [stdout] --> command/src/path_formatter.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const REPEAT: &str = "..."; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> command/src/bin/gc-csp.rs:242:33 [INFO] [stdout] | [INFO] [stdout] 242 | use gc_core::search::a_star;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> command/src/bin/gc-random.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> command/src/bin/gc-csp.rs:282:14 [INFO] [stdout] | [INFO] [stdout] 282 | for c in constraint_ordered { [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] 282 | while let Some(c) = constraint_ordered { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 282 | if let Some(c) = constraint_ordered { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> command/src/bin/gc-csp.rs:285:14 [INFO] [stdout] | [INFO] [stdout] 285 | for c in constraint_include_cycle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 285 | while let Some(c) = constraint_include_cycle { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 285 | if let Some(c) = constraint_include_cycle { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> command/src/bin/gc-csp.rs:288:14 [INFO] [stdout] | [INFO] [stdout] 288 | for c in constraint_no_cycle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 288 | while let Some(c) = constraint_no_cycle { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 288 | if let Some(c) = constraint_no_cycle { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> command/src/bin/gc-csp.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | for c in constraint_min_length { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 291 | while let Some(c) = constraint_min_length { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 291 | if let Some(c) = constraint_min_length { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> command/src/bin/gc-csp.rs:294:14 [INFO] [stdout] | [INFO] [stdout] 294 | for c in constraint_max_length { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 294 | while let Some(c) = constraint_max_length { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 294 | if let Some(c) = constraint_max_length { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> command/src/bin/gc-csp.rs:300:14 [INFO] [stdout] | [INFO] [stdout] 300 | for c in constraint_min_score { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 300 | while let Some(c) = constraint_min_score { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 300 | if let Some(c) = constraint_min_score { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> command/src/bin/gc-csp.rs:303:14 [INFO] [stdout] | [INFO] [stdout] 303 | for c in constraint_max_score { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 303 | while let Some(c) = constraint_max_score { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 303 | if let Some(c) = constraint_max_score { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> command/src/bin/gc-cycle.rs:303:14 [INFO] [stdout] | [INFO] [stdout] 303 | for c in constraint_min_length { [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] 303 | while let Some(c) = constraint_min_length { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 303 | if let Some(c) = constraint_min_length { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> command/src/bin/gc-cycle.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 306 | for c in constraint_max_length { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 306 | while let Some(c) = constraint_max_length { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 306 | if let Some(c) = constraint_max_length { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> command/src/bin/gc-cycle.rs:312:14 [INFO] [stdout] | [INFO] [stdout] 312 | for c in constraint_min_score { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 312 | while let Some(c) = constraint_min_score { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 312 | if let Some(c) = constraint_min_score { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> command/src/bin/gc-cycle.rs:315:14 [INFO] [stdout] | [INFO] [stdout] 315 | for c in constraint_max_score { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 315 | while let Some(c) = constraint_max_score { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 315 | if let Some(c) = constraint_max_score { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.16s [INFO] running `Command { std: "docker" "inspect" "9bcfe8738f7cef5dc9a7f8aed88899b21ce0a2c30387c45cba096b16b2ae2ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bcfe8738f7cef5dc9a7f8aed88899b21ce0a2c30387c45cba096b16b2ae2ac0", kill_on_drop: false }` [INFO] [stdout] 9bcfe8738f7cef5dc9a7f8aed88899b21ce0a2c30387c45cba096b16b2ae2ac0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae02419bba6c9d5164d332de7b49e3ea75b7b6ce8290e25c9bb7bd18ceb40863 [INFO] running `Command { std: "docker" "start" "-a" "ae02419bba6c9d5164d332de7b49e3ea75b7b6ce8290e25c9bb7bd18ceb40863", kill_on_drop: false }` [INFO] [stderr] Compiling gc-core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> command/src/graph_utils.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | Err(io_err) => Err(io_err.description().to_string()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OVERALL_SCORE` is never used [INFO] [stdout] --> command/src/path_formatter.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const OVERALL_SCORE: &str = "{score}"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OVERALL_SCORE_SHORT` is never used [INFO] [stdout] --> command/src/path_formatter.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const OVERALL_SCORE_SHORT: &str = "%S"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gc-command v0.1.0 (/opt/rustwide/workdir/command) [INFO] [stdout] warning: constant `NODE_ID` is never used [INFO] [stdout] --> command/src/path_formatter.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const NODE_ID: &str = "{id}"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NODE_ID_SHORT` is never used [INFO] [stdout] --> command/src/path_formatter.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const NODE_ID_SHORT: &str = "%i"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REPEAT` is never used [INFO] [stdout] --> command/src/path_formatter.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const REPEAT: &str = "..."; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> command/src/bin/gc-csp.rs:242:33 [INFO] [stdout] | [INFO] [stdout] 242 | use gc_core::search::a_star;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> command/src/bin/gc-random.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> command/src/bin/gc-csp.rs:282:14 [INFO] [stdout] | [INFO] [stdout] 282 | for c in constraint_ordered { [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] 282 | while let Some(c) = constraint_ordered { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 282 | if let Some(c) = constraint_ordered { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> command/src/graph_utils.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | Err(io_err) => Err(io_err.description().to_string()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> command/src/bin/gc-csp.rs:285:14 [INFO] [stdout] | [INFO] [stdout] 285 | for c in constraint_include_cycle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 285 | while let Some(c) = constraint_include_cycle { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 285 | if let Some(c) = constraint_include_cycle { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> command/src/bin/gc-csp.rs:288:14 [INFO] [stdout] | [INFO] [stdout] 288 | for c in constraint_no_cycle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 288 | while let Some(c) = constraint_no_cycle { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 288 | if let Some(c) = constraint_no_cycle { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> command/src/bin/gc-csp.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | for c in constraint_min_length { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 291 | while let Some(c) = constraint_min_length { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 291 | if let Some(c) = constraint_min_length { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> command/src/bin/gc-csp.rs:294:14 [INFO] [stdout] | [INFO] [stdout] 294 | for c in constraint_max_length { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 294 | while let Some(c) = constraint_max_length { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 294 | if let Some(c) = constraint_max_length { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> command/src/bin/gc-csp.rs:300:14 [INFO] [stdout] | [INFO] [stdout] 300 | for c in constraint_min_score { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 300 | while let Some(c) = constraint_min_score { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 300 | if let Some(c) = constraint_min_score { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> command/src/bin/gc-csp.rs:303:14 [INFO] [stdout] | [INFO] [stdout] 303 | for c in constraint_max_score { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 303 | while let Some(c) = constraint_max_score { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 303 | if let Some(c) = constraint_max_score { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OVERALL_SCORE` is never used [INFO] [stdout] --> command/src/path_formatter.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const OVERALL_SCORE: &str = "{score}"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OVERALL_SCORE_SHORT` is never used [INFO] [stdout] --> command/src/path_formatter.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const OVERALL_SCORE_SHORT: &str = "%S"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NODE_ID` is never used [INFO] [stdout] --> command/src/path_formatter.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const NODE_ID: &str = "{id}"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NODE_ID_SHORT` is never used [INFO] [stdout] --> command/src/path_formatter.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const NODE_ID_SHORT: &str = "%i"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REPEAT` is never used [INFO] [stdout] --> command/src/path_formatter.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const REPEAT: &str = "..."; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> command/src/bin/gc-cycle.rs:303:14 [INFO] [stdout] | [INFO] [stdout] 303 | for c in constraint_min_length { [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] 303 | while let Some(c) = constraint_min_length { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 303 | if let Some(c) = constraint_min_length { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> command/src/bin/gc-cycle.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 306 | for c in constraint_max_length { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 306 | while let Some(c) = constraint_max_length { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 306 | if let Some(c) = constraint_max_length { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> command/src/bin/gc-cycle.rs:312:14 [INFO] [stdout] | [INFO] [stdout] 312 | for c in constraint_min_score { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 312 | while let Some(c) = constraint_min_score { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 312 | if let Some(c) = constraint_min_score { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> command/src/bin/gc-cycle.rs:315:14 [INFO] [stdout] | [INFO] [stdout] 315 | for c in constraint_max_score { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 315 | while let Some(c) = constraint_max_score { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 315 | if let Some(c) = constraint_max_score { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.06s [INFO] running `Command { std: "docker" "inspect" "ae02419bba6c9d5164d332de7b49e3ea75b7b6ce8290e25c9bb7bd18ceb40863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae02419bba6c9d5164d332de7b49e3ea75b7b6ce8290e25c9bb7bd18ceb40863", kill_on_drop: false }` [INFO] [stdout] ae02419bba6c9d5164d332de7b49e3ea75b7b6ce8290e25c9bb7bd18ceb40863