[INFO] fetching crate k210-hal 0.2.0... [INFO] building k210-hal-0.2.0 against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] extracting crate k210-hal 0.2.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate k210-hal 0.2.0 [INFO] finished tweaking crates.io crate k210-hal 0.2.0 [INFO] tweaked toml for crates.io crate k210-hal 0.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate k210-hal 0.2.0 on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 22 packages to latest compatible versions [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding nb v0.1.3 (available: v1.1.0) [INFO] [stderr] Adding riscv v0.5.4 (available: v0.5.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nb v0.1.3 [INFO] [stderr] Downloaded nb v1.1.0 [INFO] [stderr] Downloaded quote v0.6.13 [INFO] [stderr] Downloaded riscv-rt v0.6.2 [INFO] [stderr] Downloaded riscv-rt-macros v0.1.6 [INFO] [stderr] Downloaded bare-metal v0.2.5 [INFO] [stderr] Downloaded r0 v0.2.2 [INFO] [stderr] Downloaded bit_field v0.9.0 [INFO] [stderr] Downloaded embedded-hal v0.2.7 [INFO] [stderr] Downloaded riscv v0.5.4 [INFO] [stderr] Downloaded rand v0.5.6 [INFO] [stderr] Downloaded syn v0.15.44 [INFO] [stderr] Downloaded k210-pac v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] efefbcda57bd27015656b0d6449bf577ec9049fdd44005547d0f1e339382fb2c [INFO] running `Command { std: "docker" "start" "-a" "efefbcda57bd27015656b0d6449bf577ec9049fdd44005547d0f1e339382fb2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efefbcda57bd27015656b0d6449bf577ec9049fdd44005547d0f1e339382fb2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efefbcda57bd27015656b0d6449bf577ec9049fdd44005547d0f1e339382fb2c", kill_on_drop: false }` [INFO] [stdout] efefbcda57bd27015656b0d6449bf577ec9049fdd44005547d0f1e339382fb2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 2e48b6b32ed8d47946beaedd669a45b5be6755e3f8a0ad48f6bfc9ce32905a24 [INFO] running `Command { std: "docker" "start" "-a" "2e48b6b32ed8d47946beaedd669a45b5be6755e3f8a0ad48f6bfc9ce32905a24", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling riscv v0.5.4 [INFO] [stderr] Compiling bit_field v0.9.0 [INFO] [stderr] Compiling riscv-rt v0.6.2 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling k210-pac v0.2.0 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling riscv-rt-macros v0.1.6 [INFO] [stderr] Compiling k210-hal v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `gpiohs` is never used [INFO] [stdout] --> src/fpioa.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 266 | impl Function { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 267 | /** GPIOHS pin to function */ [INFO] [stdout] 268 | pub fn gpiohs(num: u8) -> Function { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/fpioa.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 335 | pub enum UartFunction { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 336 | CTS, /* UART Clear To Send */ [INFO] [stdout] | ^^^ [INFO] [stdout] 337 | DSR, /* UART Data Set Ready */ [INFO] [stdout] | ^^^ [INFO] [stdout] 338 | DCD, /* UART Data Carrier Detect */ [INFO] [stdout] | ^^^ [INFO] [stdout] 339 | RI, /* UART Ring Indicator */ [INFO] [stdout] | ^^ [INFO] [stdout] 340 | SIR_IN, /* UART Serial Infrared Input */ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 341 | DTR, /* UART Data Terminal Ready */ [INFO] [stdout] | ^^^ [INFO] [stdout] 342 | RTS, /* UART Request To Send */ [INFO] [stdout] | ^^^ [INFO] [stdout] 343 | OUT2, /* UART User-designated Output 2 */ [INFO] [stdout] | ^^^^ [INFO] [stdout] 344 | OUT1, /* UART User-designated Output 1 */ [INFO] [stdout] | ^^^^ [INFO] [stdout] 345 | SIR_OUT, /* UART Serial Infrared Output */ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 346 | BAUD, /* UART Transmit Clock Output */ [INFO] [stdout] | ^^^^ [INFO] [stdout] 347 | RE, /* UART Receiver Output Enable */ [INFO] [stdout] | ^^ [INFO] [stdout] 348 | DE, /* UART Driver Output Enable */ [INFO] [stdout] | ^^ [INFO] [stdout] 349 | RS485_EN, /* UART RS485 Enable */ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UartFunction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Pull` is never used [INFO] [stdout] --> src/fpioa.rs:355:10 [INFO] [stdout] | [INFO] [stdout] 355 | pub enum Pull { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_function` is never used [INFO] [stdout] --> src/fpioa.rs:409:8 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn clear_function>(number: N) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_io_pull` is never used [INFO] [stdout] --> src/fpioa.rs:413:8 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn set_io_pull>(number: N, pull: Pull) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.66s [INFO] running `Command { std: "docker" "inspect" "2e48b6b32ed8d47946beaedd669a45b5be6755e3f8a0ad48f6bfc9ce32905a24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e48b6b32ed8d47946beaedd669a45b5be6755e3f8a0ad48f6bfc9ce32905a24", kill_on_drop: false }` [INFO] [stdout] 2e48b6b32ed8d47946beaedd669a45b5be6755e3f8a0ad48f6bfc9ce32905a24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] b2632655c9ce2649f0ce4102658d2473a6a3a71f599d3736e38109d5eb565ced [INFO] running `Command { std: "docker" "start" "-a" "b2632655c9ce2649f0ce4102658d2473a6a3a71f599d3736e38109d5eb565ced", kill_on_drop: false }` [INFO] [stdout] warning: associated function `gpiohs` is never used [INFO] [stdout] --> src/fpioa.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 266 | impl Function { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 267 | /** GPIOHS pin to function */ [INFO] [stdout] 268 | pub fn gpiohs(num: u8) -> Function { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/fpioa.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 335 | pub enum UartFunction { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 336 | CTS, /* UART Clear To Send */ [INFO] [stdout] | ^^^ [INFO] [stdout] 337 | DSR, /* UART Data Set Ready */ [INFO] [stdout] | ^^^ [INFO] [stdout] 338 | DCD, /* UART Data Carrier Detect */ [INFO] [stdout] | ^^^ [INFO] [stdout] 339 | RI, /* UART Ring Indicator */ [INFO] [stdout] | ^^ [INFO] [stdout] 340 | SIR_IN, /* UART Serial Infrared Input */ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 341 | DTR, /* UART Data Terminal Ready */ [INFO] [stdout] | ^^^ [INFO] [stdout] 342 | RTS, /* UART Request To Send */ [INFO] [stdout] | ^^^ [INFO] [stdout] 343 | OUT2, /* UART User-designated Output 2 */ [INFO] [stdout] | ^^^^ [INFO] [stdout] 344 | OUT1, /* UART User-designated Output 1 */ [INFO] [stdout] | ^^^^ [INFO] [stdout] 345 | SIR_OUT, /* UART Serial Infrared Output */ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 346 | BAUD, /* UART Transmit Clock Output */ [INFO] [stdout] | ^^^^ [INFO] [stdout] 347 | RE, /* UART Receiver Output Enable */ [INFO] [stdout] | ^^ [INFO] [stdout] 348 | DE, /* UART Driver Output Enable */ [INFO] [stdout] | ^^ [INFO] [stdout] 349 | RS485_EN, /* UART RS485 Enable */ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UartFunction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Pull` is never used [INFO] [stdout] --> src/fpioa.rs:355:10 [INFO] [stdout] | [INFO] [stdout] 355 | pub enum Pull { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_function` is never used [INFO] [stdout] --> src/fpioa.rs:409:8 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn clear_function>(number: N) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_io_pull` is never used [INFO] [stdout] --> src/fpioa.rs:413:8 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn set_io_pull>(number: N, pull: Pull) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling k210-hal v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `gpiohs` is never used [INFO] [stdout] --> src/fpioa.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 266 | impl Function { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 267 | /** GPIOHS pin to function */ [INFO] [stdout] 268 | pub fn gpiohs(num: u8) -> Function { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/fpioa.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 335 | pub enum UartFunction { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 336 | CTS, /* UART Clear To Send */ [INFO] [stdout] | ^^^ [INFO] [stdout] 337 | DSR, /* UART Data Set Ready */ [INFO] [stdout] | ^^^ [INFO] [stdout] 338 | DCD, /* UART Data Carrier Detect */ [INFO] [stdout] | ^^^ [INFO] [stdout] 339 | RI, /* UART Ring Indicator */ [INFO] [stdout] | ^^ [INFO] [stdout] 340 | SIR_IN, /* UART Serial Infrared Input */ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 341 | DTR, /* UART Data Terminal Ready */ [INFO] [stdout] | ^^^ [INFO] [stdout] 342 | RTS, /* UART Request To Send */ [INFO] [stdout] | ^^^ [INFO] [stdout] 343 | OUT2, /* UART User-designated Output 2 */ [INFO] [stdout] | ^^^^ [INFO] [stdout] 344 | OUT1, /* UART User-designated Output 1 */ [INFO] [stdout] | ^^^^ [INFO] [stdout] 345 | SIR_OUT, /* UART Serial Infrared Output */ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 346 | BAUD, /* UART Transmit Clock Output */ [INFO] [stdout] | ^^^^ [INFO] [stdout] 347 | RE, /* UART Receiver Output Enable */ [INFO] [stdout] | ^^ [INFO] [stdout] 348 | DE, /* UART Driver Output Enable */ [INFO] [stdout] | ^^ [INFO] [stdout] 349 | RS485_EN, /* UART RS485 Enable */ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UartFunction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Pull` is never used [INFO] [stdout] --> src/fpioa.rs:355:10 [INFO] [stdout] | [INFO] [stdout] 355 | pub enum Pull { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_function` is never used [INFO] [stdout] --> src/fpioa.rs:409:8 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn clear_function>(number: N) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_io_pull` is never used [INFO] [stdout] --> src/fpioa.rs:413:8 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn set_io_pull>(number: N, pull: Pull) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "b2632655c9ce2649f0ce4102658d2473a6a3a71f599d3736e38109d5eb565ced", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2632655c9ce2649f0ce4102658d2473a6a3a71f599d3736e38109d5eb565ced", kill_on_drop: false }` [INFO] [stdout] b2632655c9ce2649f0ce4102658d2473a6a3a71f599d3736e38109d5eb565ced