[INFO] crate svd-parser 0.9.0 is already in cache [INFO] checking svd-parser-0.9.0 against try#f149601db42efe10ece8b284ab681fd4a6fcb89c for pr-68766 [INFO] extracting crate svd-parser 0.9.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate svd-parser 0.9.0 on toolchain f149601db42efe10ece8b284ab681fd4a6fcb89c [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "read-manifest" "--manifest-path" "Cargo.toml"` [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-13/source/Cargo.toml [INFO] crate crates.io crate svd-parser 0.9.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 46bba5f088f0f61035869f5ec599940e04a78c346a8e6022c6a8b0dd46ce42f9 [INFO] running `"docker" "start" "-a" "46bba5f088f0f61035869f5ec599940e04a78c346a8e6022c6a8b0dd46ce42f9"` [INFO] [stderr] Compiling anyhow v1.0.20 [INFO] [stderr] Compiling thiserror-impl v1.0.5 [INFO] [stderr] Checking xmltree v0.8.0 [INFO] [stderr] Checking thiserror v1.0.5 [INFO] [stderr] Checking svd-parser v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0425]: cannot find value `_0` in this scope [INFO] [stderr] --> src/error.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | #[error("Unknown endianness `{0}`")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_1` in this scope [INFO] [stderr] --> src/error.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | #[error("Expected a <{1}> tag, found none")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_1` in this scope [INFO] [stderr] --> src/error.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | #[error("Expected content in <{1}> tag, found none")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_1` in this scope [INFO] [stderr] --> src/error.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | #[error("unknown access variant '{1}' found")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_1` in this scope [INFO] [stderr] --> src/error.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | #[error("Bit range invalid, {1:?}")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_1` in this scope [INFO] [stderr] --> src/error.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | #[error("Expected a <{1}>, found ...")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_1` in this scope [INFO] [stderr] --> src/error.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | #[error("Invalid RegisterCluster (expected register or cluster), found {1}")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_1` in this scope [INFO] [stderr] --> src/error.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | #[error("Invalid modifiedWriteValues variant, found {1}")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_1` in this scope [INFO] [stderr] --> src/error.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | #[error("The content of the element could not be parsed to a boolean value {1}: {2}")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_2` in this scope [INFO] [stderr] --> src/error.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | #[error("The content of the element could not be parsed to a boolean value {1}: {2}")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_0` in this scope [INFO] [stderr] --> src/error.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | #[error("encoding method not implemented for svd object {0}")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: unnecessary parentheses around block return value [INFO] [stderr] --> src/svd/bitrange.rs:95:13 [INFO] [stderr] | [INFO] [stderr] 95 | / ( [INFO] [stderr] 96 | | // Special case because offset and width are directly provided [INFO] [stderr] 97 | | // (ie. do not need to be calculated as in the final step) [INFO] [stderr] 98 | | return Ok(BitRange { [INFO] [stderr] ... | [INFO] [stderr] 108 | | }) [INFO] [stderr] 109 | | ) [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[deny(unused_parens)]` implied by `#[deny(warnings)]` [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 95 | [INFO] [stderr] 96 | // Special case because offset and width are directly provided [INFO] [stderr] 97 | // (ie. do not need to be calculated as in the final step) [INFO] [stderr] 98 | return Ok(BitRange { [INFO] [stderr] 99 | // TODO: capture that error comes from offset/width tag [INFO] [stderr] 100 | // TODO: `u32::parse` should not hide it's errors [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_0` in this scope [INFO] [stderr] --> src/error.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | #[error("Unknown endianness `{0}`")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_1` in this scope [INFO] [stderr] --> src/error.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | #[error("Expected a <{1}> tag, found none")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_1` in this scope [INFO] [stderr] --> src/error.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | #[error("Expected content in <{1}> tag, found none")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_1` in this scope [INFO] [stderr] --> src/error.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | #[error("unknown access variant '{1}' found")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_1` in this scope [INFO] [stderr] --> src/error.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | #[error("Bit range invalid, {1:?}")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_1` in this scope [INFO] [stderr] --> src/error.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | #[error("Expected a <{1}>, found ...")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_1` in this scope [INFO] [stderr] --> src/error.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | #[error("Invalid RegisterCluster (expected register or cluster), found {1}")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_1` in this scope [INFO] [stderr] --> src/error.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | #[error("Invalid modifiedWriteValues variant, found {1}")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_1` in this scope [INFO] [stderr] --> src/error.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | #[error("The content of the element could not be parsed to a boolean value {1}: {2}")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_2` in this scope [INFO] [stderr] --> src/error.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | #[error("The content of the element could not be parsed to a boolean value {1}: {2}")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `_0` in this scope [INFO] [stderr] --> src/error.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | #[error("encoding method not implemented for svd object {0}")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: unnecessary parentheses around block return value [INFO] [stderr] --> src/svd/bitrange.rs:95:13 [INFO] [stderr] | [INFO] [stderr] 95 | / ( [INFO] [stderr] 96 | | // Special case because offset and width are directly provided [INFO] [stderr] 97 | | // (ie. do not need to be calculated as in the final step) [INFO] [stderr] 98 | | return Ok(BitRange { [INFO] [stderr] ... | [INFO] [stderr] 108 | | }) [INFO] [stderr] 109 | | ) [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[deny(unused_parens)]` implied by `#[deny(warnings)]` [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 95 | [INFO] [stderr] 96 | // Special case because offset and width are directly provided [INFO] [stderr] 97 | // (ie. do not need to be calculated as in the final step) [INFO] [stderr] 98 | return Ok(BitRange { [INFO] [stderr] 99 | // TODO: capture that error comes from offset/width tag [INFO] [stderr] 100 | // TODO: `u32::parse` should not hide it's errors [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `svd-parser`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 12 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `svd-parser`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "46bba5f088f0f61035869f5ec599940e04a78c346a8e6022c6a8b0dd46ce42f9"` [INFO] running `"docker" "rm" "-f" "46bba5f088f0f61035869f5ec599940e04a78c346a8e6022c6a8b0dd46ce42f9"` [INFO] [stdout] 46bba5f088f0f61035869f5ec599940e04a78c346a8e6022c6a8b0dd46ce42f9