[INFO] fetching crate bgpview-cli 0.1.0... [INFO] checking bgpview-cli-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate bgpview-cli 0.1.0 into /workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bgpview-cli 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.65 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.65 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.65 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.65 [INFO] [stderr] Downloaded sct v0.6.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.19 [INFO] [stderr] Downloaded serde_derive v1.0.114 [INFO] [stderr] Downloaded js-sys v0.3.42 [INFO] [stderr] Downloaded webpki v0.21.3 [INFO] [stderr] Downloaded cc v1.0.58 [INFO] [stderr] Downloaded serde_json v1.0.56 [INFO] [stderr] Downloaded wasm-bindgen v0.2.65 [INFO] [stderr] Downloaded rustls v0.18.0 [INFO] [stderr] Downloaded syn v1.0.34 [INFO] [stderr] Downloaded libc v0.2.73 [INFO] [stderr] Downloaded web-sys v0.3.42 [INFO] [stderr] Downloaded ring v0.16.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66df97f7eab199043648756cfd07d436e317c25975c56865eb6c0265f526f0fe [INFO] running `Command { std: "docker" "start" "-a" "66df97f7eab199043648756cfd07d436e317c25975c56865eb6c0265f526f0fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66df97f7eab199043648756cfd07d436e317c25975c56865eb6c0265f526f0fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66df97f7eab199043648756cfd07d436e317c25975c56865eb6c0265f526f0fe", kill_on_drop: false }` [INFO] [stdout] 66df97f7eab199043648756cfd07d436e317c25975c56865eb6c0265f526f0fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1746cb283deb66535ae6ded468bb2de2a96025268b454f313266a9e17278c13 [INFO] running `Command { std: "docker" "start" "-a" "b1746cb283deb66535ae6ded468bb2de2a96025268b454f313266a9e17278c13", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.3 [INFO] [stderr] Compiling proc-macro-error v1.0.3 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Checking rustls v0.18.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling structopt-derive v0.4.8 [INFO] [stderr] Checking structopt v0.3.15 [INFO] [stderr] Checking 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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bgpview-cli` (bin "bgpview-cli" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "b1746cb283deb66535ae6ded468bb2de2a96025268b454f313266a9e17278c13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1746cb283deb66535ae6ded468bb2de2a96025268b454f313266a9e17278c13", kill_on_drop: false }` [INFO] [stdout] b1746cb283deb66535ae6ded468bb2de2a96025268b454f313266a9e17278c13