[INFO] fetching crate roblib 0.1.0... [INFO] testing roblib-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate roblib 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate roblib 0.1.0 [INFO] finished tweaking crates.io crate roblib 0.1.0 [INFO] tweaked toml for crates.io crate roblib 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate roblib 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 69 packages to latest compatible versions [INFO] [stderr] Adding camloc-server v0.1.0 (available: v0.2.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] [stderr] Adding rppal v0.14.1 (available: v0.22.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parking_lot v0.12.4 [INFO] [stderr] Downloaded roblib-macro v0.1.0 [INFO] [stderr] Downloaded signal-hook-registry v1.4.5 [INFO] [stderr] Downloaded socket2 v0.5.10 [INFO] [stderr] Downloaded lock_api v0.4.13 [INFO] [stderr] Downloaded redox_syscall v0.5.13 [INFO] [stderr] Downloaded parking_lot_core v0.9.11 [INFO] [stderr] Downloaded rppal v0.14.1 [INFO] [stderr] Downloaded tokio-util v0.7.15 [INFO] [stderr] Downloaded zerocopy-derive v0.8.26 [INFO] [stderr] Downloaded mio v1.0.4 [INFO] [stderr] Downloaded zerocopy v0.8.26 [INFO] [stderr] Downloaded tokio v1.45.1 [INFO] [stderr] Downloaded camloc-common v0.1.0 [INFO] [stderr] Downloaded camloc-server v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 187c6f0529023a49e22836ff65b4fd23f4c758a29137637fd0946f1fef74d493 [INFO] running `Command { std: "docker" "start" "-a" "187c6f0529023a49e22836ff65b4fd23f4c758a29137637fd0946f1fef74d493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "187c6f0529023a49e22836ff65b4fd23f4c758a29137637fd0946f1fef74d493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "187c6f0529023a49e22836ff65b4fd23f4c758a29137637fd0946f1fef74d493", kill_on_drop: false }` [INFO] [stdout] 187c6f0529023a49e22836ff65b4fd23f4c758a29137637fd0946f1fef74d493 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3fe47eefbd66ef915f6680cb6f13a0431416a5805c3aeac3154abbf0b23cc643 [INFO] running `Command { std: "docker" "start" "-a" "3fe47eefbd66ef915f6680cb6f13a0431416a5805c3aeac3154abbf0b23cc643", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling roblib-macro v0.1.0 [INFO] [stderr] Compiling roblib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::Event` [INFO] [stdout] --> src/event/concrete.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::Event; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/event/concrete.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 58 | / match self { [INFO] [stdout] 59 | | #[cfg(feature = "roland")] [INFO] [stdout] 60 | | Self::TrackSensor(c) => { [INFO] [stdout] 61 | | s.serialize_field("name", super::TrackSensor::NAME)?; [INFO] [stdout] ... | [INFO] [stdout] 97 | | Self::None => unreachable!(), [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 99 | s.end() [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/event/concrete.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 125 | let v: Option = match &name[..] { [INFO] [stdout] | _______________________________________________- [INFO] [stdout] 126 | | #[cfg(feature = "roland")] [INFO] [stdout] 127 | | super::TrackSensor::NAME => seq.next_element()?.map(ConcreteType::TrackSensor), [INFO] [stdout] 128 | | #[cfg(feature = "roland")] [INFO] [stdout] ... | [INFO] [stdout] 157 | | }; [INFO] [stdout] | |_________________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 158 | [INFO] [stdout] 159 | v.ok_or_else(|| de::Error::invalid_length(0, &self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/event/concrete.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | let mut s = serializer.serialize_struct("ConcreteType", 2)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/event/concrete.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut s = serializer.serialize_struct("ConcreteType", 2)?; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/event/concrete.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | let v: Option = match &name[..] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.23s [INFO] running `Command { std: "docker" "inspect" "3fe47eefbd66ef915f6680cb6f13a0431416a5805c3aeac3154abbf0b23cc643", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fe47eefbd66ef915f6680cb6f13a0431416a5805c3aeac3154abbf0b23cc643", kill_on_drop: false }` [INFO] [stdout] 3fe47eefbd66ef915f6680cb6f13a0431416a5805c3aeac3154abbf0b23cc643 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5a83175222940016c5ce356ea83fa1549a0a20dcb4aa5480b0f1ce2a5b57a450 [INFO] running `Command { std: "docker" "start" "-a" "5a83175222940016c5ce356ea83fa1549a0a20dcb4aa5480b0f1ce2a5b57a450", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stdout] warning: unused import: `super::Event` [INFO] [stdout] --> src/event/concrete.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::Event; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/event/concrete.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 58 | / match self { [INFO] [stdout] 59 | | #[cfg(feature = "roland")] [INFO] [stdout] 60 | | Self::TrackSensor(c) => { [INFO] [stdout] 61 | | s.serialize_field("name", super::TrackSensor::NAME)?; [INFO] [stdout] ... | [INFO] [stdout] 97 | | Self::None => unreachable!(), [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 99 | s.end() [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/event/concrete.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 125 | let v: Option = match &name[..] { [INFO] [stdout] | _______________________________________________- [INFO] [stdout] 126 | | #[cfg(feature = "roland")] [INFO] [stdout] 127 | | super::TrackSensor::NAME => seq.next_element()?.map(ConcreteType::TrackSensor), [INFO] [stdout] 128 | | #[cfg(feature = "roland")] [INFO] [stdout] ... | [INFO] [stdout] 157 | | }; [INFO] [stdout] | |_________________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 158 | [INFO] [stdout] 159 | v.ok_or_else(|| de::Error::invalid_length(0, &self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/event/concrete.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | let mut s = serializer.serialize_struct("ConcreteType", 2)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/event/concrete.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut s = serializer.serialize_struct("ConcreteType", 2)?; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/event/concrete.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | let v: Option = match &name[..] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling roblib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in the crate root [INFO] [stdout] --> src/text_format/mod.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | crate::gpio::Mode::Input [INFO] [stdout] | ^^^^ could not find `gpio` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod gpio; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `gpio` feature [INFO] [stdout] --> src/lib.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "gpio")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gpio` in the crate root [INFO] [stdout] --> src/text_format/mod.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | crate::gpio::Mode::Output [INFO] [stdout] | ^^^^ could not find `gpio` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod gpio; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `gpio` feature [INFO] [stdout] --> src/lib.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "gpio")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TrackSensor` in module `event` [INFO] [stdout] --> src/text_format/mod.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | ConcreteType::TrackSensor(event::TrackSensor), [INFO] [stdout] | ^^^^^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UltraSensor` in module `event` [INFO] [stdout] --> src/text_format/mod.rs:20:50 [INFO] [stdout] | [INFO] [stdout] 20 | ConcreteType::UltraSensor(event::UltraSensor(Duration::from_secs_f64(random()))), [INFO] [stdout] | ^^^^^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GpioPin` in module `event` [INFO] [stdout] --> src/text_format/mod.rs:21:46 [INFO] [stdout] | [INFO] [stdout] 21 | ConcreteType::GpioPin(event::GpioPin(random())), [INFO] [stdout] | ^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CamlocConnect` in module `event` [INFO] [stdout] --> src/text_format/mod.rs:22:52 [INFO] [stdout] | [INFO] [stdout] 22 | ConcreteType::CamlocConnect(event::CamlocConnect), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CamlocDisconnect` in module `event` [INFO] [stdout] --> src/text_format/mod.rs:23:55 [INFO] [stdout] | [INFO] [stdout] 23 | ConcreteType::CamlocDisconnect(event::CamlocDisconnect), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CamlocPosition` in module `event` [INFO] [stdout] --> src/text_format/mod.rs:24:53 [INFO] [stdout] | [INFO] [stdout] 24 | ConcreteType::CamlocPosition(event::CamlocPosition), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CamlocInfoUpdate` in module `event` [INFO] [stdout] --> src/text_format/mod.rs:25:55 [INFO] [stdout] | [INFO] [stdout] 25 | ConcreteType::CamlocInfoUpdate(event::CamlocInfoUpdate), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MoveRobot` in module `cmd` [INFO] [stdout] --> src/text_format/mod.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | Concrete::MoveRobot(cmd::MoveRobot(random(), random())), [INFO] [stdout] | ^^^^^^^^^ not found in `cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MoveRobotByAngle` in module `cmd` [INFO] [stdout] --> src/text_format/mod.rs:46:49 [INFO] [stdout] | [INFO] [stdout] 46 | Concrete::MoveRobotByAngle(cmd::MoveRobotByAngle(random(), random())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `StopRobot` in module `cmd` [INFO] [stdout] --> src/text_format/mod.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | Concrete::StopRobot(cmd::StopRobot), [INFO] [stdout] | ^^^^^^^^^ not found in `cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Led` in module `cmd` [INFO] [stdout] --> src/text_format/mod.rs:48:36 [INFO] [stdout] | [INFO] [stdout] 48 | Concrete::Led(cmd::Led(random(), random(), random())), [INFO] [stdout] | ^^^ not found in `cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RolandServo` in module `cmd` [INFO] [stdout] --> src/text_format/mod.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 49 | Concrete::RolandServo(cmd::RolandServo(random())), [INFO] [stdout] | ^^^^^^^^^^^ not found in `cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Buzzer` in module `cmd` [INFO] [stdout] --> src/text_format/mod.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | Concrete::Buzzer(cmd::Buzzer(random())), [INFO] [stdout] | ^^^^^^ not found in `cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TrackSensor` in module `cmd` [INFO] [stdout] --> src/text_format/mod.rs:51:44 [INFO] [stdout] | [INFO] [stdout] 51 | Concrete::TrackSensor(cmd::TrackSensor), [INFO] [stdout] | ^^^^^^^^^^^ not found in `cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UltraSensor` in module `cmd` [INFO] [stdout] --> src/text_format/mod.rs:52:44 [INFO] [stdout] | [INFO] [stdout] 52 | Concrete::UltraSensor(cmd::UltraSensor), [INFO] [stdout] | ^^^^^^^^^^^ not found in `cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PinMode` in module `cmd` [INFO] [stdout] --> src/text_format/mod.rs:53:40 [INFO] [stdout] | [INFO] [stdout] 53 | Concrete::PinMode(cmd::PinMode( [INFO] [stdout] | ^^^^^^^ not found in `cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadPin` in module `cmd` [INFO] [stdout] --> src/text_format/mod.rs:61:40 [INFO] [stdout] | [INFO] [stdout] 61 | Concrete::ReadPin(cmd::ReadPin(random())), [INFO] [stdout] | ^^^^^^^ not found in `cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WritePin` in module `cmd` [INFO] [stdout] --> src/text_format/mod.rs:62:41 [INFO] [stdout] | [INFO] [stdout] 62 | Concrete::WritePin(cmd::WritePin(random(), random())), [INFO] [stdout] | ^^^^^^^^ not found in `cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pwm` in module `cmd` [INFO] [stdout] --> src/text_format/mod.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | Concrete::Pwm(cmd::Pwm(random(), random(), random())), [INFO] [stdout] | ^^^ not found in `cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Servo` in module `cmd` [INFO] [stdout] --> src/text_format/mod.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | Concrete::Servo(cmd::Servo(random(), random())), [INFO] [stdout] | ^^^^^ not found in `cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GetPosition` in module `cmd` [INFO] [stdout] --> src/text_format/mod.rs:65:44 [INFO] [stdout] | [INFO] [stdout] 65 | Concrete::GetPosition(cmd::GetPosition), [INFO] [stdout] | ^^^^^^^^^^^ not found in `cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GpioPin` in module `event` [INFO] [stdout] --> src/text_format/mod.rs:66:59 [INFO] [stdout] | [INFO] [stdout] 66 | Concrete::Subscribe(cmd::Subscribe(event::GpioPin(random()).into())), [INFO] [stdout] | ^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GpioPin` in module `event` [INFO] [stdout] --> src/text_format/mod.rs:67:63 [INFO] [stdout] | [INFO] [stdout] 67 | Concrete::Unsubscribe(cmd::Unsubscribe(event::GpioPin(random()).into())), [INFO] [stdout] | ^^^^^^^ not found in `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Event` [INFO] [stdout] --> src/event/concrete.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::Event; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/event/concrete.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 58 | / match self { [INFO] [stdout] 59 | | #[cfg(feature = "roland")] [INFO] [stdout] 60 | | Self::TrackSensor(c) => { [INFO] [stdout] 61 | | s.serialize_field("name", super::TrackSensor::NAME)?; [INFO] [stdout] ... | [INFO] [stdout] 97 | | Self::None => unreachable!(), [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 99 | s.end() [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/event/concrete.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 125 | let v: Option = match &name[..] { [INFO] [stdout] | _______________________________________________- [INFO] [stdout] 126 | | #[cfg(feature = "roland")] [INFO] [stdout] 127 | | super::TrackSensor::NAME => seq.next_element()?.map(ConcreteType::TrackSensor), [INFO] [stdout] 128 | | #[cfg(feature = "roland")] [INFO] [stdout] ... | [INFO] [stdout] 157 | | }; [INFO] [stdout] | |_________________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 158 | [INFO] [stdout] 159 | v.ok_or_else(|| de::Error::invalid_length(0, &self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `TrackSensor` found for enum `ConcreteType` in the current scope [INFO] [stdout] --> src/text_format/mod.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | ConcreteType::TrackSensor(event::TrackSensor), [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `ConcreteType` [INFO] [stdout] | [INFO] [stdout] ::: src/event/concrete.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ConcreteType { [INFO] [stdout] | --------------------- variant or associated item `TrackSensor` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `UltraSensor` found for enum `ConcreteType` in the current scope [INFO] [stdout] --> src/text_format/mod.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | ConcreteType::UltraSensor(event::UltraSensor(Duration::from_secs_f64(random()))), [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `ConcreteType` [INFO] [stdout] | [INFO] [stdout] ::: src/event/concrete.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ConcreteType { [INFO] [stdout] | --------------------- variant or associated item `UltraSensor` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `GpioPin` found for enum `ConcreteType` in the current scope [INFO] [stdout] --> src/text_format/mod.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | ConcreteType::GpioPin(event::GpioPin(random())), [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `ConcreteType` [INFO] [stdout] | [INFO] [stdout] ::: src/event/concrete.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ConcreteType { [INFO] [stdout] | --------------------- variant or associated item `GpioPin` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CamlocConnect` found for enum `ConcreteType` in the current scope [INFO] [stdout] --> src/text_format/mod.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | ConcreteType::CamlocConnect(event::CamlocConnect), [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `ConcreteType` [INFO] [stdout] | [INFO] [stdout] ::: src/event/concrete.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ConcreteType { [INFO] [stdout] | --------------------- variant or associated item `CamlocConnect` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CamlocDisconnect` found for enum `ConcreteType` in the current scope [INFO] [stdout] --> src/text_format/mod.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | ConcreteType::CamlocDisconnect(event::CamlocDisconnect), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `ConcreteType` [INFO] [stdout] | [INFO] [stdout] ::: src/event/concrete.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ConcreteType { [INFO] [stdout] | --------------------- variant or associated item `CamlocDisconnect` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CamlocPosition` found for enum `ConcreteType` in the current scope [INFO] [stdout] --> src/text_format/mod.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | ConcreteType::CamlocPosition(event::CamlocPosition), [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `ConcreteType` [INFO] [stdout] | [INFO] [stdout] ::: src/event/concrete.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ConcreteType { [INFO] [stdout] | --------------------- variant or associated item `CamlocPosition` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CamlocInfoUpdate` found for enum `ConcreteType` in the current scope [INFO] [stdout] --> src/text_format/mod.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | ConcreteType::CamlocInfoUpdate(event::CamlocInfoUpdate), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `ConcreteType` [INFO] [stdout] | [INFO] [stdout] ::: src/event/concrete.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ConcreteType { [INFO] [stdout] | --------------------- variant or associated item `CamlocInfoUpdate` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MoveRobot` found for enum `Concrete` in the current scope [INFO] [stdout] --> src/text_format/mod.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | Concrete::MoveRobot(cmd::MoveRobot(random(), random())), [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `Concrete` [INFO] [stdout] | [INFO] [stdout] ::: src/cmd/concrete.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Concrete { [INFO] [stdout] | ----------------- variant or associated item `MoveRobot` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MoveRobotByAngle` found for enum `Concrete` in the current scope [INFO] [stdout] --> src/text_format/mod.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | Concrete::MoveRobotByAngle(cmd::MoveRobotByAngle(random(), random())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ variant or associated item not found in `Concrete` [INFO] [stdout] | [INFO] [stdout] ::: src/cmd/concrete.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Concrete { [INFO] [stdout] | ----------------- variant or associated item `MoveRobotByAngle` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `StopRobot` found for enum `Concrete` in the current scope [INFO] [stdout] --> src/text_format/mod.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | Concrete::StopRobot(cmd::StopRobot), [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `Concrete` [INFO] [stdout] | [INFO] [stdout] ::: src/cmd/concrete.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Concrete { [INFO] [stdout] | ----------------- variant or associated item `StopRobot` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Led` found for enum `Concrete` in the current scope [INFO] [stdout] --> src/text_format/mod.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | Concrete::Led(cmd::Led(random(), random(), random())), [INFO] [stdout] | ^^^ variant or associated item not found in `Concrete` [INFO] [stdout] | [INFO] [stdout] ::: src/cmd/concrete.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Concrete { [INFO] [stdout] | ----------------- variant or associated item `Led` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `RolandServo` found for enum `Concrete` in the current scope [INFO] [stdout] --> src/text_format/mod.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | Concrete::RolandServo(cmd::RolandServo(random())), [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `Concrete` [INFO] [stdout] | [INFO] [stdout] ::: src/cmd/concrete.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Concrete { [INFO] [stdout] | ----------------- variant or associated item `RolandServo` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Buzzer` found for enum `Concrete` in the current scope [INFO] [stdout] --> src/text_format/mod.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | Concrete::Buzzer(cmd::Buzzer(random())), [INFO] [stdout] | ^^^^^^ variant or associated item not found in `Concrete` [INFO] [stdout] | [INFO] [stdout] ::: src/cmd/concrete.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Concrete { [INFO] [stdout] | ----------------- variant or associated item `Buzzer` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `TrackSensor` found for enum `Concrete` in the current scope [INFO] [stdout] --> src/text_format/mod.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | Concrete::TrackSensor(cmd::TrackSensor), [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `Concrete` [INFO] [stdout] | [INFO] [stdout] ::: src/cmd/concrete.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Concrete { [INFO] [stdout] | ----------------- variant or associated item `TrackSensor` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `UltraSensor` found for enum `Concrete` in the current scope [INFO] [stdout] --> src/text_format/mod.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | Concrete::UltraSensor(cmd::UltraSensor), [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `Concrete` [INFO] [stdout] | [INFO] [stdout] ::: src/cmd/concrete.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Concrete { [INFO] [stdout] | ----------------- variant or associated item `UltraSensor` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `PinMode` found for enum `Concrete` in the current scope [INFO] [stdout] --> src/text_format/mod.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | Concrete::PinMode(cmd::PinMode( [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `Concrete` [INFO] [stdout] | [INFO] [stdout] ::: src/cmd/concrete.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Concrete { [INFO] [stdout] | ----------------- variant or associated item `PinMode` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ReadPin` found for enum `Concrete` in the current scope [INFO] [stdout] --> src/text_format/mod.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | Concrete::ReadPin(cmd::ReadPin(random())), [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `Concrete` [INFO] [stdout] | [INFO] [stdout] ::: src/cmd/concrete.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Concrete { [INFO] [stdout] | ----------------- variant or associated item `ReadPin` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `WritePin` found for enum `Concrete` in the current scope [INFO] [stdout] --> src/text_format/mod.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | Concrete::WritePin(cmd::WritePin(random(), random())), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `Concrete` [INFO] [stdout] | [INFO] [stdout] ::: src/cmd/concrete.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Concrete { [INFO] [stdout] | ----------------- variant or associated item `WritePin` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Pwm` found for enum `Concrete` in the current scope [INFO] [stdout] --> src/text_format/mod.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | Concrete::Pwm(cmd::Pwm(random(), random(), random())), [INFO] [stdout] | ^^^ variant or associated item not found in `Concrete` [INFO] [stdout] | [INFO] [stdout] ::: src/cmd/concrete.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Concrete { [INFO] [stdout] | ----------------- variant or associated item `Pwm` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Servo` found for enum `Concrete` in the current scope [INFO] [stdout] --> src/text_format/mod.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | Concrete::Servo(cmd::Servo(random(), random())), [INFO] [stdout] | ^^^^^ variant or associated item not found in `Concrete` [INFO] [stdout] | [INFO] [stdout] ::: src/cmd/concrete.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Concrete { [INFO] [stdout] | ----------------- variant or associated item `Servo` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `GetPosition` found for enum `Concrete` in the current scope [INFO] [stdout] --> src/text_format/mod.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | Concrete::GetPosition(cmd::GetPosition), [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `Concrete` [INFO] [stdout] | [INFO] [stdout] ::: src/cmd/concrete.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Concrete { [INFO] [stdout] | ----------------- variant or associated item `GetPosition` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/event/concrete.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | let mut s = serializer.serialize_struct("ConcreteType", 2)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/event/concrete.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut s = serializer.serialize_struct("ConcreteType", 2)?; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/event/concrete.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | let v: Option = match &name[..] { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `roblib` (lib test) due to 46 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5a83175222940016c5ce356ea83fa1549a0a20dcb4aa5480b0f1ce2a5b57a450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a83175222940016c5ce356ea83fa1549a0a20dcb4aa5480b0f1ce2a5b57a450", kill_on_drop: false }` [INFO] [stdout] 5a83175222940016c5ce356ea83fa1549a0a20dcb4aa5480b0f1ce2a5b57a450