[INFO] fetching crate svd-parser 0.9.0... [INFO] checking svd-parser-0.9.0 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate svd-parser 0.9.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate svd-parser 0.9.0 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate svd-parser 0.9.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate svd-parser 0.9.0 [INFO] tweaked toml for crates.io crate svd-parser 0.9.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate svd-parser 0.9.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c1699a72fe5d18dfa2e2a0c0bcb4fd8233919d6951e66978b1c454b9f6c7937 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8c1699a72fe5d18dfa2e2a0c0bcb4fd8233919d6951e66978b1c454b9f6c7937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c1699a72fe5d18dfa2e2a0c0bcb4fd8233919d6951e66978b1c454b9f6c7937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c1699a72fe5d18dfa2e2a0c0bcb4fd8233919d6951e66978b1c454b9f6c7937", kill_on_drop: false }` [INFO] [stdout] 8c1699a72fe5d18dfa2e2a0c0bcb4fd8233919d6951e66978b1c454b9f6c7937 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08f1218caf69e17493470f4e69ff3587572a2b769bcda980ed1554250f90dbd8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "08f1218caf69e17493470f4e69ff3587572a2b769bcda980ed1554250f90dbd8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling anyhow v1.0.20 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Checking xml-rs v0.7.0 [INFO] [stderr] Checking xmltree v0.8.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Compiling thiserror-impl v1.0.5 [INFO] [stderr] Checking thiserror v1.0.5 [INFO] [stderr] Checking svd-parser v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unnecessary parentheses around block return value [INFO] [stdout] --> src/svd/bitrange.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | / ( [INFO] [stdout] 96 | | // Special case because offset and width are directly provided [INFO] [stdout] 97 | | // (ie. do not need to be calculated as in the final step) [INFO] [stdout] 98 | | return Ok(BitRange { [INFO] [stdout] ... | [INFO] [stdout] 108 | | }) [INFO] [stdout] 109 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_parens)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 | // Special case because offset and width are directly provided [INFO] [stdout] 96 | // (ie. do not need to be calculated as in the final step) [INFO] [stdout] 97 | return Ok(BitRange { [INFO] [stdout] 98 | // TODO: capture that error comes from offset/width tag [INFO] [stdout] 99 | // TODO: `u32::parse` should not hide it's errors [INFO] [stdout] 100 | offset: u32::parse(offset).with_context(|| { [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around block return value [INFO] [stdout] --> src/svd/bitrange.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | / ( [INFO] [stdout] 96 | | // Special case because offset and width are directly provided [INFO] [stdout] 97 | | // (ie. do not need to be calculated as in the final step) [INFO] [stdout] 98 | | return Ok(BitRange { [INFO] [stdout] ... | [INFO] [stdout] 108 | | }) [INFO] [stdout] 109 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 | // Special case because offset and width are directly provided [INFO] [stdout] 96 | // (ie. do not need to be calculated as in the final step) [INFO] [stdout] 97 | return Ok(BitRange { [INFO] [stdout] 98 | // TODO: capture that error comes from offset/width tag [INFO] [stdout] 99 | // TODO: `u32::parse` should not hide it's errors [INFO] [stdout] 100 | offset: u32::parse(offset).with_context(|| { [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around block return value [INFO] [stdout] --> src/svd/bitrange.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | / ( [INFO] [stdout] 96 | | // Special case because offset and width are directly provided [INFO] [stdout] 97 | | // (ie. do not need to be calculated as in the final step) [INFO] [stdout] 98 | | return Ok(BitRange { [INFO] [stdout] ... | [INFO] [stdout] 108 | | }) [INFO] [stdout] 109 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_parens)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 | // Special case because offset and width are directly provided [INFO] [stdout] 96 | // (ie. do not need to be calculated as in the final step) [INFO] [stdout] 97 | return Ok(BitRange { [INFO] [stdout] 98 | // TODO: capture that error comes from offset/width tag [INFO] [stdout] 99 | // TODO: `u32::parse` should not hide it's errors [INFO] [stdout] 100 | offset: u32::parse(offset).with_context(|| { [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around block return value [INFO] [stdout] --> src/svd/bitrange.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | / ( [INFO] [stdout] 96 | | // Special case because offset and width are directly provided [INFO] [stdout] 97 | | // (ie. do not need to be calculated as in the final step) [INFO] [stdout] 98 | | return Ok(BitRange { [INFO] [stdout] ... | [INFO] [stdout] 108 | | }) [INFO] [stdout] 109 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 | // Special case because offset and width are directly provided [INFO] [stdout] 96 | // (ie. do not need to be calculated as in the final step) [INFO] [stdout] 97 | return Ok(BitRange { [INFO] [stdout] 98 | // TODO: capture that error comes from offset/width tag [INFO] [stdout] 99 | // TODO: `u32::parse` should not hide it's errors [INFO] [stdout] 100 | offset: u32::parse(offset).with_context(|| { [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `svd-parser` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "08f1218caf69e17493470f4e69ff3587572a2b769bcda980ed1554250f90dbd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08f1218caf69e17493470f4e69ff3587572a2b769bcda980ed1554250f90dbd8", kill_on_drop: false }` [INFO] [stdout] 08f1218caf69e17493470f4e69ff3587572a2b769bcda980ed1554250f90dbd8