[INFO] fetching crate svd-parser 0.9.0... [INFO] checking svd-parser-0.9.0 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [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 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.102 [INFO] [stderr] Downloaded anyhow v1.0.20 [INFO] [stderr] Downloaded serde_json v1.0.41 [INFO] [stderr] Downloaded thiserror-impl v1.0.5 [INFO] [stderr] Downloaded serde_derive v1.0.102 [INFO] [stderr] Downloaded thiserror v1.0.5 [INFO] [stderr] Downloaded syn v1.0.7 [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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 60f0cb7c4bcf8577b4b006cf29de78038bdf2de5d27d305d9298c06f69becf3b [INFO] running `Command { std: "docker" "start" "-a" "60f0cb7c4bcf8577b4b006cf29de78038bdf2de5d27d305d9298c06f69becf3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60f0cb7c4bcf8577b4b006cf29de78038bdf2de5d27d305d9298c06f69becf3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60f0cb7c4bcf8577b4b006cf29de78038bdf2de5d27d305d9298c06f69becf3b", kill_on_drop: false }` [INFO] [stdout] 60f0cb7c4bcf8577b4b006cf29de78038bdf2de5d27d305d9298c06f69becf3b [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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 589fc01b13d4c8f80bf9fee4d536e2f723e869bff6d975192e743c50efcf3cd6 [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" "589fc01b13d4c8f80bf9fee4d536e2f723e869bff6d975192e743c50efcf3cd6", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling anyhow v1.0.20 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Checking xml-rs v0.7.0 [INFO] [stderr] Compiling quote v1.0.2 [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: 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] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "589fc01b13d4c8f80bf9fee4d536e2f723e869bff6d975192e743c50efcf3cd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "589fc01b13d4c8f80bf9fee4d536e2f723e869bff6d975192e743c50efcf3cd6", kill_on_drop: false }` [INFO] [stdout] 589fc01b13d4c8f80bf9fee4d536e2f723e869bff6d975192e743c50efcf3cd6