[INFO] fetching crate ral 0.2.0... [INFO] testing ral-0.2.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate ral 0.2.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate ral 0.2.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59b0a7e2d7841fcfc0ec168ac1eb5ef21212c4213af72c84830a6b215c975946 [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" "59b0a7e2d7841fcfc0ec168ac1eb5ef21212c4213af72c84830a6b215c975946", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59b0a7e2d7841fcfc0ec168ac1eb5ef21212c4213af72c84830a6b215c975946", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59b0a7e2d7841fcfc0ec168ac1eb5ef21212c4213af72c84830a6b215c975946", kill_on_drop: false }` [INFO] [stdout] 59b0a7e2d7841fcfc0ec168ac1eb5ef21212c4213af72c84830a6b215c975946 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ee84c1e0f5d19748a41a8cea6ac3c56d2dd4361c8eeded0e4158bd37dcd0876 [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" "5ee84c1e0f5d19748a41a8cea6ac3c56d2dd4361c8eeded0e4158bd37dcd0876", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling syn v1.0.81 [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 14.51s [INFO] running `Command { std: "docker" "inspect" "5ee84c1e0f5d19748a41a8cea6ac3c56d2dd4361c8eeded0e4158bd37dcd0876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ee84c1e0f5d19748a41a8cea6ac3c56d2dd4361c8eeded0e4158bd37dcd0876", kill_on_drop: false }` [INFO] [stdout] 5ee84c1e0f5d19748a41a8cea6ac3c56d2dd4361c8eeded0e4158bd37dcd0876 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffdcbe0110fc799517104b543b953ae05f6cec7cf3243c2a284d8b6f7f91f865 [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" "ffdcbe0110fc799517104b543b953ae05f6cec7cf3243c2a284d8b6f7f91f865", kill_on_drop: false }` [INFO] [stderr] Compiling ral v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "ffdcbe0110fc799517104b543b953ae05f6cec7cf3243c2a284d8b6f7f91f865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffdcbe0110fc799517104b543b953ae05f6cec7cf3243c2a284d8b6f7f91f865", kill_on_drop: false }` [INFO] [stdout] ffdcbe0110fc799517104b543b953ae05f6cec7cf3243c2a284d8b6f7f91f865 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a9f5e18b282b40eb524376c6af6b5756a1dc53ecafe02abdbab30836386e99ca [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" "a9f5e18b282b40eb524376c6af6b5756a1dc53ecafe02abdbab30836386e99ca", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] running 5 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ral-faeff17768f6445e) [INFO] [stdout] test tests::test_get ... ok [INFO] [stdout] test tests::test_reset ... ok [INFO] [stdout] test tests::test_update ... ok [INFO] [stdout] test tests::test_register_access ... 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.01s [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.38s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "a9f5e18b282b40eb524376c6af6b5756a1dc53ecafe02abdbab30836386e99ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9f5e18b282b40eb524376c6af6b5756a1dc53ecafe02abdbab30836386e99ca", kill_on_drop: false }` [INFO] [stdout] a9f5e18b282b40eb524376c6af6b5756a1dc53ecafe02abdbab30836386e99ca