[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] 3807b9180682038ab78f660885fea507db76c7a6 [INFO] checking Past9/stm32-api-generator against try#575650af7d7ca88602df28e39d27bf3e456c306e for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPast9%2Fstm32-api-generator" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Past9/stm32-api-generator on toolchain 575650af7d7ca88602df28e39d27bf3e456c306e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "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-2/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" "+575650af7d7ca88602df28e39d27bf3e456c306e" "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-2/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" "+575650af7d7ca88602df28e39d27bf3e456c306e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded content_inspector v0.2.4 [INFO] [stderr] Downloaded toolchain_find v0.1.4 [INFO] [stderr] Downloaded xmltree v0.8.0 [INFO] [stderr] Downloaded indexmap v1.5.2 [INFO] [stderr] Downloaded fstrings-proc-macro v0.2.3 [INFO] [stderr] Downloaded fstrings v0.2.3 [INFO] [stderr] Downloaded bat v0.17.1 [INFO] [stderr] Downloaded std_prelude v0.2.12 [INFO] [stderr] Downloaded path_abs v0.5.0 [INFO] [stderr] Downloaded fancy-regex v0.3.5 [INFO] [stderr] Downloaded ansi_colours v1.0.1 [INFO] [stderr] Downloaded globset v0.4.6 [INFO] [stderr] Downloaded svd-parser v0.9.0 [INFO] [stderr] Downloaded cargo-expand v1.0.4 [INFO] [stderr] Downloaded svd-expander v0.4.0 [INFO] [stderr] Downloaded plist v1.0.1 [INFO] [stderr] Downloaded syntect v4.5.0 [INFO] [stderr] Downloaded syn-select v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f24e0e15bee86e69e426be08a0e4cb9b4b599eb2dd039b2d5e6b8df3d862c8f [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" "2f24e0e15bee86e69e426be08a0e4cb9b4b599eb2dd039b2d5e6b8df3d862c8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f24e0e15bee86e69e426be08a0e4cb9b4b599eb2dd039b2d5e6b8df3d862c8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f24e0e15bee86e69e426be08a0e4cb9b4b599eb2dd039b2d5e6b8df3d862c8f", kill_on_drop: false }` [INFO] [stdout] 2f24e0e15bee86e69e426be08a0e4cb9b4b599eb2dd039b2d5e6b8df3d862c8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ac4299778b7a1f23f7488b644b419856fa3aaeb4f2c2fce5b87d861e0fb10442 [INFO] running `Command { std: "docker" "start" "-a" "ac4299778b7a1f23f7488b644b419856fa3aaeb4f2c2fce5b87d861e0fb10442", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling tap v1.0.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling anyhow v1.0.37 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling askama_escape v0.10.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking xml-rs v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling bitvec v0.19.4 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking heck v0.3.2 [INFO] [stderr] Checking quote v1.0.8 [INFO] [stderr] Checking xmltree v0.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling fstrings-proc-macro v0.2.3 [INFO] [stderr] Checking fstrings v0.2.3 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking svd-parser v0.9.0 [INFO] [stderr] Checking svd-expander v0.4.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking ron v0.6.4 [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:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | 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:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | 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:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `reset_mask` on type `&FieldSpec` [INFO] [stdout] --> src/generators/mod.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | let reset_mask = match field.reset_mask { [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `name`, `description`, `offset`, `width`, `access` ... and 3 others [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:145:15 [INFO] [stdout] | [INFO] [stdout] 145 | field.mask() [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `reset_value` on type `&FieldSpec` [INFO] [stdout] --> src/generators/mod.rs:149:35 [INFO] [stdout] | [INFO] [stdout] 149 | let reset_value = match field.reset_value { [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `name`, `description`, `offset`, `width`, `access` ... and 3 others [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:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | 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:172:22 [INFO] [stdout] | [INFO] [stdout] 172 | 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:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | 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:186:22 [INFO] [stdout] | [INFO] [stdout] 186 | 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:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | 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:195:22 [INFO] [stdout] | [INFO] [stdout] 195 | 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:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | 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:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | 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:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | let address = field.address(); [INFO] [stdout] | ^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `reset_mask` on type `&FieldSpec` [INFO] [stdout] --> src/generators/mod.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | let reset_mask = match field.reset_mask { [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `name`, `description`, `offset`, `width`, `access` ... and 3 others [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:204:25 [INFO] [stdout] | [INFO] [stdout] 204 | 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:145:15 [INFO] [stdout] | [INFO] [stdout] 145 | field.mask() [INFO] [stdout] | ^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `reset_value` on type `&FieldSpec` [INFO] [stdout] --> src/generators/mod.rs:149:35 [INFO] [stdout] | [INFO] [stdout] 149 | let reset_value = match field.reset_value { [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `name`, `description`, `offset`, `width`, `access` ... and 3 others [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:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | 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:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | 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:214:22 [INFO] [stdout] | [INFO] [stdout] 214 | 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:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | let address = field.address(); [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:223:25 [INFO] [stdout] | [INFO] [stdout] 223 | 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:224:22 [INFO] [stdout] | [INFO] [stdout] 224 | let mask = field.mask(); [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:172:22 [INFO] [stdout] | [INFO] [stdout] 172 | 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:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | let address = field.address(); [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:234:25 [INFO] [stdout] | [INFO] [stdout] 234 | 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:235:22 [INFO] [stdout] | [INFO] [stdout] 235 | let mask = field.mask(); [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:186:22 [INFO] [stdout] | [INFO] [stdout] 186 | 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:244:25 [INFO] [stdout] | [INFO] [stdout] 244 | 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:245:22 [INFO] [stdout] | [INFO] [stdout] 245 | 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:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | 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:195:22 [INFO] [stdout] | [INFO] [stdout] 195 | 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:204:25 [INFO] [stdout] | [INFO] [stdout] 204 | 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:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | 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:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | 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:214:22 [INFO] [stdout] | [INFO] [stdout] 214 | 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:223:25 [INFO] [stdout] | [INFO] [stdout] 223 | 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:224:22 [INFO] [stdout] | [INFO] [stdout] 224 | 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:234:25 [INFO] [stdout] | [INFO] [stdout] 234 | let address = field.address(); [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 `mask` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:235:22 [INFO] [stdout] | [INFO] [stdout] 235 | 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:244:25 [INFO] [stdout] | [INFO] [stdout] 244 | 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:245:22 [INFO] [stdout] | [INFO] [stdout] 245 | 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:592:30 [INFO] [stdout] | [INFO] [stdout] 592 | 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:634:30 [INFO] [stdout] | [INFO] [stdout] 634 | 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:674:30 [INFO] [stdout] | [INFO] [stdout] 674 | 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 `actual_value` found for reference `&EnumeratedValueSpec` in the current scope [INFO] [stdout] --> src/system/mod.rs:183:16 [INFO] [stdout] | [INFO] [stdout] 183 | match spec.actual_value() { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&EnumeratedValueSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `actual_value` found for reference `&EnumeratedValueSpec` in the current scope [INFO] [stdout] --> src/system/gpio.rs:116:39 [INFO] [stdout] | [INFO] [stdout] 116 | if let Some(ref v) = 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] Some errors have detailed explanations: E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `actual_value` found for reference `&EnumeratedValueSpec` in the current scope [INFO] [stdout] --> src/system/mod.rs:183:16 [INFO] [stdout] | [INFO] [stdout] 183 | match spec.actual_value() { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&EnumeratedValueSpec` [INFO] [stdout] [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/system/gpio.rs:116:39 [INFO] [stdout] | [INFO] [stdout] 116 | if let Some(ref v) = 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] Some errors have detailed explanations: E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ac4299778b7a1f23f7488b644b419856fa3aaeb4f2c2fce5b87d861e0fb10442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac4299778b7a1f23f7488b644b419856fa3aaeb4f2c2fce5b87d861e0fb10442", kill_on_drop: false }` [INFO] [stdout] ac4299778b7a1f23f7488b644b419856fa3aaeb4f2c2fce5b87d861e0fb10442