[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] db513e87924d20518c1b53d5272ad4b61ec43715 [INFO] checking Past9/stm32-api-generator against try#81275a1445c7502a974118e0c69b795ab60be991 for pr-80243 [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 81275a1445c7502a974118e0c69b795ab60be991 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "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" "+81275a1445c7502a974118e0c69b795ab60be991" "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" "+81275a1445c7502a974118e0c69b795ab60be991" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+81275a1445c7502a974118e0c69b795ab60be991" "fetch" "--locked" "--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 fstrings-proc-macro v0.2.3 [INFO] [stderr] Downloaded plist v1.0.0 [INFO] [stderr] Downloaded globset v0.4.6 [INFO] [stderr] Downloaded path_abs v0.5.0 [INFO] [stderr] Downloaded content_inspector v0.2.4 [INFO] [stderr] Downloaded syn-select v0.2.0 [INFO] [stderr] Downloaded std_prelude v0.2.12 [INFO] [stderr] Downloaded cargo-expand v1.0.4 [INFO] [stderr] Downloaded toolchain_find v0.1.4 [INFO] [stderr] Downloaded fancy-regex v0.3.5 [INFO] [stderr] Downloaded fstrings v0.2.3 [INFO] [stderr] Downloaded ron v0.6.4 [INFO] [stderr] Downloaded ansi_colours v1.0.1 [INFO] [stderr] Downloaded syntect v4.5.0 [INFO] [stderr] Downloaded bat v0.17.1 [INFO] [stderr] Downloaded xmltree v0.8.0 [INFO] [stderr] Downloaded svd-parser v0.9.0 [INFO] [stderr] Downloaded svd-expander v0.4.0 [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" "+81275a1445c7502a974118e0c69b795ab60be991" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4cdb6faaebbaa6323a40f267f0c8df1cb5d886fe336e03acf86ace77a4736da [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" "e4cdb6faaebbaa6323a40f267f0c8df1cb5d886fe336e03acf86ace77a4736da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4cdb6faaebbaa6323a40f267f0c8df1cb5d886fe336e03acf86ace77a4736da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4cdb6faaebbaa6323a40f267f0c8df1cb5d886fe336e03acf86ace77a4736da", kill_on_drop: false }` [INFO] [stdout] e4cdb6faaebbaa6323a40f267f0c8df1cb5d886fe336e03acf86ace77a4736da [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" "+81275a1445c7502a974118e0c69b795ab60be991" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf71585b59b857a8d1554effcb5197889e148ff50ed5e53e295f64b0ba370cd3 [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" "bf71585b59b857a8d1554effcb5197889e148ff50ed5e53e295f64b0ba370cd3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling tap v1.0.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling funty v1.0.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling anyhow v1.0.36 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling askama_escape v0.10.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking xml-rs v0.7.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling bitvec v0.19.4 [INFO] [stderr] Checking heck v0.3.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking xmltree v0.8.0 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling serde_derive v1.0.118 [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] Checking serde v1.0.118 [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] warning: unused import: `system::timer::Timer` [INFO] [stdout] --> src/generators/gpio.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{clear_bit, is_set, reset, set_bit, system::timer::Timer, write_val}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gpio::AltFuncKind` [INFO] [stdout] --> src/system/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use self::{gpio::AltFuncKind, gpio::Gpio, timer::Timer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Captures` [INFO] [stdout] --> src/system/gpio.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use regex::{Captures, Regex}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FieldSpec` [INFO] [stdout] --> src/system/timer.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use svd_expander::{DeviceSpec, FieldSpec, PeripheralSpec}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemInfo` [INFO] [stdout] --> src/system/timer.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{RangedField, SystemInfo}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `system::timer::Timer` [INFO] [stdout] --> src/generators/gpio.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{clear_bit, is_set, reset, set_bit, system::timer::Timer, write_val}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gpio::AltFuncKind` [INFO] [stdout] --> src/system/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use self::{gpio::AltFuncKind, gpio::Gpio, timer::Timer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Captures` [INFO] [stdout] --> src/system/gpio.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use regex::{Captures, Regex}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FieldSpec` [INFO] [stdout] --> src/system/timer.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use svd_expander::{DeviceSpec, FieldSpec, PeripheralSpec}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemInfo` [INFO] [stdout] --> src/system/timer.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{RangedField, SystemInfo}; [INFO] [stdout] | ^^^^^^^^^^ [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:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | 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:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | 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:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | 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:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | 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:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | 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:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | 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:149:45 [INFO] [stdout] | [INFO] [stdout] 149 | 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:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | 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:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | 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:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | 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:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | 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:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | 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:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | 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:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | 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:207:22 [INFO] [stdout] | [INFO] [stdout] 207 | 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:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | 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:216:22 [INFO] [stdout] | [INFO] [stdout] 216 | 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:225:25 [INFO] [stdout] | [INFO] [stdout] 225 | 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:226:22 [INFO] [stdout] | [INFO] [stdout] 226 | 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:236:25 [INFO] [stdout] | [INFO] [stdout] 236 | 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:237:22 [INFO] [stdout] | [INFO] [stdout] 237 | 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:246:25 [INFO] [stdout] | [INFO] [stdout] 246 | 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:247:22 [INFO] [stdout] | [INFO] [stdout] 247 | 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 `address` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/generators/mod.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | 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:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | 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:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | 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:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | 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:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | 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:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | 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:149:45 [INFO] [stdout] | [INFO] [stdout] 149 | 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:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | 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:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | 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:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | 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:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | 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:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | 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:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | 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:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | 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:207:22 [INFO] [stdout] | [INFO] [stdout] 207 | 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:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | 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:216:22 [INFO] [stdout] | [INFO] [stdout] 216 | 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:225:25 [INFO] [stdout] | [INFO] [stdout] 225 | 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:226:22 [INFO] [stdout] | [INFO] [stdout] 226 | 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:236:25 [INFO] [stdout] | [INFO] [stdout] 236 | 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:237:22 [INFO] [stdout] | [INFO] [stdout] 237 | 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:246:25 [INFO] [stdout] | [INFO] [stdout] 246 | 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:247:22 [INFO] [stdout] | [INFO] [stdout] 247 | 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 `actual_value` found for reference `&EnumeratedValueSpec` in the current scope [INFO] [stdout] --> src/system/mod.rs:128:47 [INFO] [stdout] | [INFO] [stdout] 128 | .filter_map(|enum_val| match enum_val.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:119:39 [INFO] [stdout] | [INFO] [stdout] 119 | if let Some(ref v) = enum_val.actual_value() { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&EnumeratedValueSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parent_path` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/system/timer.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | Some((raw_f, f)) => (raw_f.parent_path(), f), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/system/timer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | let (ccmr_path, compare_mode_field) = match peripheral [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parent_path` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/system/timer.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | Some((raw_f, f)) => (raw_f.parent_path(), f), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/system/timer.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | let (ccmr_path, compare_mode_field) = match peripheral [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [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/mod.rs:128:47 [INFO] [stdout] | [INFO] [stdout] 128 | .filter_map(|enum_val| match enum_val.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:119:39 [INFO] [stdout] | [INFO] [stdout] 119 | if let Some(ref v) = enum_val.actual_value() { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&EnumeratedValueSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parent_path` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/system/timer.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | Some((raw_f, f)) => (raw_f.parent_path(), f), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/system/timer.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | let (ccmr_path, compare_mode_field) = match peripheral [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parent_path` found for reference `&FieldSpec` in the current scope [INFO] [stdout] --> src/system/timer.rs:152:34 [INFO] [stdout] | [INFO] [stdout] 152 | Some((raw_f, f)) => (raw_f.parent_path(), f), [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&FieldSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/system/timer.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | let (ccmr_path, compare_mode_field) = match peripheral [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bf71585b59b857a8d1554effcb5197889e148ff50ed5e53e295f64b0ba370cd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf71585b59b857a8d1554effcb5197889e148ff50ed5e53e295f64b0ba370cd3", kill_on_drop: false }` [INFO] [stdout] bf71585b59b857a8d1554effcb5197889e148ff50ed5e53e295f64b0ba370cd3