[INFO] fetching crate rplidar_drv_rs 0.7.0... [INFO] testing rplidar_drv_rs-0.7.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate rplidar_drv_rs 0.7.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate rplidar_drv_rs 0.7.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rplidar_drv_rs 0.7.0 [INFO] tweaked toml for crates.io crate rplidar_drv_rs 0.7.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rplidar_drv_rs 0.7.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rplidar_drv_rs 0.7.0 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3426a9078f4b8e3b68f317ec945ad471af652ab06db691d8e0ea416f0c1f9ec [INFO] running `Command { std: "docker" "start" "-a" "f3426a9078f4b8e3b68f317ec945ad471af652ab06db691d8e0ea416f0c1f9ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3426a9078f4b8e3b68f317ec945ad471af652ab06db691d8e0ea416f0c1f9ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3426a9078f4b8e3b68f317ec945ad471af652ab06db691d8e0ea416f0c1f9ec", kill_on_drop: false }` [INFO] [stdout] f3426a9078f4b8e3b68f317ec945ad471af652ab06db691d8e0ea416f0c1f9ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f061c92990d5d01aa5e3616d6f901d6dea5c32b4831ad77c3211402d371e3b7f [INFO] running `Command { std: "docker" "start" "-a" "f061c92990d5d01aa5e3616d6f901d6dea5c32b4831ad77c3211402d371e3b7f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling rplidar_drv_rs v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/rpos_drv/errors.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_RposError` [INFO] [stdout] 4 | pub enum RposError { [INFO] [stdout] | --------- `RposError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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] --> src/rpos_drv/errors.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_RposError` [INFO] [stdout] 4 | pub enum RposError { [INFO] [stdout] | --------- `RposError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.08s [INFO] running `Command { std: "docker" "inspect" "f061c92990d5d01aa5e3616d6f901d6dea5c32b4831ad77c3211402d371e3b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f061c92990d5d01aa5e3616d6f901d6dea5c32b4831ad77c3211402d371e3b7f", kill_on_drop: false }` [INFO] [stdout] f061c92990d5d01aa5e3616d6f901d6dea5c32b4831ad77c3211402d371e3b7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fa05512477672b1e57fd4f5059ae1cc41272798f36be29c35bb2a3dd8db91a4 [INFO] running `Command { std: "docker" "start" "-a" "8fa05512477672b1e57fd4f5059ae1cc41272798f36be29c35bb2a3dd8db91a4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling hex-slice v0.1.4 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling rplidar_drv_rs v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/rpos_drv/errors.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_RposError` [INFO] [stdout] 4 | pub enum RposError { [INFO] [stdout] | --------- `RposError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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] --> src/rpos_drv/errors.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_RposError` [INFO] [stdout] 4 | pub enum RposError { [INFO] [stdout] | --------- `RposError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling unescaper v0.1.5 [INFO] [stderr] Compiling serialport v4.6.1 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/rpos_drv/errors.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_RposError` [INFO] [stdout] 4 | pub enum RposError { [INFO] [stdout] | --------- `RposError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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] --> src/rpos_drv/errors.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_RposError` [INFO] [stdout] 4 | pub enum RposError { [INFO] [stdout] | --------- `RposError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.06s [INFO] running `Command { std: "docker" "inspect" "8fa05512477672b1e57fd4f5059ae1cc41272798f36be29c35bb2a3dd8db91a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fa05512477672b1e57fd4f5059ae1cc41272798f36be29c35bb2a3dd8db91a4", kill_on_drop: false }` [INFO] [stdout] 8fa05512477672b1e57fd4f5059ae1cc41272798f36be29c35bb2a3dd8db91a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cbb32f9343db647f49061b262a517bc9c7534ec4d03acce4a740c68973675e67 [INFO] running `Command { std: "docker" "start" "-a" "cbb32f9343db647f49061b262a517bc9c7534ec4d03acce4a740c68973675e67", 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] --> src/rpos_drv/errors.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_RposError` [INFO] [stderr] 4 | pub enum RposError { [INFO] [stderr] | --------- `RposError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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] --> src/rpos_drv/errors.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Fail, Debug)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_RposError` [INFO] [stderr] 4 | pub enum RposError { [INFO] [stderr] | --------- `RposError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rplidar_drv_rs` (lib) generated 2 warnings [INFO] [stderr] warning: `rplidar_drv_rs` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rplidar_drv-743bcb4d2a521086) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test protocol::tests::protocol_encode ... ok [INFO] [stdout] test rpos_drv::ring_byte_buffer::tests::constructor ... ok [INFO] [stdout] test rpos_drv::ring_byte_buffer::tests::read_and_write ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests rplidar_drv [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/lib.rs - RplidarDevice::new (line 102) ... ignored [INFO] [stdout] test src/lib.rs - RplidarDevice::with_stream (line 118) ... ignored [INFO] [stdout] test src/rpos_drv/channel.rs - rpos_drv::channel::Channel (line 11) ... ignored [INFO] [stdout] test src/rpos_drv/channel.rs - rpos_drv::channel::Channel::invoke (line 145) ... ignored [INFO] [stdout] test src/rpos_drv/channel.rs - rpos_drv::channel::Channel::new (line 34) ... ignored [INFO] [stdout] test src/rpos_drv/channel.rs - rpos_drv::channel::Channel::read (line 88) ... ignored [INFO] [stdout] test src/rpos_drv/channel.rs - rpos_drv::channel::Channel::read_until (line 115) ... ignored [INFO] [stdout] test src/rpos_drv/channel.rs - rpos_drv::channel::Channel::reset (line 74) ... ignored [INFO] [stdout] test src/rpos_drv/channel.rs - rpos_drv::channel::Channel::with_read_buffer_size (line 47) ... ignored [INFO] [stdout] test src/rpos_drv/channel.rs - rpos_drv::channel::Channel::write (line 133) ... ignored [INFO] [stdout] test src/rpos_drv/ring_byte_buffer.rs - rpos_drv::ring_byte_buffer::RingByteBuffer::current_read_slice (line 58) ... FAILED [INFO] [stdout] test src/rpos_drv/ring_byte_buffer.rs - rpos_drv::ring_byte_buffer::RingByteBuffer (line 8) ... FAILED [INFO] [stdout] test src/rpos_drv/ring_byte_buffer.rs - rpos_drv::ring_byte_buffer::RingByteBuffer::read_from (line 115) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/rpos_drv/ring_byte_buffer.rs - rpos_drv::ring_byte_buffer::RingByteBuffer::current_read_slice (line 58) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rpos_drv` [INFO] [stdout] --> src/rpos_drv/ring_byte_buffer.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 4 | let mut buffer = rpos_drv::RingByteBuffer::with_capacity(100); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rpos_drv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rpos_drv`, use `cargo add rpos_drv` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rplidar_drv::rpos_drv::RingByteBuffer; [INFO] [stdout] | [INFO] [stdout] help: if you import `RingByteBuffer`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - let mut buffer = rpos_drv::RingByteBuffer::with_capacity(100); [INFO] [stdout] 4 + let mut buffer = RingByteBuffer::with_capacity(100); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rpos_drv/ring_byte_buffer.rs - rpos_drv::ring_byte_buffer::RingByteBuffer (line 8) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rpos_drv` [INFO] [stdout] --> src/rpos_drv/ring_byte_buffer.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 4 | let mut buffer = rpos_drv::RingByteBuffer::with_capacity(100); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rpos_drv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rpos_drv`, use `cargo add rpos_drv` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rplidar_drv::rpos_drv::RingByteBuffer; [INFO] [stdout] | [INFO] [stdout] help: if you import `RingByteBuffer`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - let mut buffer = rpos_drv::RingByteBuffer::with_capacity(100); [INFO] [stdout] 4 + let mut buffer = RingByteBuffer::with_capacity(100); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rpos_drv/ring_byte_buffer.rs - rpos_drv::ring_byte_buffer::RingByteBuffer::read_from (line 115) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rpos_drv` [INFO] [stdout] --> src/rpos_drv/ring_byte_buffer.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 4 | let mut buffer = rpos_drv::RingByteBuffer::with_capacity(100); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `rpos_drv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rpos_drv`, use `cargo add rpos_drv` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rplidar_drv::rpos_drv::RingByteBuffer; [INFO] [stdout] | [INFO] [stdout] help: if you import `RingByteBuffer`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - let mut buffer = rpos_drv::RingByteBuffer::with_capacity(100); [INFO] [stdout] 4 + let mut buffer = RingByteBuffer::with_capacity(100); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/rpos_drv/ring_byte_buffer.rs - rpos_drv::ring_byte_buffer::RingByteBuffer (line 8) [INFO] [stdout] src/rpos_drv/ring_byte_buffer.rs - rpos_drv::ring_byte_buffer::RingByteBuffer::current_read_slice (line 58) [INFO] [stdout] src/rpos_drv/ring_byte_buffer.rs - rpos_drv::ring_byte_buffer::RingByteBuffer::read_from (line 115) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 10 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "cbb32f9343db647f49061b262a517bc9c7534ec4d03acce4a740c68973675e67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbb32f9343db647f49061b262a517bc9c7534ec4d03acce4a740c68973675e67", kill_on_drop: false }` [INFO] [stdout] cbb32f9343db647f49061b262a517bc9c7534ec4d03acce4a740c68973675e67