[INFO] fetching crate svd-parser 0.9.0... [INFO] checking svd-parser-0.9.0 against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] extracting crate svd-parser 0.9.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate svd-parser 0.9.0 on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "read-manifest" "--manifest-path" "Cargo.toml", 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-10/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" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19e62b21773a67064d8037b7cdd35d515275826004a572d2790911ec90853135 [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" "19e62b21773a67064d8037b7cdd35d515275826004a572d2790911ec90853135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19e62b21773a67064d8037b7cdd35d515275826004a572d2790911ec90853135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19e62b21773a67064d8037b7cdd35d515275826004a572d2790911ec90853135", kill_on_drop: false }` [INFO] [stdout] 19e62b21773a67064d8037b7cdd35d515275826004a572d2790911ec90853135 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f048d8ae3c445f80cdc2ee3cb247f777c66682ffd5c8e0a58b0c56e0471232a [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" "2f048d8ae3c445f80cdc2ee3cb247f777c66682ffd5c8e0a58b0c56e0471232a", 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] Compiling ryu v1.0.2 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking itoa v0.4.4 [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] 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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `svd-parser` [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2f048d8ae3c445f80cdc2ee3cb247f777c66682ffd5c8e0a58b0c56e0471232a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f048d8ae3c445f80cdc2ee3cb247f777c66682ffd5c8e0a58b0c56e0471232a", kill_on_drop: false }` [INFO] [stdout] 2f048d8ae3c445f80cdc2ee3cb247f777c66682ffd5c8e0a58b0c56e0471232a