[INFO] fetching crate ral 0.2.0... [INFO] testing ral-0.2.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate ral 0.2.0 into /workspace/builds/worker-27/source [INFO] validating manifest of crates.io crate ral 0.2.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ral 0.2.0 [INFO] finished tweaking crates.io crate ral 0.2.0 [INFO] tweaked toml for crates.io crate ral 0.2.0 written to /workspace/builds/worker-27/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de980e876fc0fa24e342ea0acbbffbe4da453cf41389a13db29bddf3d0f80962 [INFO] running `Command { std: "docker" "start" "-a" "de980e876fc0fa24e342ea0acbbffbe4da453cf41389a13db29bddf3d0f80962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de980e876fc0fa24e342ea0acbbffbe4da453cf41389a13db29bddf3d0f80962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de980e876fc0fa24e342ea0acbbffbe4da453cf41389a13db29bddf3d0f80962", kill_on_drop: false }` [INFO] [stdout] de980e876fc0fa24e342ea0acbbffbe4da453cf41389a13db29bddf3d0f80962 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba60dddecbd04a659bfe73661aa83d939f429ad01b0338d6280f1069e16819e5 [INFO] running `Command { std: "docker" "start" "-a" "ba60dddecbd04a659bfe73661aa83d939f429ad01b0338d6280f1069e16819e5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling ral-macro v0.2.0 [INFO] [stderr] Compiling ral v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.64s [INFO] running `Command { std: "docker" "inspect" "ba60dddecbd04a659bfe73661aa83d939f429ad01b0338d6280f1069e16819e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba60dddecbd04a659bfe73661aa83d939f429ad01b0338d6280f1069e16819e5", kill_on_drop: false }` [INFO] [stdout] ba60dddecbd04a659bfe73661aa83d939f429ad01b0338d6280f1069e16819e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4eaee2a3756707b7f025082671256f8d7986c5d37c023b627301fb441e92e8f [INFO] running `Command { std: "docker" "start" "-a" "a4eaee2a3756707b7f025082671256f8d7986c5d37c023b627301fb441e92e8f", kill_on_drop: false }` [INFO] [stderr] Compiling ral v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.52s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/ral-274779162f9bcaac) [INFO] running `Command { std: "docker" "inspect" "a4eaee2a3756707b7f025082671256f8d7986c5d37c023b627301fb441e92e8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4eaee2a3756707b7f025082671256f8d7986c5d37c023b627301fb441e92e8f", kill_on_drop: false }` [INFO] [stdout] a4eaee2a3756707b7f025082671256f8d7986c5d37c023b627301fb441e92e8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8d1eedeb74a2361b544b1c8301e373374a8ac350606259202486c240708b8315 [INFO] running `Command { std: "docker" "start" "-a" "8d1eedeb74a2361b544b1c8301e373374a8ac350606259202486c240708b8315", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ral-274779162f9bcaac) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::test_get ... ok [INFO] [stdout] test tests::test_register_access ... ok [INFO] [stdout] test tests::test_set ... ok [INFO] [stdout] test tests::test_update ... ok [INFO] [stdout] test tests::test_reset ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ral [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - (line 208) ... ignored [INFO] [stdout] test src/lib.rs - (line 218) ... ignored [INFO] [stdout] test src/lib.rs - (line 223) ... ignored [INFO] [stdout] test src/lib.rs - (line 247) ... ignored [INFO] [stdout] test src/lib.rs - (line 267) ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] test src/lib.rs - (line 54) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 267) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `device_crate` [INFO] [stdout] --> src/lib.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 4 | use device_crate::peripherals::peripheral; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `device_crate` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `peripheral` [INFO] [stdout] --> src/lib.rs:270:16 [INFO] [stdout] | [INFO] [stdout] 6 | let mut reg0 = peripheral::reg0() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `peripheral` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CustomType` in this scope [INFO] [stdout] --> src/lib.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 12 | let field1: CustomType = reg0.get_field1().unwrap(); // Read field represented by `CustomType` [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Two` in this scope [INFO] [stdout] --> src/lib.rs:285:30 [INFO] [stdout] | [INFO] [stdout] 21 | .set_field1(if field1 == Two { One } else { Three }).unwrap() // Set `CustomType` field [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `One` in this scope [INFO] [stdout] --> src/lib.rs:285:36 [INFO] [stdout] | [INFO] [stdout] 21 | .set_field1(if field1 == Two { One } else { Three }).unwrap() // Set `CustomType` field [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Three` in this scope [INFO] [stdout] --> src/lib.rs:285:49 [INFO] [stdout] | [INFO] [stdout] 21 | .set_field1(if field1 == Two { One } else { Three }).unwrap() // Set `CustomType` field [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `crate_name` [INFO] [stdout] --> src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 7 | use crate_name::types::CustomType; // Use expressions for custom types used in field declarations [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `crate_name` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: there are too many leading `super` keywords [INFO] [stdout] --> src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 6 | / register! { [INFO] [stdout] 7 | | use crate_name::types::CustomType; // Use expressions for custom types used in field declarations [INFO] [stdout] 8 | | [INFO] [stdout] 9 | | #[access = "read-write"] // Optional register wide access specifier [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ there are too many leading `super` keywords [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CustomType` in this scope [INFO] [stdout] --> src/lib.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 35 | field1[8:2] as CustomType, // Custom types are supported with limitations [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 54) stdout ---- [INFO] [stdout] error: expected one of `>`, a const expression, lifetime, or type, found `#` [INFO] [stdout] --> src/lib.rs:175:88 [INFO] [stdout] | [INFO] [stdout] 124 | value_write!(self, 0x00000003u32, 8, <::ValueType as TryFrom<#ty>>::try_from(value)?); [INFO] [stdout] | ^ expected one of `>`, a const expression, lifetime, or type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:421:36 [INFO] [stdout] | [INFO] [stdout] 421 | ($r: expr, $m: expr, $o: expr, $v: expr) => { [INFO] [stdout] | -------- while parsing argument for this `expr` macro fragment [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `crate_name` [INFO] [stdout] --> src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate_name::types::CustomType; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `crate_name` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: there are too many leading `super` keywords [INFO] [stdout] --> src/lib.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 10 | (super::BASE_ADDRESS /* Enclosing peripheral/cluster base address */ + 0x00 /* offset */) as *mut VolatileCell<::Va... [INFO] [stdout] | ^^^^^ there are too many leading `super` keywords [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CustomType` in this scope [INFO] [stdout] --> src/lib.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 52 | impl Reg0 { // Will be added if any fields specified [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 110 | ) -> Result::ValueType>>::Error> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CustomType` in this scope [INFO] [stdout] --> src/lib.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 52 | impl Reg0 { // Will be added if any fields specified [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 110 | ) -> Result::ValueType>>::Error> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CustomType` in this scope [INFO] [stdout] --> src/lib.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 111 | ::ValueType>>::try_from(value_read!(self, 0x00000003u32, 8)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CustomType` in this scope [INFO] [stdout] --> src/lib.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 121 | value: CustomType, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CustomType` in this scope [INFO] [stdout] --> src/lib.rs:173:70 [INFO] [stdout] | [INFO] [stdout] 52 | impl Reg0 { // Will be added if any fields specified [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 122 | ) -> Result<&mut Self, <::ValueType as TryFrom>::Error> [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 12) [INFO] [stdout] src/lib.rs - (line 267) [INFO] [stdout] src/lib.rs - (line 54) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8d1eedeb74a2361b544b1c8301e373374a8ac350606259202486c240708b8315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d1eedeb74a2361b544b1c8301e373374a8ac350606259202486c240708b8315", kill_on_drop: false }` [INFO] [stdout] 8d1eedeb74a2361b544b1c8301e373374a8ac350606259202486c240708b8315