[INFO] fetching crate ldc1614 0.0.1-beta... [INFO] checking ldc1614-0.0.1-beta against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate ldc1614 0.0.1-beta into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate ldc1614 0.0.1-beta [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ldc1614 0.0.1-beta [INFO] tweaked toml for crates.io crate ldc1614 0.0.1-beta written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ldc1614 0.0.1-beta on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ldc1614 0.0.1-beta already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a23079767b41e7eb822b5b20abd53f2968f0adbed02271f53c052eb8dd8c043 [INFO] running `Command { std: "docker" "start" "-a" "4a23079767b41e7eb822b5b20abd53f2968f0adbed02271f53c052eb8dd8c043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a23079767b41e7eb822b5b20abd53f2968f0adbed02271f53c052eb8dd8c043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a23079767b41e7eb822b5b20abd53f2968f0adbed02271f53c052eb8dd8c043", kill_on_drop: false }` [INFO] [stdout] 4a23079767b41e7eb822b5b20abd53f2968f0adbed02271f53c052eb8dd8c043 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f971101a378d1872c69e7e123359c865926f749e04a0bd860040bef37f0886e [INFO] running `Command { std: "docker" "start" "-a" "0f971101a378d1872c69e7e123359c865926f749e04a0bd860040bef37f0886e", kill_on_drop: false }` [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking tock-registers v0.9.0 [INFO] [stderr] Checking ldc1614 v0.0.1-beta (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/bitmap.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct LdcRegister { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub(crate) rcountx: ( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) offsetx: ( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) settlecountx: ( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub(crate) clock_dividersx: ( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub(crate) status: ReadOnlyLdc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | pub(crate) error_config: ReadWriteLdc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 44 | pub(crate) config: ReadWriteLdc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | pub(crate) mux_config: ReadWriteLdc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 46 | pub(crate) reset_dev: ReadWriteLdc, [INFO] [stdout] 47 | pub(crate) drive_currentx: ( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WriteOnlyI2cRegister` is never constructed [INFO] [stdout] --> src/interface.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct WriteOnlyI2cRegister< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `write` and `new` are never used [INFO] [stdout] --> src/interface.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 118 | / impl [INFO] [stdout] 119 | | WriteOnlyI2cRegister [INFO] [stdout] 120 | | where [INFO] [stdout] 121 | | SlaveAddr: i2c::AddressMode + Copy, [INFO] [stdout] 122 | | Register: tock_registers::RegisterLongName, [INFO] [stdout] | |_______________________________________________- associated items in this implementation [INFO] [stdout] 123 | { [INFO] [stdout] 124 | pub fn write, I2C: i2c::I2c>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn new(slave_address: SlaveAddr) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read` is never used [INFO] [stdout] --> src/interface.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 146 | / impl [INFO] [stdout] 147 | | ReadWriteI2cRegister [INFO] [stdout] 148 | | where [INFO] [stdout] 149 | | SlaveAddr: i2c::AddressMode + Copy, [INFO] [stdout] 150 | | Register: tock_registers::RegisterLongName, [INFO] [stdout] | |_______________________________________________- method in this implementation [INFO] [stdout] 151 | { [INFO] [stdout] 152 | pub fn read, I2C: i2c::I2c>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/bitmap.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct LdcRegister { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub(crate) rcountx: ( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) offsetx: ( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) settlecountx: ( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub(crate) clock_dividersx: ( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub(crate) status: ReadOnlyLdc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | pub(crate) error_config: ReadWriteLdc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 44 | pub(crate) config: ReadWriteLdc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | pub(crate) mux_config: ReadWriteLdc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 46 | pub(crate) reset_dev: ReadWriteLdc, [INFO] [stdout] 47 | pub(crate) drive_currentx: ( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WriteOnlyI2cRegister` is never constructed [INFO] [stdout] --> src/interface.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct WriteOnlyI2cRegister< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `write` and `new` are never used [INFO] [stdout] --> src/interface.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 118 | / impl [INFO] [stdout] 119 | | WriteOnlyI2cRegister [INFO] [stdout] 120 | | where [INFO] [stdout] 121 | | SlaveAddr: i2c::AddressMode + Copy, [INFO] [stdout] 122 | | Register: tock_registers::RegisterLongName, [INFO] [stdout] | |_______________________________________________- associated items in this implementation [INFO] [stdout] 123 | { [INFO] [stdout] 124 | pub fn write, I2C: i2c::I2c>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn new(slave_address: SlaveAddr) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read` is never used [INFO] [stdout] --> src/interface.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 146 | / impl [INFO] [stdout] 147 | | ReadWriteI2cRegister [INFO] [stdout] 148 | | where [INFO] [stdout] 149 | | SlaveAddr: i2c::AddressMode + Copy, [INFO] [stdout] 150 | | Register: tock_registers::RegisterLongName, [INFO] [stdout] | |_______________________________________________- method in this implementation [INFO] [stdout] 151 | { [INFO] [stdout] 152 | pub fn read, I2C: i2c::I2c>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ldc1x1x` [INFO] [stdout] --> examples/dual.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ldc1x1x as ldc; [INFO] [stdout] | ^^^^^^^^^^^^^^ no external crate `ldc1x1x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `iic` in this scope [INFO] [stdout] --> examples/dual.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | let mut ldc = ldc::Ldc::new(iic, adr); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> examples/dual.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ldc1614` (example "dual") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0f971101a378d1872c69e7e123359c865926f749e04a0bd860040bef37f0886e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f971101a378d1872c69e7e123359c865926f749e04a0bd860040bef37f0886e", kill_on_drop: false }` [INFO] [stdout] 0f971101a378d1872c69e7e123359c865926f749e04a0bd860040bef37f0886e