[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] ac66a8bcbca38dd899b77081cbf92c45477bfb09 [INFO] testing Past9/stm32-api-generator against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPast9%2Fstm32-api-generator" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 57% (61/107) Checking out files: 58% (63/107) Checking out files: 59% (64/107) Checking out files: 60% (65/107) Checking out files: 61% (66/107) Checking out files: 62% (67/107) Checking out files: 63% (68/107) Checking out files: 64% (69/107) Checking out files: 65% (70/107) Checking out files: 66% (71/107) Checking out files: 67% (72/107) Checking out files: 68% (73/107) Checking out files: 69% (74/107) Checking out files: 70% (75/107) Checking out files: 71% (76/107) Checking out files: 72% (78/107) Checking out files: 73% (79/107) Checking out files: 74% (80/107) Checking out files: 75% (81/107) Checking out files: 76% (82/107) Checking out files: 77% (83/107) Checking out files: 78% (84/107) Checking out files: 79% (85/107) Checking out files: 80% (86/107) Checking out files: 81% (87/107) Checking out files: 82% (88/107) Checking out files: 83% (89/107) Checking out files: 84% (90/107) Checking out files: 85% (91/107) Checking out files: 86% (93/107) Checking out files: 87% (94/107) Checking out files: 88% (95/107) Checking out files: 89% (96/107) Checking out files: 90% (97/107) Checking out files: 91% (98/107) Checking out files: 92% (99/107) Checking out files: 93% (100/107) Checking out files: 94% (101/107) Checking out files: 95% (102/107) Checking out files: 96% (103/107) Checking out files: 97% (104/107) Checking out files: 98% (105/107) Checking out files: 99% (106/107) Checking out files: 100% (107/107) Checking out files: 100% (107/107), done. [INFO] validating manifest of git repo https://github.com/Past9/stm32-api-generator on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "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-0/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" "+1.49.0" "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-0/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" "+1.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 520813b88f99ef71478f7163ca6c4e182199983b52cb001e11a077a7993e0e8a [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" "520813b88f99ef71478f7163ca6c4e182199983b52cb001e11a077a7993e0e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "520813b88f99ef71478f7163ca6c4e182199983b52cb001e11a077a7993e0e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "520813b88f99ef71478f7163ca6c4e182199983b52cb001e11a077a7993e0e8a", kill_on_drop: false }` [INFO] [stdout] 520813b88f99ef71478f7163ca6c4e182199983b52cb001e11a077a7993e0e8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--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] eccda8cbe0134a176d4f94ba4cde0683fe2fe78d5f0be1fb173044d72fee3925 [INFO] running `Command { std: "docker" "start" "-a" "eccda8cbe0134a176d4f94ba4cde0683fe2fe78d5f0be1fb173044d72fee3925", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling memchr v2.3.4 [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 tap v1.0.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling anyhow v1.0.37 [INFO] [stderr] Compiling askama_escape v0.10.1 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling bitvec v0.19.4 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling xmltree v0.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling fstrings-proc-macro v0.2.3 [INFO] [stderr] Compiling fstrings v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling svd-parser v0.9.0 [INFO] [stderr] Compiling svd-expander v0.4.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling ron v0.6.4 [INFO] [stderr] Compiling askama_shared v0.11.1 [INFO] [stderr] Compiling askama_derive v0.10.5 [INFO] [stderr] Compiling askama v0.10.5 [INFO] [stderr] Compiling stm32-api-generator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/system/mod.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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 `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: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 `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 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; 1 warning emitted [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: could not compile `stm32-api-generator` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "eccda8cbe0134a176d4f94ba4cde0683fe2fe78d5f0be1fb173044d72fee3925", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eccda8cbe0134a176d4f94ba4cde0683fe2fe78d5f0be1fb173044d72fee3925", kill_on_drop: false }` [INFO] [stdout] eccda8cbe0134a176d4f94ba4cde0683fe2fe78d5f0be1fb173044d72fee3925