[INFO] fetching crate bgpview-cli 0.1.0... [INFO] testing bgpview-cli-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate bgpview-cli 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate bgpview-cli 0.1.0 [INFO] finished tweaking crates.io crate bgpview-cli 0.1.0 [INFO] tweaked toml for crates.io crate bgpview-cli 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bgpview-cli 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bgpview-cli 0.1.0 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a36417a9bfc4d44ebf5635ee7c349a20745a0efc46dd9f6494250597dd8676a1 [INFO] running `Command { std: "docker" "start" "-a" "a36417a9bfc4d44ebf5635ee7c349a20745a0efc46dd9f6494250597dd8676a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a36417a9bfc4d44ebf5635ee7c349a20745a0efc46dd9f6494250597dd8676a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a36417a9bfc4d44ebf5635ee7c349a20745a0efc46dd9f6494250597dd8676a1", kill_on_drop: false }` [INFO] [stdout] a36417a9bfc4d44ebf5635ee7c349a20745a0efc46dd9f6494250597dd8676a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b941e2c0bfa290af7c633ce5ddfe4b3429547119bf8f5b4ae3776ea50e523bc9 [INFO] running `Command { std: "docker" "start" "-a" "b941e2c0bfa290af7c633ce5ddfe4b3429547119bf8f5b4ae3776ea50e523bc9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.3 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling proc-macro-error v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.18.0 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling structopt-derive v0.4.8 [INFO] [stderr] Compiling structopt v0.3.15 [INFO] [stderr] Compiling bgpview-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unnecessary parentheses around index expression [INFO] [stdout] --> src/template.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | && template[(pos + 1 + hole.len()..)].starts_with('}') [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_parens)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 7 - && template[(pos + 1 + hole.len()..)].starts_with('}') [INFO] [stdout] 7 + && template[pos + 1 + hole.len()..].starts_with('}') [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around index expression [INFO] [stdout] --> src/template.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | &template[(pos + k.len() + 2..)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - &template[(pos + k.len() + 2..)] [INFO] [stdout] 30 + &template[pos + k.len() + 2..] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bgpview-cli` (bin "bgpview-cli") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "b941e2c0bfa290af7c633ce5ddfe4b3429547119bf8f5b4ae3776ea50e523bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b941e2c0bfa290af7c633ce5ddfe4b3429547119bf8f5b4ae3776ea50e523bc9", kill_on_drop: false }` [INFO] [stdout] b941e2c0bfa290af7c633ce5ddfe4b3429547119bf8f5b4ae3776ea50e523bc9