[INFO] fetching crate k210-hal 0.2.0... [INFO] testing k210-hal-0.2.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate k210-hal 0.2.0 into /workspace/builds/worker-25/source [INFO] validating manifest of crates.io crate k210-hal 0.2.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-25/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--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 riscv-rt-macros v0.1.6 [INFO] [stderr] Downloaded bit_field v0.9.0 [INFO] [stderr] Downloaded riscv-rt v0.6.2 [INFO] [stderr] Downloaded k210-pac v0.2.0 [INFO] [stderr] Downloaded riscv v0.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccffa986c68a22e806b3c01b811263c2deef8690359288709559503c799fee57 [INFO] running `Command { std: "docker" "start" "-a" "ccffa986c68a22e806b3c01b811263c2deef8690359288709559503c799fee57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccffa986c68a22e806b3c01b811263c2deef8690359288709559503c799fee57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccffa986c68a22e806b3c01b811263c2deef8690359288709559503c799fee57", kill_on_drop: false }` [INFO] [stdout] ccffa986c68a22e806b3c01b811263c2deef8690359288709559503c799fee57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0696cfe031df01285a35dbc83d60a927f516aecb1be0aa3f2a9e375fbafac666 [INFO] running `Command { std: "docker" "start" "-a" "0696cfe031df01285a35dbc83d60a927f516aecb1be0aa3f2a9e375fbafac666", 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 riscv-rt v0.6.2 [INFO] [stderr] Compiling bit_field v0.9.0 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling k210-pac v0.2.0 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand v0.5.6 [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 is never used: `gpiohs` [INFO] [stdout] --> src/fpioa.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn gpiohs(num: u8) -> Function { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CTS` [INFO] [stdout] --> src/fpioa.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | CTS, /* UART Clear To Send */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DSR` [INFO] [stdout] --> src/fpioa.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | DSR, /* UART Data Set Ready */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DCD` [INFO] [stdout] --> src/fpioa.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | DCD, /* UART Data Carrier Detect */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RI` [INFO] [stdout] --> src/fpioa.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | RI, /* UART Ring Indicator */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SIR_IN` [INFO] [stdout] --> src/fpioa.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | SIR_IN, /* UART Serial Infrared Input */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DTR` [INFO] [stdout] --> src/fpioa.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | DTR, /* UART Data Terminal Ready */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RTS` [INFO] [stdout] --> src/fpioa.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | RTS, /* UART Request To Send */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OUT2` [INFO] [stdout] --> src/fpioa.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | OUT2, /* UART User-designated Output 2 */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OUT1` [INFO] [stdout] --> src/fpioa.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | OUT1, /* UART User-designated Output 1 */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SIR_OUT` [INFO] [stdout] --> src/fpioa.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 345 | SIR_OUT, /* UART Serial Infrared Output */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BAUD` [INFO] [stdout] --> src/fpioa.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | BAUD, /* UART Transmit Clock Output */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RE` [INFO] [stdout] --> src/fpioa.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | RE, /* UART Receiver Output 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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DE` [INFO] [stdout] --> src/fpioa.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | DE, /* UART Driver Output 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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RS485_EN` [INFO] [stdout] --> src/fpioa.rs:349:5 [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NONE` [INFO] [stdout] --> src/fpioa.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | NONE, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pull` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fpioa.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DOWN` [INFO] [stdout] --> src/fpioa.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | DOWN, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pull` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fpioa.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UP` [INFO] [stdout] --> src/fpioa.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | UP, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Pull` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fpioa.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `clear_function` [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 is never used: `set_io_pull` [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] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.12s [INFO] running `Command { std: "docker" "inspect" "0696cfe031df01285a35dbc83d60a927f516aecb1be0aa3f2a9e375fbafac666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0696cfe031df01285a35dbc83d60a927f516aecb1be0aa3f2a9e375fbafac666", kill_on_drop: false }` [INFO] [stdout] 0696cfe031df01285a35dbc83d60a927f516aecb1be0aa3f2a9e375fbafac666 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e3bcef3b99144f9d69e6f0645a63cd3367b3fc27d61d43329cef8c12fc2e651 [INFO] running `Command { std: "docker" "start" "-a" "8e3bcef3b99144f9d69e6f0645a63cd3367b3fc27d61d43329cef8c12fc2e651", kill_on_drop: false }` [INFO] [stdout] warning: associated function is never used: `gpiohs` [INFO] [stdout] --> src/fpioa.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn gpiohs(num: u8) -> Function { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CTS` [INFO] [stdout] --> src/fpioa.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | CTS, /* UART Clear To Send */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DSR` [INFO] [stdout] --> src/fpioa.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | DSR, /* UART Data Set Ready */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DCD` [INFO] [stdout] --> src/fpioa.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | DCD, /* UART Data Carrier Detect */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RI` [INFO] [stdout] --> src/fpioa.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | RI, /* UART Ring Indicator */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SIR_IN` [INFO] [stdout] --> src/fpioa.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | SIR_IN, /* UART Serial Infrared Input */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling k210-hal v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `DTR` [INFO] [stdout] --> src/fpioa.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | DTR, /* UART Data Terminal Ready */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RTS` [INFO] [stdout] --> src/fpioa.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | RTS, /* UART Request To Send */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OUT2` [INFO] [stdout] --> src/fpioa.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | OUT2, /* UART User-designated Output 2 */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OUT1` [INFO] [stdout] --> src/fpioa.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | OUT1, /* UART User-designated Output 1 */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SIR_OUT` [INFO] [stdout] --> src/fpioa.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 345 | SIR_OUT, /* UART Serial Infrared Output */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BAUD` [INFO] [stdout] --> src/fpioa.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | BAUD, /* UART Transmit Clock Output */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RE` [INFO] [stdout] --> src/fpioa.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | RE, /* UART Receiver Output 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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DE` [INFO] [stdout] --> src/fpioa.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | DE, /* UART Driver Output 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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RS485_EN` [INFO] [stdout] --> src/fpioa.rs:349:5 [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NONE` [INFO] [stdout] --> src/fpioa.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | NONE, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pull` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fpioa.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DOWN` [INFO] [stdout] --> src/fpioa.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | DOWN, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pull` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fpioa.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UP` [INFO] [stdout] --> src/fpioa.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | UP, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Pull` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fpioa.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `clear_function` [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 is never used: `set_io_pull` [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] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gpiohs` [INFO] [stdout] --> src/fpioa.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn gpiohs(num: u8) -> Function { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CTS` [INFO] [stdout] --> src/fpioa.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | CTS, /* UART Clear To Send */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DSR` [INFO] [stdout] --> src/fpioa.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | DSR, /* UART Data Set Ready */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DCD` [INFO] [stdout] --> src/fpioa.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | DCD, /* UART Data Carrier Detect */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RI` [INFO] [stdout] --> src/fpioa.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | RI, /* UART Ring Indicator */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SIR_IN` [INFO] [stdout] --> src/fpioa.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | SIR_IN, /* UART Serial Infrared Input */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DTR` [INFO] [stdout] --> src/fpioa.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | DTR, /* UART Data Terminal Ready */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RTS` [INFO] [stdout] --> src/fpioa.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | RTS, /* UART Request To Send */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OUT2` [INFO] [stdout] --> src/fpioa.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | OUT2, /* UART User-designated Output 2 */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OUT1` [INFO] [stdout] --> src/fpioa.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | OUT1, /* UART User-designated Output 1 */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SIR_OUT` [INFO] [stdout] --> src/fpioa.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 345 | SIR_OUT, /* UART Serial Infrared Output */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BAUD` [INFO] [stdout] --> src/fpioa.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | BAUD, /* UART Transmit Clock Output */ [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RE` [INFO] [stdout] --> src/fpioa.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | RE, /* UART Receiver Output 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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DE` [INFO] [stdout] --> src/fpioa.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | DE, /* UART Driver Output 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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RS485_EN` [INFO] [stdout] --> src/fpioa.rs:349:5 [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] --> src/fpioa.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NONE` [INFO] [stdout] --> src/fpioa.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | NONE, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pull` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fpioa.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DOWN` [INFO] [stdout] --> src/fpioa.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | DOWN, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pull` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fpioa.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UP` [INFO] [stdout] --> src/fpioa.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | UP, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Pull` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fpioa.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `clear_function` [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 is never used: `set_io_pull` [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] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "8e3bcef3b99144f9d69e6f0645a63cd3367b3fc27d61d43329cef8c12fc2e651", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e3bcef3b99144f9d69e6f0645a63cd3367b3fc27d61d43329cef8c12fc2e651", kill_on_drop: false }` [INFO] [stdout] 8e3bcef3b99144f9d69e6f0645a63cd3367b3fc27d61d43329cef8c12fc2e651 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dee74e9a44b5324b2c7b5d86df6ec573b54af1cbad90a4c172b87f43b577d6ac [INFO] running `Command { std: "docker" "start" "-a" "dee74e9a44b5324b2c7b5d86df6ec573b54af1cbad90a4c172b87f43b577d6ac", kill_on_drop: false }` [INFO] [stderr] warning: associated function is never used: `gpiohs` [INFO] [stderr] --> src/fpioa.rs:268:12 [INFO] [stderr] | [INFO] [stderr] 268 | pub fn gpiohs(num: u8) -> Function { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `CTS` [INFO] [stderr] --> src/fpioa.rs:336:5 [INFO] [stderr] | [INFO] [stderr] 336 | CTS, /* UART Clear To Send */ [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `UartFunction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/fpioa.rs:334:16 [INFO] [stderr] | [INFO] [stderr] 334 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DSR` [INFO] [stderr] --> src/fpioa.rs:337:5 [INFO] [stderr] | [INFO] [stderr] 337 | DSR, /* UART Data Set Ready */ [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `UartFunction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/fpioa.rs:334:16 [INFO] [stderr] | [INFO] [stderr] 334 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DCD` [INFO] [stderr] --> src/fpioa.rs:338:5 [INFO] [stderr] | [INFO] [stderr] 338 | DCD, /* UART Data Carrier Detect */ [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `UartFunction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/fpioa.rs:334:16 [INFO] [stderr] | [INFO] [stderr] 334 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RI` [INFO] [stderr] --> src/fpioa.rs:339:5 [INFO] [stderr] | [INFO] [stderr] 339 | RI, /* UART Ring Indicator */ [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `UartFunction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/fpioa.rs:334:16 [INFO] [stderr] | [INFO] [stderr] 334 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SIR_IN` [INFO] [stderr] --> src/fpioa.rs:340:5 [INFO] [stderr] | [INFO] [stderr] 340 | SIR_IN, /* UART Serial Infrared Input */ [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UartFunction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/fpioa.rs:334:16 [INFO] [stderr] | [INFO] [stderr] 334 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DTR` [INFO] [stderr] --> src/fpioa.rs:341:5 [INFO] [stderr] | [INFO] [stderr] 341 | DTR, /* UART Data Terminal Ready */ [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `UartFunction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/fpioa.rs:334:16 [INFO] [stderr] | [INFO] [stderr] 334 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RTS` [INFO] [stderr] --> src/fpioa.rs:342:5 [INFO] [stderr] | [INFO] [stderr] 342 | RTS, /* UART Request To Send */ [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `UartFunction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/fpioa.rs:334:16 [INFO] [stderr] | [INFO] [stderr] 334 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `OUT2` [INFO] [stderr] --> src/fpioa.rs:343:5 [INFO] [stderr] | [INFO] [stderr] 343 | OUT2, /* UART User-designated Output 2 */ [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UartFunction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/fpioa.rs:334:16 [INFO] [stderr] | [INFO] [stderr] 334 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `OUT1` [INFO] [stderr] --> src/fpioa.rs:344:5 [INFO] [stderr] | [INFO] [stderr] 344 | OUT1, /* UART User-designated Output 1 */ [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UartFunction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/fpioa.rs:334:16 [INFO] [stderr] | [INFO] [stderr] 334 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SIR_OUT` [INFO] [stderr] --> src/fpioa.rs:345:5 [INFO] [stderr] | [INFO] [stderr] 345 | SIR_OUT, /* UART Serial Infrared Output */ [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UartFunction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/fpioa.rs:334:16 [INFO] [stderr] | [INFO] [stderr] 334 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BAUD` [INFO] [stderr] --> src/fpioa.rs:346:5 [INFO] [stderr] | [INFO] [stderr] 346 | BAUD, /* UART Transmit Clock Output */ [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UartFunction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/fpioa.rs:334:16 [INFO] [stderr] | [INFO] [stderr] 334 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RE` [INFO] [stderr] --> src/fpioa.rs:347:5 [INFO] [stderr] | [INFO] [stderr] 347 | RE, /* UART Receiver Output Enable */ [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `UartFunction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/fpioa.rs:334:16 [INFO] [stderr] | [INFO] [stderr] 334 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DE` [INFO] [stderr] --> src/fpioa.rs:348:5 [INFO] [stderr] | [INFO] [stderr] 348 | DE, /* UART Driver Output Enable */ [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `UartFunction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/fpioa.rs:334:16 [INFO] [stderr] | [INFO] [stderr] 334 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RS485_EN` [INFO] [stderr] --> src/fpioa.rs:349:5 [INFO] [stderr] | [INFO] [stderr] 349 | RS485_EN, /* UART RS485 Enable */ [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `UartFunction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/fpioa.rs:334:16 [INFO] [stderr] | [INFO] [stderr] 334 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NONE` [INFO] [stderr] --> src/fpioa.rs:357:5 [INFO] [stderr] | [INFO] [stderr] 357 | NONE, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Pull` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/fpioa.rs:354:16 [INFO] [stderr] | [INFO] [stderr] 354 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DOWN` [INFO] [stderr] --> src/fpioa.rs:359:5 [INFO] [stderr] | [INFO] [stderr] 359 | DOWN, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Pull` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/fpioa.rs:354:16 [INFO] [stderr] | [INFO] [stderr] 354 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UP` [INFO] [stderr] --> src/fpioa.rs:361:5 [INFO] [stderr] | [INFO] [stderr] 361 | UP, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `Pull` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/fpioa.rs:354:16 [INFO] [stderr] | [INFO] [stderr] 354 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `clear_function` [INFO] [stderr] --> src/fpioa.rs:409:8 [INFO] [stderr] | [INFO] [stderr] 409 | pub fn clear_function>(number: N) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `set_io_pull` [INFO] [stderr] --> src/fpioa.rs:413:8 [INFO] [stderr] | [INFO] [stderr] 413 | pub fn set_io_pull>(number: N, pull: Pull) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `k210-hal` (lib) generated 20 warnings [INFO] [stderr] warning: `k210-hal` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/k210_hal-e9f9973ba0b4e125) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests k210-hal [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dee74e9a44b5324b2c7b5d86df6ec573b54af1cbad90a4c172b87f43b577d6ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dee74e9a44b5324b2c7b5d86df6ec573b54af1cbad90a4c172b87f43b577d6ac", kill_on_drop: false }` [INFO] [stdout] dee74e9a44b5324b2c7b5d86df6ec573b54af1cbad90a4c172b87f43b577d6ac