[INFO] fetching crate ral 0.2.0... [INFO] testing ral-0.2.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate ral 0.2.0 into /workspace/builds/worker-99/source [INFO] validating manifest of crates.io crate ral 0.2.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.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-99/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.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-99/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c011b39c1783fd94d9c82ebc7d15a434355a12daf993f22fa3a1ef1e9013f0ef [INFO] running `Command { std: "docker" "start" "-a" "c011b39c1783fd94d9c82ebc7d15a434355a12daf993f22fa3a1ef1e9013f0ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c011b39c1783fd94d9c82ebc7d15a434355a12daf993f22fa3a1ef1e9013f0ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c011b39c1783fd94d9c82ebc7d15a434355a12daf993f22fa3a1ef1e9013f0ef", kill_on_drop: false }` [INFO] [stdout] c011b39c1783fd94d9c82ebc7d15a434355a12daf993f22fa3a1ef1e9013f0ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87d280edd5702fa7128decf2fe4ed3507b407aefd6dd81a8670a6975d598283b [INFO] running `Command { std: "docker" "start" "-a" "87d280edd5702fa7128decf2fe4ed3507b407aefd6dd81a8670a6975d598283b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling syn v1.0.86 [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 12.16s [INFO] running `Command { std: "docker" "inspect" "87d280edd5702fa7128decf2fe4ed3507b407aefd6dd81a8670a6975d598283b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87d280edd5702fa7128decf2fe4ed3507b407aefd6dd81a8670a6975d598283b", kill_on_drop: false }` [INFO] [stdout] 87d280edd5702fa7128decf2fe4ed3507b407aefd6dd81a8670a6975d598283b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4383fbb6a8d915cc638aa6427e34e8b0b354e1af4a3535a58f147e39691c9c4 [INFO] running `Command { std: "docker" "start" "-a" "f4383fbb6a8d915cc638aa6427e34e8b0b354e1af4a3535a58f147e39691c9c4", kill_on_drop: false }` [INFO] [stderr] Compiling ral v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "f4383fbb6a8d915cc638aa6427e34e8b0b354e1af4a3535a58f147e39691c9c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4383fbb6a8d915cc638aa6427e34e8b0b354e1af4a3535a58f147e39691c9c4", kill_on_drop: false }` [INFO] [stdout] f4383fbb6a8d915cc638aa6427e34e8b0b354e1af4a3535a58f147e39691c9c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 38f65c0807b5e3f84df46312cf9a6ea3f7559c6330d1915efda869af156befed [INFO] running `Command { std: "docker" "start" "-a" "38f65c0807b5e3f84df46312cf9a6ea3f7559c6330d1915efda869af156befed", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ral-4074c45e5e6b4ce2) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::test_register_access ... ok [INFO] [stdout] test tests::test_reset ... ok [INFO] [stdout] test tests::test_get ... ok [INFO] [stderr] Doc-tests ral [INFO] [stdout] test tests::test_update ... ok [INFO] [stdout] test tests::test_set ... 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] [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.25s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "38f65c0807b5e3f84df46312cf9a6ea3f7559c6330d1915efda869af156befed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38f65c0807b5e3f84df46312cf9a6ea3f7559c6330d1915efda869af156befed", kill_on_drop: false }` [INFO] [stdout] 38f65c0807b5e3f84df46312cf9a6ea3f7559c6330d1915efda869af156befed