[INFO] fetching crate bgpview-cli 0.1.0... [INFO] testing bgpview-cli-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate bgpview-cli 0.1.0 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bgpview-cli 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2194473eea2c082c30b5983691a246f22dc146041b00b0f0e3b8107c4f04c20 [INFO] running `Command { std: "docker" "start" "-a" "d2194473eea2c082c30b5983691a246f22dc146041b00b0f0e3b8107c4f04c20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2194473eea2c082c30b5983691a246f22dc146041b00b0f0e3b8107c4f04c20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2194473eea2c082c30b5983691a246f22dc146041b00b0f0e3b8107c4f04c20", kill_on_drop: false }` [INFO] [stdout] d2194473eea2c082c30b5983691a246f22dc146041b00b0f0e3b8107c4f04c20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3a91a95a240cc201fa8e07bb69a9ce25ac34a8d57b886c80a277d3bddc881bb [INFO] running `Command { std: "docker" "start" "-a" "d3a91a95a240cc201fa8e07bb69a9ce25ac34a8d57b886c80a277d3bddc881bb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling syn v1.0.34 [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 log v0.4.11 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling quote v1.0.7 [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" "d3a91a95a240cc201fa8e07bb69a9ce25ac34a8d57b886c80a277d3bddc881bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3a91a95a240cc201fa8e07bb69a9ce25ac34a8d57b886c80a277d3bddc881bb", kill_on_drop: false }` [INFO] [stdout] d3a91a95a240cc201fa8e07bb69a9ce25ac34a8d57b886c80a277d3bddc881bb