[INFO] cloning repository https://github.com/Past9/stm32-api-generator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Past9/stm32-api-generator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPast9%2Fstm32-api-generator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPast9%2Fstm32-api-generator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09e1ed9f5729fabfcf41ebde251268f19e0a95b9 [INFO] checking Past9/stm32-api-generator against try#55b3f428b4fac6790b1e8492e0b91ff2d80aec7c for pr-77035 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPast9%2Fstm32-api-generator" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Past9/stm32-api-generator on toolchain 55b3f428b4fac6790b1e8492e0b91ff2d80aec7c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Past9/stm32-api-generator [INFO] removed path dependency svd-expander from git repo https://github.com/Past9/stm32-api-generator [INFO] finished tweaking git repo https://github.com/Past9/stm32-api-generator [INFO] tweaked toml for git repo https://github.com/Past9/stm32-api-generator written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/Past9/stm32-api-generator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded askama v0.10.5 [INFO] [stderr] Downloaded bitvec v0.19.4 [INFO] [stderr] Downloaded tap v1.0.0 [INFO] [stderr] Downloaded askama_derive v0.10.5 [INFO] [stderr] Downloaded funty v1.0.1 [INFO] [stderr] Downloaded console v0.13.0 [INFO] [stderr] Downloaded semver-parser v0.10.1 [INFO] [stderr] Downloaded wyz v0.2.0 [INFO] [stderr] Downloaded fstrings v0.2.3 [INFO] [stderr] Downloaded xmltree v0.8.0 [INFO] [stderr] Downloaded semver v0.11.0 [INFO] [stderr] Downloaded toolchain_find v0.1.4 [INFO] [stderr] Downloaded askama_escape v0.10.1 [INFO] [stderr] Downloaded humansize v1.1.0 [INFO] [stderr] Downloaded radium v0.5.3 [INFO] [stderr] Downloaded cargo-expand v1.0.4 [INFO] [stderr] Downloaded askama_shared v0.11.1 [INFO] [stderr] Downloaded svd-expander v0.4.0 [INFO] [stderr] Downloaded fancy-regex v0.3.5 [INFO] [stderr] Downloaded svd-parser v0.9.0 [INFO] [stderr] Downloaded content_inspector v0.2.4 [INFO] [stderr] Downloaded plist v1.0.0 [INFO] [stderr] Downloaded syn-select v0.2.0 [INFO] [stderr] Downloaded syntect v4.5.0 [INFO] [stderr] Downloaded ansi_colours v1.0.1 [INFO] [stderr] Downloaded std_prelude v0.2.12 [INFO] [stderr] Downloaded path_abs v0.5.0 [INFO] [stderr] Downloaded globset v0.4.6 [INFO] [stderr] Downloaded bat v0.17.1 [INFO] [stderr] Downloaded fstrings-proc-macro v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba2195fbf61639ee3cbbf86a4063c32cd0840a73400b469ee4c81da0e18dddc3 [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" "ba2195fbf61639ee3cbbf86a4063c32cd0840a73400b469ee4c81da0e18dddc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba2195fbf61639ee3cbbf86a4063c32cd0840a73400b469ee4c81da0e18dddc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba2195fbf61639ee3cbbf86a4063c32cd0840a73400b469ee4c81da0e18dddc3", kill_on_drop: false }` [INFO] [stdout] ba2195fbf61639ee3cbbf86a4063c32cd0840a73400b469ee4c81da0e18dddc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3813c45c66b2d7c2151f7503faeb63ab77037d06a89c6e008e60f78c0e7e8cd3 [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" "3813c45c66b2d7c2151f7503faeb63ab77037d06a89c6e008e60f78c0e7e8cd3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling tap v1.0.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling funty v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling askama_escape v0.10.1 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking xml-rs v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling bitvec v0.19.4 [INFO] [stderr] Checking heck v0.3.1 [INFO] [stderr] Checking quote v1.0.7 [INFO] [stderr] Checking xmltree v0.8.0 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling fstrings-proc-macro v0.2.3 [INFO] [stderr] Checking fstrings v0.2.3 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking svd-parser v0.9.0 [INFO] [stderr] Checking svd-expander v0.4.0 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Checking ron v0.6.2 [INFO] [stderr] Checking askama_shared v0.11.1 [INFO] [stderr] Compiling askama_derive v0.10.5 [INFO] [stderr] Checking askama v0.10.5 [INFO] [stderr] Checking stm32-api-generator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `address` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mask` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | let mask = field.mask(); [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `address` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mask` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | let mask = field.mask(); [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `address` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mask` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | let mask = field.mask(); [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parent_path` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:154:45 [INFO] [stdout] | [INFO] [stdout] 154 | let register = self.get_register(&field.parent_path()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `address` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mask` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | let mask = field.mask(); [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `address` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:192:25 [INFO] [stdout] | [INFO] [stdout] 192 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mask` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 193 | let mask = field.mask(); [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `address` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:201:25 [INFO] [stdout] | [INFO] [stdout] 201 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mask` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:202:22 [INFO] [stdout] | [INFO] [stdout] 202 | let mask = field.mask(); [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `address` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:211:25 [INFO] [stdout] | [INFO] [stdout] 211 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mask` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:212:22 [INFO] [stdout] | [INFO] [stdout] 212 | let mask = field.mask(); [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `address` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:220:25 [INFO] [stdout] | [INFO] [stdout] 220 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mask` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:221:22 [INFO] [stdout] | [INFO] [stdout] 221 | let mask = field.mask(); [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `address` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mask` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | let mask = field.mask(); [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `address` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:241:25 [INFO] [stdout] | [INFO] [stdout] 241 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mask` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | let mask = field.mask(); [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `address` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:251:25 [INFO] [stdout] | [INFO] [stdout] 251 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mask` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:252:22 [INFO] [stdout] | [INFO] [stdout] 252 | let mask = field.mask(); [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_get_field` found for reference `&'a DeviceSpec` in the current scope [INFO] [stdout] --> src/generators/clocks/mod.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | match self.spec.try_get_field(&path) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: there is an associated function with a similar name: `get_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_file` found for struct `DeviceSpec` in the current scope [INFO] [stdout] --> src/generators/clocks/mod.rs:555:30 [INFO] [stdout] | [INFO] [stdout] 555 | let device = DeviceSpec::from_file("specs/svd/arm_device.svd").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `DeviceSpec` [INFO] [stdout] | help: there is an associated function with a similar name: `from_xml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_file` found for struct `DeviceSpec` in the current scope [INFO] [stdout] --> src/generators/clocks/mod.rs:597:30 [INFO] [stdout] | [INFO] [stdout] 597 | let device = DeviceSpec::from_file("specs/svd/arm_device.svd").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `DeviceSpec` [INFO] [stdout] | help: there is an associated function with a similar name: `from_xml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_file` found for struct `DeviceSpec` in the current scope [INFO] [stdout] --> src/generators/clocks/mod.rs:637:30 [INFO] [stdout] | [INFO] [stdout] 637 | let device = DeviceSpec::from_file("specs/svd/arm_device.svd").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `DeviceSpec` [INFO] [stdout] | help: there is an associated function with a similar name: `from_xml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `address` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mask` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | let mask = field.mask(); [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `address` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mask` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | let mask = field.mask(); [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `address` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mask` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | let mask = field.mask(); [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parent_path` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:154:45 [INFO] [stdout] | [INFO] [stdout] 154 | let register = self.get_register(&field.parent_path()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `address` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mask` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | let mask = field.mask(); [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `address` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:192:25 [INFO] [stdout] | [INFO] [stdout] 192 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mask` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 193 | let mask = field.mask(); [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `address` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:201:25 [INFO] [stdout] | [INFO] [stdout] 201 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mask` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:202:22 [INFO] [stdout] | [INFO] [stdout] 202 | let mask = field.mask(); [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `address` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:211:25 [INFO] [stdout] | [INFO] [stdout] 211 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mask` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:212:22 [INFO] [stdout] | [INFO] [stdout] 212 | let mask = field.mask(); [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `address` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:220:25 [INFO] [stdout] | [INFO] [stdout] 220 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mask` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:221:22 [INFO] [stdout] | [INFO] [stdout] 221 | let mask = field.mask(); [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `address` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mask` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | let mask = field.mask(); [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `address` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:241:25 [INFO] [stdout] | [INFO] [stdout] 241 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mask` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | let mask = field.mask(); [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `address` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:251:25 [INFO] [stdout] | [INFO] [stdout] 251 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mask` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:252:22 [INFO] [stdout] | [INFO] [stdout] 252 | let mask = field.mask(); [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_get_field` found for reference `&'a DeviceSpec` in the current scope [INFO] [stdout] --> src/generators/clocks/mod.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | match self.spec.try_get_field(&path) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: there is an associated function with a similar name: `get_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `actual_value` found for reference `&EnumeratedValueSpec` in the current scope [INFO] [stdout] --> src/generators/gpio/mod.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | match enum_val.actual_value() { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&EnumeratedValueSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32-api-generator` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `actual_value` found for reference `&EnumeratedValueSpec` in the current scope [INFO] [stdout] --> src/generators/gpio/mod.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | match enum_val.actual_value() { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&EnumeratedValueSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3813c45c66b2d7c2151f7503faeb63ab77037d06a89c6e008e60f78c0e7e8cd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3813c45c66b2d7c2151f7503faeb63ab77037d06a89c6e008e60f78c0e7e8cd3", kill_on_drop: false }` [INFO] [stdout] 3813c45c66b2d7c2151f7503faeb63ab77037d06a89c6e008e60f78c0e7e8cd3