[INFO] fetching crate svd-parser 0.9.0... [INFO] checking svd-parser-0.9.0 against master#836c31742687ba4e2f857b5b698e1e9e6b67619c for pr-81789 [INFO] extracting crate svd-parser 0.9.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate svd-parser 0.9.0 on toolchain 836c31742687ba4e2f857b5b698e1e9e6b67619c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "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-1/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" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b344c95b1caab0308ed8eda6c3c890a1e4e2237bd6cbce43ade70c8e4daac80 [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" "2b344c95b1caab0308ed8eda6c3c890a1e4e2237bd6cbce43ade70c8e4daac80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b344c95b1caab0308ed8eda6c3c890a1e4e2237bd6cbce43ade70c8e4daac80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b344c95b1caab0308ed8eda6c3c890a1e4e2237bd6cbce43ade70c8e4daac80", kill_on_drop: false }` [INFO] [stdout] 2b344c95b1caab0308ed8eda6c3c890a1e4e2237bd6cbce43ade70c8e4daac80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 097db6d38a28660dd6004efa9ff81bb1b5a37b2f15f66d882fab661a7f5f359e [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" "097db6d38a28660dd6004efa9ff81bb1b5a37b2f15f66d882fab661a7f5f359e", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking xml-rs v0.7.0 [INFO] [stderr] Checking xmltree v0.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.5 [INFO] [stderr] Checking serde_json v1.0.41 [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: 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: 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: build failed [INFO] running `Command { std: "docker" "inspect" "097db6d38a28660dd6004efa9ff81bb1b5a37b2f15f66d882fab661a7f5f359e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "097db6d38a28660dd6004efa9ff81bb1b5a37b2f15f66d882fab661a7f5f359e", kill_on_drop: false }` [INFO] [stdout] 097db6d38a28660dd6004efa9ff81bb1b5a37b2f15f66d882fab661a7f5f359e