[INFO] cloning repository https://github.com/niclashoyer/loco [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/niclashoyer/loco" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniclashoyer%2Floco", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniclashoyer%2Floco'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a72d1d1b426ee65e0084acb6f05809bf786e031f [INFO] testing niclashoyer/loco against master#562dee4820c458d823175268e41601d4c060588a for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniclashoyer%2Floco" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/niclashoyer/loco [INFO] finished tweaking git repo https://github.com/niclashoyer/loco [INFO] tweaked toml for git repo https://github.com/niclashoyer/loco written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/niclashoyer/loco on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/niclashoyer/loco already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/niclashoyer/drogue-embedded-timer` [INFO] [stderr] Updating git repository `https://github.com/niclashoyer/embedded-hal-mock` [INFO] [stderr] Updating git repository `https://github.com/caemor/linux-embedded-hal` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded riscv-target v0.1.2 [INFO] [stderr] Downloaded nb v1.0.0 [INFO] [stderr] Downloaded critical-section v0.2.5 [INFO] [stderr] Downloaded no-std-net v0.5.0 [INFO] [stderr] Downloaded serial-unix v0.4.0 [INFO] [stderr] Downloaded spin v0.9.2 [INFO] [stderr] Downloaded generic-array v0.13.3 [INFO] [stderr] Downloaded serial_test_derive v0.5.1 [INFO] [stderr] Downloaded serial_test v0.5.1 [INFO] [stderr] Downloaded redox_termios v0.1.2 [INFO] [stderr] Downloaded termios v0.2.2 [INFO] [stderr] Downloaded aligned v0.3.5 [INFO] [stderr] Downloaded sysfs_gpio v0.6.1 [INFO] [stderr] Downloaded gpio-cdev v0.5.1 [INFO] [stderr] Downloaded cortex-m v0.6.7 [INFO] [stderr] Downloaded bitvec v0.22.3 [INFO] [stderr] Downloaded nix v0.23.1 [INFO] [stderr] Downloaded riscv v0.7.0 [INFO] [stderr] Downloaded libc v0.2.116 [INFO] [stderr] Downloaded embedded-time v0.12.1 [INFO] [stderr] Downloaded embedded-hal v0.2.6 [INFO] [stderr] Downloaded i2cdev v0.5.1 [INFO] [stderr] Downloaded ioctl-rs v0.1.6 [INFO] [stderr] Downloaded num-complex v0.3.1 [INFO] [stderr] Downloaded vcell v0.1.3 [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] [stderr] Downloaded serial-core v0.4.0 [INFO] [stderr] Downloaded spidev v0.5.1 [INFO] [stderr] Downloaded bitfield v0.13.2 [INFO] [stderr] Downloaded volatile-register v0.2.1 [INFO] [stderr] Downloaded bare-metal v1.0.0 [INFO] [stderr] Downloaded bare-metal v0.2.5 [INFO] [stderr] Downloaded termion v1.5.6 [INFO] [stderr] Downloaded as-slice v0.1.5 [INFO] [stderr] Downloaded num v0.3.1 [INFO] [stderr] Downloaded std-embedded-nal v0.1.2 [INFO] [stderr] Downloaded embedded-nal v0.6.0 [INFO] [stderr] Downloaded atomic-polyfill v0.1.5 [INFO] [stderr] Downloaded heapless v0.7.10 [INFO] [stderr] Downloaded embedded-hal-sync-pins v0.5.2 [INFO] [stderr] Downloaded embedded-hal v1.0.0-alpha.6 [INFO] [stderr] Downloaded embedded-time v0.10.1 [INFO] [stderr] Downloaded test-log v0.2.8 [INFO] [stderr] Downloaded cortex-m v0.7.4 [INFO] [stderr] Downloaded thread-priority v0.2.4 [INFO] [stderr] Downloaded vcd v0.6.1 [INFO] [stderr] Downloaded embedded-hal-vcd v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2848f681a643ed07dc016e90141d052c5e6f198633bb1a5f28bf89e9c1266dc [INFO] running `Command { std: "docker" "start" "-a" "b2848f681a643ed07dc016e90141d052c5e6f198633bb1a5f28bf89e9c1266dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2848f681a643ed07dc016e90141d052c5e6f198633bb1a5f28bf89e9c1266dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2848f681a643ed07dc016e90141d052c5e6f198633bb1a5f28bf89e9c1266dc", kill_on_drop: false }` [INFO] [stdout] b2848f681a643ed07dc016e90141d052c5e6f198633bb1a5f28bf89e9c1266dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cffdd3ee5a504d24a4c9b95214a5469e74ce0006f643df17cae9794db8b43a58 [INFO] running `Command { std: "docker" "start" "-a" "cffdd3ee5a504d24a4c9b95214a5469e74ce0006f643df17cae9794db8b43a58", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling heapless v0.7.10 [INFO] [stderr] Compiling cortex-m v0.7.4 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling embedded-hal v1.0.0-alpha.6 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling volatile-register v0.2.1 [INFO] [stderr] Compiling embedded-hal v0.2.6 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling wyz v0.4.0 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling funty v1.2.0 [INFO] [stderr] Compiling no-std-net v0.5.0 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling bitvec v0.22.3 [INFO] [stderr] Compiling embedded-nal v0.6.0 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling std-embedded-nal v0.1.2 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling serial-core v0.4.0 [INFO] [stderr] Compiling ioctl-rs v0.1.6 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling aligned v0.3.5 [INFO] [stderr] Compiling serial-unix v0.4.0 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling embedded-time v0.12.1 [INFO] [stderr] Compiling embedded-time v0.10.1 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling drogue-embedded-timer v0.2.3 (https://github.com/niclashoyer/drogue-embedded-timer?branch=hal-1.0.0#e95df52e) [INFO] [stderr] Compiling loco-core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Compiling loco-dcc v0.1.0 (/opt/rustwide/workdir/dcc) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> core/src/analog.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AnalogNumber` [INFO] [stdout] 4 | pub enum AnalogNumber { [INFO] [stdout] | ------------ `AnalogNumber` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> core/src/analog.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_AnalogNumber` [INFO] [stdout] 4 | pub enum AnalogNumber { [INFO] [stdout] | ------------ `AnalogNumber` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> core/src/functions.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive, Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Function` [INFO] [stdout] 4 | pub enum Function { [INFO] [stdout] | -------- `Function` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> core/src/functions.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive, Copy)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Function` [INFO] [stdout] 4 | pub enum Function { [INFO] [stdout] | -------- `Function` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> core/src/functions.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive, Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FunctionGroupNumber` [INFO] [stdout] 77 | pub enum FunctionGroupNumber { [INFO] [stdout] | ------------------- `FunctionGroupNumber` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> core/src/functions.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive, Copy)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_FunctionGroupNumber` [INFO] [stdout] 77 | pub enum FunctionGroupNumber { [INFO] [stdout] | ------------------- `FunctionGroupNumber` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> dcc/src/address.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | mov!(buf[0..=1] <- &self.num.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 22 | let _ = mov!(buf[0..=1] <- &self.num.to_le_bytes());; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling loco-xpressnet v0.1.0 (/opt/rustwide/workdir/xpressnet) [INFO] [stderr] Compiling loco-command-station v0.1.0 (/opt/rustwide/workdir/command-station) [INFO] [stderr] Compiling loco-susi v0.1.0 (/opt/rustwide/workdir/susi) [INFO] [stdout] warning: unused return value of `bitflags::core::slice::::len` that must be used [INFO] [stdout] --> xpressnet/src/lib.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | mov!(buf[1..=2] <- &loco_address.num.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 171 | let _ = mov!(buf[1..=2] <- &loco_address.num.to_le_bytes());; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling loco-z21 v0.1.0 (/opt/rustwide/workdir/z21) [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | mov!(buf[0..=3] <- &[0x14, 0x00, 0x84, 0x00]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 97 | let _ = mov!(buf[0..=3] <- &[0x14, 0x00, 0x84, 0x00]);; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | mov!(buf[4..=5] <- &main_current.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 98 | let _ = mov!(buf[4..=5] <- &main_current.to_le_bytes());; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | mov!(buf[6..=7] <- &prog_current.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 99 | let _ = mov!(buf[6..=7] <- &prog_current.to_le_bytes());; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | mov!(buf[8..=9] <- &filtered_main_current.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = mov!(buf[8..=9] <- &filtered_main_current.to_le_bytes());; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | mov!(buf[10..=11] <- &temperature.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 101 | let _ = mov!(buf[10..=11] <- &temperature.to_le_bytes());; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | mov!(buf[12..=13] <- &supply_voltage.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = mov!(buf[12..=13] <- &supply_voltage.to_le_bytes());; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | mov!(buf[14..=15] <- &vcc_voltage.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 103 | let _ = mov!(buf[14..=15] <- &vcc_voltage.to_le_bytes());; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | mov!(buf[16..=19] <- &[central_state.bits, central_state_ex.bits, 0x00, 0x00]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = mov!(buf[16..=19] <- &[central_state.bits, central_state_ex.bits, 0x00, 0x00]);; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | mov!(buf[0..=1] <- &[0x10, 0x11]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 108 | let _ = mov!(buf[0..=1] <- &[0x10, 0x11]);; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | mov!(buf[2..=5] <- &num.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 109 | let _ = mov!(buf[2..=5] <- &num.to_le_bytes());; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | mov!(buf[2..=3] <- &[0x40, 0x00]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 113 | let _ = mov!(buf[2..=3] <- &[0x40, 0x00]);; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | mov!(buf[0..=1] <- &(size as u16).to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 116 | let _ = mov!(buf[0..=1] <- &(size as u16).to_le_bytes());; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling spidev v0.5.1 [INFO] [stderr] Compiling i2cdev v0.5.1 [INFO] [stderr] Compiling gpio-cdev v0.5.1 [INFO] [stderr] Compiling sysfs_gpio v0.6.1 [INFO] [stderr] Compiling linux-embedded-hal v0.4.0-alpha.1 (https://github.com/caemor/linux-embedded-hal#8789ce2f) [INFO] [stderr] Compiling linux-dcc v0.1.0 (/opt/rustwide/workdir/command-station/examples/linux-dcc) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.24s [INFO] running `Command { std: "docker" "inspect" "cffdd3ee5a504d24a4c9b95214a5469e74ce0006f643df17cae9794db8b43a58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cffdd3ee5a504d24a4c9b95214a5469e74ce0006f643df17cae9794db8b43a58", kill_on_drop: false }` [INFO] [stdout] cffdd3ee5a504d24a4c9b95214a5469e74ce0006f643df17cae9794db8b43a58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58408983b03580d9bdcc76fa79aa6d9684291d4cc147406d591e3586cd3dcdbe [INFO] running `Command { std: "docker" "start" "-a" "58408983b03580d9bdcc76fa79aa6d9684291d4cc147406d591e3586cd3dcdbe", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling vcd v0.6.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling embedded-hal-mock v0.8.0 (https://github.com/niclashoyer/embedded-hal-mock?branch=timers#069d123d) [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling thread-priority v0.2.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling test-log v0.2.8 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Compiling serial_test v0.5.1 [INFO] [stderr] Compiling loco-core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Compiling embedded-hal-sync-pins v0.5.2 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> core/src/analog.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AnalogNumber` [INFO] [stdout] 4 | pub enum AnalogNumber { [INFO] [stdout] | ------------ `AnalogNumber` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> core/src/analog.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_AnalogNumber` [INFO] [stdout] 4 | pub enum AnalogNumber { [INFO] [stdout] | ------------ `AnalogNumber` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> core/src/functions.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive, Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Function` [INFO] [stdout] 4 | pub enum Function { [INFO] [stdout] | -------- `Function` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> core/src/functions.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive, Copy)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Function` [INFO] [stdout] 4 | pub enum Function { [INFO] [stdout] | -------- `Function` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> core/src/functions.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive, Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FunctionGroupNumber` [INFO] [stdout] 77 | pub enum FunctionGroupNumber { [INFO] [stdout] | ------------------- `FunctionGroupNumber` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> core/src/functions.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive, Copy)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_FunctionGroupNumber` [INFO] [stdout] 77 | pub enum FunctionGroupNumber { [INFO] [stdout] | ------------------- `FunctionGroupNumber` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> core/src/analog.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AnalogNumber` [INFO] [stdout] 4 | pub enum AnalogNumber { [INFO] [stdout] | ------------ `AnalogNumber` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling loco-dcc v0.1.0 (/opt/rustwide/workdir/dcc) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> core/src/analog.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_AnalogNumber` [INFO] [stdout] 4 | pub enum AnalogNumber { [INFO] [stdout] | ------------ `AnalogNumber` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> core/src/functions.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive, Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Function` [INFO] [stdout] 4 | pub enum Function { [INFO] [stdout] | -------- `Function` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> core/src/functions.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive, Copy)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Function` [INFO] [stdout] 4 | pub enum Function { [INFO] [stdout] | -------- `Function` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> core/src/functions.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive, Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FunctionGroupNumber` [INFO] [stdout] 77 | pub enum FunctionGroupNumber { [INFO] [stdout] | ------------------- `FunctionGroupNumber` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> core/src/functions.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive, Copy)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_FunctionGroupNumber` [INFO] [stdout] 77 | pub enum FunctionGroupNumber { [INFO] [stdout] | ------------------- `FunctionGroupNumber` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling embedded-hal-vcd v0.1.0 [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> dcc/src/address.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | mov!(buf[0..=1] <- &self.num.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 22 | let _ = mov!(buf[0..=1] <- &self.num.to_le_bytes());; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling loco-susi v0.1.0 (/opt/rustwide/workdir/susi) [INFO] [stderr] Compiling loco-command-station v0.1.0 (/opt/rustwide/workdir/command-station) [INFO] [stderr] Compiling loco-xpressnet v0.1.0 (/opt/rustwide/workdir/xpressnet) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> susi/src/tests_mock.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use embedded_time::duration::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the name `units` in the type namespace is first re-exported here [INFO] [stdout] 4 | pub use embedded_time::rate::*; [INFO] [stdout] | ---------------------- but the name `units` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> susi/src/tests_mock.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use embedded_time::duration::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the name `Generic` in the type namespace is first re-exported here [INFO] [stdout] 4 | pub use embedded_time::rate::*; [INFO] [stdout] | ---------------------- but the name `Generic` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> susi/src/tests_mock.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use embedded_time::duration::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the name `Extensions` in the type namespace is first re-exported here [INFO] [stdout] 4 | pub use embedded_time::rate::*; [INFO] [stdout] | ---------------------- but the name `Extensions` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `bitflags::core::slice::::len` that must be used [INFO] [stdout] --> xpressnet/src/lib.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | mov!(buf[1..=2] <- &loco_address.num.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 171 | let _ = mov!(buf[1..=2] <- &loco_address.num.to_le_bytes());; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> dcc/src/address.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | mov!(buf[0..=1] <- &self.num.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 22 | let _ = mov!(buf[0..=1] <- &self.num.to_le_bytes());; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling linux-dcc v0.1.0 (/opt/rustwide/workdir/command-station/examples/linux-dcc) [INFO] [stdout] warning: unused return value of `bitflags::core::slice::::len` that must be used [INFO] [stdout] --> xpressnet/src/lib.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | mov!(buf[1..=2] <- &loco_address.num.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 171 | let _ = mov!(buf[1..=2] <- &loco_address.num.to_le_bytes());; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling loco-z21 v0.1.0 (/opt/rustwide/workdir/z21) [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | mov!(buf[0..=3] <- &[0x14, 0x00, 0x84, 0x00]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 97 | let _ = mov!(buf[0..=3] <- &[0x14, 0x00, 0x84, 0x00]);; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | mov!(buf[4..=5] <- &main_current.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 98 | let _ = mov!(buf[4..=5] <- &main_current.to_le_bytes());; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | mov!(buf[6..=7] <- &prog_current.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 99 | let _ = mov!(buf[6..=7] <- &prog_current.to_le_bytes());; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | mov!(buf[8..=9] <- &filtered_main_current.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = mov!(buf[8..=9] <- &filtered_main_current.to_le_bytes());; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | mov!(buf[10..=11] <- &temperature.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 101 | let _ = mov!(buf[10..=11] <- &temperature.to_le_bytes());; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | mov!(buf[12..=13] <- &supply_voltage.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = mov!(buf[12..=13] <- &supply_voltage.to_le_bytes());; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | mov!(buf[14..=15] <- &vcc_voltage.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 103 | let _ = mov!(buf[14..=15] <- &vcc_voltage.to_le_bytes());; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | mov!(buf[16..=19] <- &[central_state.bits, central_state_ex.bits, 0x00, 0x00]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = mov!(buf[16..=19] <- &[central_state.bits, central_state_ex.bits, 0x00, 0x00]);; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | mov!(buf[0..=1] <- &[0x10, 0x11]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 108 | let _ = mov!(buf[0..=1] <- &[0x10, 0x11]);; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | mov!(buf[2..=5] <- &num.to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 109 | let _ = mov!(buf[2..=5] <- &num.to_le_bytes());; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | mov!(buf[2..=3] <- &[0x40, 0x00]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 113 | let _ = mov!(buf[2..=3] <- &[0x40, 0x00]);; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::slice::::len` that must be used [INFO] [stdout] --> z21/src/main.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | mov!(buf[0..=1] <- &(size as u16).to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 116 | let _ = mov!(buf[0..=1] <- &(size as u16).to_le_bytes());; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.77s [INFO] running `Command { std: "docker" "inspect" "58408983b03580d9bdcc76fa79aa6d9684291d4cc147406d591e3586cd3dcdbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58408983b03580d9bdcc76fa79aa6d9684291d4cc147406d591e3586cd3dcdbe", kill_on_drop: false }` [INFO] [stdout] 58408983b03580d9bdcc76fa79aa6d9684291d4cc147406d591e3586cd3dcdbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5d0681caf8d2de789606549bf31a32ba336d3fc107e8367d1ecdcf2139efe820 [INFO] running `Command { std: "docker" "start" "-a" "5d0681caf8d2de789606549bf31a32ba336d3fc107e8367d1ecdcf2139efe820", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> core/src/analog.rs:3:35 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AnalogNumber` [INFO] [stderr] 4 | pub enum AnalogNumber { [INFO] [stderr] | ------------ `AnalogNumber` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> core/src/analog.rs:3:50 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `ToPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_AnalogNumber` [INFO] [stderr] 4 | pub enum AnalogNumber { [INFO] [stderr] | ------------ `AnalogNumber` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> core/src/functions.rs:3:35 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive, Copy)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Function` [INFO] [stderr] 4 | pub enum Function { [INFO] [stderr] | -------- `Function` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> core/src/functions.rs:3:50 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive, Copy)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `ToPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Function` [INFO] [stderr] 4 | pub enum Function { [INFO] [stderr] | -------- `Function` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> core/src/functions.rs:76:35 [INFO] [stderr] | [INFO] [stderr] 76 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive, Copy)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FunctionGroupNumber` [INFO] [stderr] 77 | pub enum FunctionGroupNumber { [INFO] [stderr] | ------------------- `FunctionGroupNumber` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> core/src/functions.rs:76:50 [INFO] [stderr] | [INFO] [stderr] 76 | #[derive(Clone, Debug, PartialEq, FromPrimitive, ToPrimitive, Copy)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `ToPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_FunctionGroupNumber` [INFO] [stderr] 77 | pub enum FunctionGroupNumber { [INFO] [stderr] | ------------------- `FunctionGroupNumber` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `loco-core` (lib) generated 6 warnings [INFO] [stderr] warning: unused return value of `core::slice::::len` that must be used [INFO] [stderr] --> dcc/src/address.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | mov!(buf[0..=1] <- &self.num.to_le_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 22 | let _ = mov!(buf[0..=1] <- &self.num.to_le_bytes());; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: `loco-dcc` (lib) generated 1 warning [INFO] [stderr] warning: `loco-core` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] warning: unused return value of `bitflags::core::slice::::len` that must be used [INFO] [stderr] --> xpressnet/src/lib.rs:171:17 [INFO] [stderr] | [INFO] [stderr] 171 | mov!(buf[1..=2] <- &loco_address.num.to_le_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 171 | let _ = mov!(buf[1..=2] <- &loco_address.num.to_le_bytes());; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: `loco-xpressnet` (lib) generated 1 warning [INFO] [stderr] warning: `loco-dcc` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `loco-xpressnet` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: unused return value of `core::slice::::len` that must be used [INFO] [stderr] --> z21/src/main.rs:97:17 [INFO] [stderr] | [INFO] [stderr] 97 | mov!(buf[0..=3] <- &[0x14, 0x00, 0x84, 0x00]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 97 | let _ = mov!(buf[0..=3] <- &[0x14, 0x00, 0x84, 0x00]);; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused return value of `core::slice::::len` that must be used [INFO] [stderr] --> z21/src/main.rs:98:17 [INFO] [stderr] | [INFO] [stderr] 98 | mov!(buf[4..=5] <- &main_current.to_le_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 98 | let _ = mov!(buf[4..=5] <- &main_current.to_le_bytes());; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused return value of `core::slice::::len` that must be used [INFO] [stderr] --> z21/src/main.rs:99:17 [INFO] [stderr] | [INFO] [stderr] 99 | mov!(buf[6..=7] <- &prog_current.to_le_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 99 | let _ = mov!(buf[6..=7] <- &prog_current.to_le_bytes());; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused return value of `core::slice::::len` that must be used [INFO] [stderr] --> z21/src/main.rs:100:17 [INFO] [stderr] | [INFO] [stderr] 100 | mov!(buf[8..=9] <- &filtered_main_current.to_le_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 100 | let _ = mov!(buf[8..=9] <- &filtered_main_current.to_le_bytes());; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused return value of `core::slice::::len` that must be used [INFO] [stderr] --> z21/src/main.rs:101:17 [INFO] [stderr] | [INFO] [stderr] 101 | mov!(buf[10..=11] <- &temperature.to_le_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 101 | let _ = mov!(buf[10..=11] <- &temperature.to_le_bytes());; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused return value of `core::slice::::len` that must be used [INFO] [stderr] --> z21/src/main.rs:102:17 [INFO] [stderr] | [INFO] [stderr] 102 | mov!(buf[12..=13] <- &supply_voltage.to_le_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 102 | let _ = mov!(buf[12..=13] <- &supply_voltage.to_le_bytes());; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused return value of `core::slice::::len` that must be used [INFO] [stderr] --> z21/src/main.rs:103:17 [INFO] [stderr] | [INFO] [stderr] 103 | mov!(buf[14..=15] <- &vcc_voltage.to_le_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 103 | let _ = mov!(buf[14..=15] <- &vcc_voltage.to_le_bytes());; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused return value of `core::slice::::len` that must be used [INFO] [stderr] --> z21/src/main.rs:104:17 [INFO] [stderr] | [INFO] [stderr] 104 | mov!(buf[16..=19] <- &[central_state.bits, central_state_ex.bits, 0x00, 0x00]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 104 | let _ = mov!(buf[16..=19] <- &[central_state.bits, central_state_ex.bits, 0x00, 0x00]);; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused return value of `core::slice::::len` that must be used [INFO] [stderr] --> z21/src/main.rs:108:17 [INFO] [stderr] | [INFO] [stderr] 108 | mov!(buf[0..=1] <- &[0x10, 0x11]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 108 | let _ = mov!(buf[0..=1] <- &[0x10, 0x11]);; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused return value of `core::slice::::len` that must be used [INFO] [stderr] --> z21/src/main.rs:109:17 [INFO] [stderr] | [INFO] [stderr] 109 | mov!(buf[2..=5] <- &num.to_le_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 109 | let _ = mov!(buf[2..=5] <- &num.to_le_bytes());; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused return value of `core::slice::::len` that must be used [INFO] [stderr] --> z21/src/main.rs:113:17 [INFO] [stderr] | [INFO] [stderr] 113 | mov!(buf[2..=3] <- &[0x40, 0x00]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 113 | let _ = mov!(buf[2..=3] <- &[0x40, 0x00]);; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused return value of `core::slice::::len` that must be used [INFO] [stderr] --> z21/src/main.rs:116:17 [INFO] [stderr] | [INFO] [stderr] 116 | mov!(buf[0..=1] <- &(size as u16).to_le_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 116 | let _ = mov!(buf[0..=1] <- &(size as u16).to_le_bytes());; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> susi/src/tests_mock.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub use embedded_time::duration::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the name `units` in the type namespace is first re-exported here [INFO] [stderr] 4 | pub use embedded_time::rate::*; [INFO] [stderr] | ---------------------- but the name `units` in the type namespace is also re-exported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> susi/src/tests_mock.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub use embedded_time::duration::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the name `Generic` in the type namespace is first re-exported here [INFO] [stderr] 4 | pub use embedded_time::rate::*; [INFO] [stderr] | ---------------------- but the name `Generic` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> susi/src/tests_mock.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub use embedded_time::duration::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the name `Extensions` in the type namespace is first re-exported here [INFO] [stderr] 4 | pub use embedded_time::rate::*; [INFO] [stderr] | ---------------------- but the name `Extensions` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: `loco-z21` (bin "loco-z21" test) generated 12 warnings [INFO] [stderr] warning: `loco-susi` (lib test) generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/linux_dcc-30bae1f7fde35ce4) [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] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/loco_command_station-d4ce47a6c0e4b2ab) [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] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/loco_core-f7668c86a8da85ef) [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] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/loco_dcc-4911524583b5008e) [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] Running tests/read.rs (/opt/rustwide/target/debug/deps/read-189c804440d2b975) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test read ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running tests/write_and_read.rs (/opt/rustwide/target/debug/deps/write_and_read-fff2af7fb1c2b4ee) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test single_message ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/loco_susi-c02a37a39d60d9d3) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test message::tests::msg_motor_power ... ok [INFO] [stdout] test message::tests::msg_speed_diff ... ok [INFO] [stdout] test message::tests::msg_trigger ... ok [INFO] [stdout] test message::tests::needs_ack ... ok [INFO] [stdout] test message::tests::function_group_data ... ok [INFO] [stdout] test writer::tests::single_noop ... ok [INFO] [stdout] test reader::tests::single_noop ... ok [INFO] [stdout] test writer::tests::single_speed ... ok [INFO] [stdout] test reader::tests::cv_set ... ok [INFO] [stdout] test reader::tests::single_diff ... ok [INFO] [stdout] test reader::tests::three_messages ... ok [INFO] [stdout] test message::tests::parse_and_back ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.99s [INFO] [stdout] [INFO] [stderr] Running tests/realtime.rs (/opt/rustwide/target/debug/deps/realtime-3ed61ae3612815d8) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test single_message ... ok [INFO] [stdout] test two_messages ... FAILED [INFO] [stdout] test three_messages ... ok [INFO] [stderr] error: test failed, to rerun pass `-p loco-susi --test realtime` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- two_messages stdout ---- [INFO] [stdout] WARNING: no realtime scheduling possible, the integration tests might fail! [INFO] [stdout] WARNING: no realtime scheduling possible, the integration tests might fail! [INFO] [stdout] WARNING: reader slept 214 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 1420 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 284 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 1005 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 1953 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 335 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 206 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 238 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 3643 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 347 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: writer slept 201 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: writer slept 3789 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 259 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: writer slept 3992 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: writer slept 3560 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: writer slept 4056 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 1577 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: writer slept 1749 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 334 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: writer slept 1999 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: writer slept 1249 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 665 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 730 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 11983 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 818 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 1993 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 1681 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 262 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 308 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 236 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 212 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 244 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 2625 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 896 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 202 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 355 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 1280 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 1868 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 1713 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 2590 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 267 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 1135 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 999 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 994 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 1783 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 1073 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 1389 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 303 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 1381 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 1640 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 245 µs, more than 200 µs will cause problems [INFO] [stdout] WARNING: reader slept 838 µs, more than 200 µs will cause problems [INFO] [stdout] [INFO] [stdout] thread '' (44) panicked at susi/tests/realtime.rs:118:17: [INFO] [stdout] reader timed out - buf: [Unknown([9, 62, 0])] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x59b2c06423da - std[31e582c13f4e914f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x59b2c06423da - std[31e582c13f4e914f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x59b2c06423da - std[31e582c13f4e914f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x59b2c06423da - <::print::DisplayBacktrace as core[fa0eadad68403074]::fmt::Display>::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x59b2c065679a - ::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x59b2c065679a - core[fa0eadad68403074]::fmt::write [INFO] [stdout] 6: 0x59b2c0646d12 - std[31e582c13f4e914f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x59b2c0646d12 - as std[31e582c13f4e914f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x59b2c062153f - ::print [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x59b2c062153f - std[31e582c13f4e914f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x59b2c063a889 - std[31e582c13f4e914f]::panicking::default_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x59b2c05bd27c - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x59b2c05bd27c - test[7530e63dc052480e]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x59b2c063aa42 - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x59b2c063aa42 - std[31e582c13f4e914f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x59b2c06215f8 - std[31e582c13f4e914f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x59b2c06167d9 - std[31e582c13f4e914f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x59b2c062230d - __rustc[fc8e3a9f23f26cb]::rust_begin_unwind [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x59b2c0656f2c - core[fa0eadad68403074]::panicking::panic_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x59b2c05a880c - realtime[a65bf86d1ccceea9]::write_and_read_messages::{closure#1} [INFO] [stdout] at /opt/rustwide/workdir/susi/tests/realtime.rs:118:17 [INFO] [stdout] 20: 0x59b2c05b11a2 - >,)>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 21: 0x59b2c05a70d4 - realtime[a65bf86d1ccceea9]::write_and_read::::{closure#1} [INFO] [stdout] at /opt/rustwide/workdir/susi/tests/realtime.rs:76:9 [INFO] [stdout] 22: 0x59b2c05aab41 - std[31e582c13f4e914f]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, alloc[49b8922c36ca62de]::vec::Vec> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 23: 0x59b2c05a7ea9 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1}, alloc[49b8922c36ca62de]::vec::Vec>::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 24: 0x59b2c05adf7c - ::{closure#1}, alloc[49b8922c36ca62de]::vec::Vec>::{closure#1}::{closure#0}> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 25: 0x59b2c05aaefd - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::::{closure#1}, alloc[49b8922c36ca62de]::vec::Vec>::{closure#1}::{closure#0}>, alloc[49b8922c36ca62de]::vec::Vec> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 26: 0x59b2c05aa39b - __rust_try [INFO] [stdout] 27: 0x59b2c05a78d0 - std[31e582c13f4e914f]::panicking::catch_unwind::, core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe::{closure#1}, alloc[49b8922c36ca62de]::vec::Vec>::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 28: 0x59b2c05a78d0 - std[31e582c13f4e914f]::panic::catch_unwind::::{closure#1}, alloc[49b8922c36ca62de]::vec::Vec>::{closure#1}::{closure#0}>, alloc[49b8922c36ca62de]::vec::Vec> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 29: 0x59b2c05a78d0 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1}, alloc[49b8922c36ca62de]::vec::Vec>::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 30: 0x59b2c05af1ce - ::{closure#1}, alloc[49b8922c36ca62de]::vec::Vec>::{closure#1} as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 31: 0x59b2c0641cef - + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 32: 0x59b2c0641cef - ::new::thread_start [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 33: 0x741f15faaaa4 - [INFO] [stdout] 34: 0x741f16037a64 - clone [INFO] [stdout] 35: 0x0 - [INFO] [stdout] [INFO] [stdout] thread 'two_messages' (40) panicked at susi/tests/realtime.rs:78:29: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Any { .. } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x59b2c06423da - std[31e582c13f4e914f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x59b2c06423da - std[31e582c13f4e914f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x59b2c06423da - std[31e582c13f4e914f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x59b2c06423da - <::print::DisplayBacktrace as core[fa0eadad68403074]::fmt::Display>::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x59b2c065679a - ::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x59b2c065679a - core[fa0eadad68403074]::fmt::write [INFO] [stdout] 6: 0x59b2c0646d12 - std[31e582c13f4e914f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x59b2c0646d12 - as std[31e582c13f4e914f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x59b2c062153f - ::print [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x59b2c062153f - std[31e582c13f4e914f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x59b2c063a889 - std[31e582c13f4e914f]::panicking::default_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x59b2c05bd27c - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x59b2c05bd27c - test[7530e63dc052480e]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x59b2c063aa42 - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x59b2c063aa42 - std[31e582c13f4e914f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x59b2c06215f8 - std[31e582c13f4e914f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x59b2c06167d9 - std[31e582c13f4e914f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x59b2c062230d - __rustc[fc8e3a9f23f26cb]::rust_begin_unwind [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x59b2c0656f2c - core[fa0eadad68403074]::panicking::panic_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x59b2c0656ca2 - core[fa0eadad68403074]::result::unwrap_failed [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x59b2c05a53eb - , alloc[49b8922c36ca62de]::boxed::Box>>::unwrap [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x59b2c05a53eb - realtime[a65bf86d1ccceea9]::write_and_read:: [INFO] [stdout] at /opt/rustwide/workdir/susi/tests/realtime.rs:78:29 [INFO] [stdout] 22: 0x59b2c05a8e2c - realtime[a65bf86d1ccceea9]::write_and_read_messages [INFO] [stdout] at /opt/rustwide/workdir/susi/tests/realtime.rs:141:16 [INFO] [stdout] 23: 0x59b2c05a894e - realtime[a65bf86d1ccceea9]::two_messages::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/susi/tests/realtime.rs:156:5 [INFO] [stdout] 24: 0x59b2c05b11de - >::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x59b2c05f1317 - serial_test[40d0d42a236ba270]::serial_core [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serial_test-0.5.1/src/lib.rs:64:5 [INFO] [stdout] 26: 0x59b2c05a8f27 - realtime[a65bf86d1ccceea9]::two_messages [INFO] [stdout] at /opt/rustwide/workdir/susi/tests/realtime.rs:154:1 [INFO] [stdout] 27: 0x59b2c05a7f77 - realtime[a65bf86d1ccceea9]::two_messages::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/susi/tests/realtime.rs:155:18 [INFO] [stdout] 28: 0x59b2c05b1036 - >::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x59b2c05b135b - core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 30: 0x59b2c05b135b - test[7530e63dc052480e]::__rust_begin_short_backtrace::, fn() -> core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:663:18 [INFO] [stdout] 31: 0x59b2c05bdd4b - test[7530e63dc052480e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:74 [INFO] [stdout] 32: 0x59b2c05bdd4b - as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 33: 0x59b2c05bdd4b - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 34: 0x59b2c05bdd4b - std[31e582c13f4e914f]::panicking::catch_unwind::, core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 35: 0x59b2c05bdd4b - std[31e582c13f4e914f]::panic::catch_unwind::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 36: 0x59b2c05bdd4b - test[7530e63dc052480e]::run_test_in_process [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:27 [INFO] [stdout] 37: 0x59b2c05bdd4b - test[7530e63dc052480e]::run_test::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:607:43 [INFO] [stdout] 38: 0x59b2c05b81a4 - test[7530e63dc052480e]::run_test::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:637:41 [INFO] [stdout] 39: 0x59b2c05b81a4 - std[31e582c13f4e914f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 40: 0x59b2c05c0952 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 41: 0x59b2c05c0952 - ::{closure#1}::{closure#0}> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 42: 0x59b2c05c0952 - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 43: 0x59b2c05c0952 - std[31e582c13f4e914f]::panicking::catch_unwind::<(), core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 44: 0x59b2c05c0952 - std[31e582c13f4e914f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 45: 0x59b2c05c0952 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 46: 0x59b2c05c0952 - ::{closure#1} as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 47: 0x59b2c0641cef - + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 48: 0x59b2c0641cef - ::new::thread_start [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 49: 0x741f15faaaa4 - [INFO] [stdout] 50: 0x741f16037a64 - clone [INFO] [stdout] 51: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] two_messages [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.89s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5d0681caf8d2de789606549bf31a32ba336d3fc107e8367d1ecdcf2139efe820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d0681caf8d2de789606549bf31a32ba336d3fc107e8367d1ecdcf2139efe820", kill_on_drop: false }` [INFO] [stdout] 5d0681caf8d2de789606549bf31a32ba336d3fc107e8367d1ecdcf2139efe820