[INFO] fetching crate tokio-socketcan-isotp 0.2.0... [INFO] testing tokio-socketcan-isotp-0.2.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate tokio-socketcan-isotp 0.2.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate tokio-socketcan-isotp 0.2.0 [INFO] finished tweaking crates.io crate tokio-socketcan-isotp 0.2.0 [INFO] tweaked toml for crates.io crate tokio-socketcan-isotp 0.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-socketcan-isotp 0.2.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 55 packages to latest compatible versions [INFO] [stderr] Adding mio v0.8.11 (available: v1.1.0) [INFO] [stderr] Adding nix v0.26.4 (available: v0.30.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embedded-can v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02d8e92e2aeede9b33a66c3972c7d455f445f143488cba703db9f8bb4526d7fc [INFO] running `Command { std: "docker" "start" "-a" "02d8e92e2aeede9b33a66c3972c7d455f445f143488cba703db9f8bb4526d7fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02d8e92e2aeede9b33a66c3972c7d455f445f143488cba703db9f8bb4526d7fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02d8e92e2aeede9b33a66c3972c7d455f445f143488cba703db9f8bb4526d7fc", kill_on_drop: false }` [INFO] [stdout] 02d8e92e2aeede9b33a66c3972c7d455f445f143488cba703db9f8bb4526d7fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90d8468d080ac3b10aba218953111c925f663ef6ee4ebbb1e61285d53a71014d [INFO] running `Command { std: "docker" "start" "-a" "90d8468d080ac3b10aba218953111c925f663ef6ee4ebbb1e61285d53a71014d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling embedded-can v0.4.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-socketcan-isotp v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:168:60 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn write_packet<'a>(&'a self, packet: &'a [u8]) -> IsoTpWriteFuture { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 168 | pub fn write_packet<'a>(&'a self, packet: &'a [u8]) -> IsoTpWriteFuture<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn read_packet(&self) -> IsoTpReadFuture { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 175 | pub fn read_packet(&self) -> IsoTpReadFuture<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.58s [INFO] running `Command { std: "docker" "inspect" "90d8468d080ac3b10aba218953111c925f663ef6ee4ebbb1e61285d53a71014d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90d8468d080ac3b10aba218953111c925f663ef6ee4ebbb1e61285d53a71014d", kill_on_drop: false }` [INFO] [stdout] 90d8468d080ac3b10aba218953111c925f663ef6ee4ebbb1e61285d53a71014d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71bb67c3c233095524469429e190bd35db9d70486b4697832bfa6dbe87db2c99 [INFO] running `Command { std: "docker" "start" "-a" "71bb67c3c233095524469429e190bd35db9d70486b4697832bfa6dbe87db2c99", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:168:60 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn write_packet<'a>(&'a self, packet: &'a [u8]) -> IsoTpWriteFuture { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 168 | pub fn write_packet<'a>(&'a self, packet: &'a [u8]) -> IsoTpWriteFuture<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn read_packet(&self) -> IsoTpReadFuture { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 175 | pub fn read_packet(&self) -> IsoTpReadFuture<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-socketcan-isotp v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:168:60 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn write_packet<'a>(&'a self, packet: &'a [u8]) -> IsoTpWriteFuture { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 168 | pub fn write_packet<'a>(&'a self, packet: &'a [u8]) -> IsoTpWriteFuture<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn read_packet(&self) -> IsoTpReadFuture { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 175 | pub fn read_packet(&self) -> IsoTpReadFuture<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "71bb67c3c233095524469429e190bd35db9d70486b4697832bfa6dbe87db2c99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71bb67c3c233095524469429e190bd35db9d70486b4697832bfa6dbe87db2c99", kill_on_drop: false }` [INFO] [stdout] 71bb67c3c233095524469429e190bd35db9d70486b4697832bfa6dbe87db2c99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6717c993c08b8b1b9af3fb3b0a433fcb0e62679ad5c5aaa3ed6eb1eb1d3f2ae0 [INFO] running `Command { std: "docker" "start" "-a" "6717c993c08b8b1b9af3fb3b0a433fcb0e62679ad5c5aaa3ed6eb1eb1d3f2ae0", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:168:60 [INFO] [stderr] | [INFO] [stderr] 168 | pub fn write_packet<'a>(&'a self, packet: &'a [u8]) -> IsoTpWriteFuture { [INFO] [stderr] | -- -- ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 168 | pub fn write_packet<'a>(&'a self, packet: &'a [u8]) -> IsoTpWriteFuture<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:175:24 [INFO] [stderr] | [INFO] [stderr] 175 | pub fn read_packet(&self) -> IsoTpReadFuture { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 175 | pub fn read_packet(&self) -> IsoTpReadFuture<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `tokio-socketcan-isotp` (lib) generated 2 warnings (run `cargo fix --lib -p tokio-socketcan-isotp` to apply 2 suggestions) [INFO] [stderr] warning: `tokio-socketcan-isotp` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tokio_socketcan_isotp-0fdcf08875f90d4d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests tokio_socketcan_isotp [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 15) ... FAILED [INFO] [stdout] test src/socketcan_isotp.rs - socketcan_isotp (line 20) - compile ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/lib.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/lib.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | while let Ok(packet) = socket.read_packet()?.await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `IsoTpReadFuture<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `IsoTpReadFuture<'_>` [INFO] [stdout] help: consider `await`ing on the `Future` [INFO] [stdout] | [INFO] [stdout] 27 | while let Ok(packet) = socket.read_packet().await?.await { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/lib.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let rx = socket.write_packet(packet)?.await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `IsoTpWriteFuture<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `IsoTpWriteFuture<'_>` [INFO] [stdout] help: consider `await`ing on the `Future` [INFO] [stdout] | [INFO] [stdout] 29 | let rx = socket.write_packet(packet).await?.await; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 20 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ----------------- expected `Result<(), tokio_socketcan_isotp::Error>` because of return type [INFO] [stdout] ... [INFO] [stdout] 27 | / while let Ok(packet) = socket.read_packet()?.await { [INFO] [stdout] 28 | | println!("{:?}", packet); [INFO] [stdout] 29 | | let rx = socket.write_packet(packet)?.await; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ expected `Result<(), Error>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), tokio_socketcan_isotp::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: `while` loops evaluate to unit type `()` [INFO] [stdout] help: try adding an expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 30 ~ } [INFO] [stdout] 31 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/socketcan_isotp.rs - socketcan_isotp (line 20) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `socketcan_isotp` [INFO] [stdout] --> src/socketcan_isotp.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use socketcan_isotp::IsoTpSocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `socketcan_isotp` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/socketcan_isotp.rs, use `mod socketcan_isotp` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 21 + mod socketcan_isotp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `socketcan_isotp` [INFO] [stdout] --> src/socketcan_isotp.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn main() -> Result<(), socketcan_isotp::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `socketcan_isotp` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/socketcan_isotp.rs, use `mod socketcan_isotp` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 21 + mod socketcan_isotp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 15) [INFO] [stdout] src/socketcan_isotp.rs - socketcan_isotp (line 20) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6717c993c08b8b1b9af3fb3b0a433fcb0e62679ad5c5aaa3ed6eb1eb1d3f2ae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6717c993c08b8b1b9af3fb3b0a433fcb0e62679ad5c5aaa3ed6eb1eb1d3f2ae0", kill_on_drop: false }` [INFO] [stdout] 6717c993c08b8b1b9af3fb3b0a433fcb0e62679ad5c5aaa3ed6eb1eb1d3f2ae0