[INFO] fetching crate ral 0.2.0... [INFO] testing ral-0.2.0 against 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ral-macro v0.2.0 [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a458147da5da95693a8d87d8dd73014edd5e5525d356012ab151ad66d6ee611a [INFO] running `Command { std: "docker" "start" "-a" "a458147da5da95693a8d87d8dd73014edd5e5525d356012ab151ad66d6ee611a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a458147da5da95693a8d87d8dd73014edd5e5525d356012ab151ad66d6ee611a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a458147da5da95693a8d87d8dd73014edd5e5525d356012ab151ad66d6ee611a", kill_on_drop: false }` [INFO] [stdout] a458147da5da95693a8d87d8dd73014edd5e5525d356012ab151ad66d6ee611a [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4763ccd723006b5502cdb18c0cd7cf5782d5f7d651b6bdd70da9601c8e4daeff [INFO] running `Command { std: "docker" "start" "-a" "4763ccd723006b5502cdb18c0cd7cf5782d5f7d651b6bdd70da9601c8e4daeff", 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 7.45s [INFO] running `Command { std: "docker" "inspect" "4763ccd723006b5502cdb18c0cd7cf5782d5f7d651b6bdd70da9601c8e4daeff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4763ccd723006b5502cdb18c0cd7cf5782d5f7d651b6bdd70da9601c8e4daeff", kill_on_drop: false }` [INFO] [stdout] 4763ccd723006b5502cdb18c0cd7cf5782d5f7d651b6bdd70da9601c8e4daeff [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 070ce0d31c539587e0683d16676abb1db3d51967ae2da36654cf5ff4e10c80ac [INFO] running `Command { std: "docker" "start" "-a" "070ce0d31c539587e0683d16676abb1db3d51967ae2da36654cf5ff4e10c80ac", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ral v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "070ce0d31c539587e0683d16676abb1db3d51967ae2da36654cf5ff4e10c80ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "070ce0d31c539587e0683d16676abb1db3d51967ae2da36654cf5ff4e10c80ac", kill_on_drop: false }` [INFO] [stdout] 070ce0d31c539587e0683d16676abb1db3d51967ae2da36654cf5ff4e10c80ac [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ced06ce1c6002c2704b480d7d5e63df1e6f284ca18243c19ce371c9eada80f7b [INFO] running `Command { std: "docker" "start" "-a" "ced06ce1c6002c2704b480d7d5e63df1e6f284ca18243c19ce371c9eada80f7b", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ral-b402e21b4dcdd19f) [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_reset ... ok [INFO] [stdout] test tests::test_set ... ok [INFO] [stdout] test tests::test_update ... 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 54) ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) ... 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 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] ---- 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] [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] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "ced06ce1c6002c2704b480d7d5e63df1e6f284ca18243c19ce371c9eada80f7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ced06ce1c6002c2704b480d7d5e63df1e6f284ca18243c19ce371c9eada80f7b", kill_on_drop: false }` [INFO] [stdout] ced06ce1c6002c2704b480d7d5e63df1e6f284ca18243c19ce371c9eada80f7b