[INFO] fetching crate odem-rs-meta 0.2.0... [INFO] testing odem-rs-meta-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate odem-rs-meta 0.2.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate odem-rs-meta 0.2.0 [INFO] finished tweaking crates.io crate odem-rs-meta 0.2.0 [INFO] tweaked toml for crates.io crate odem-rs-meta 0.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate odem-rs-meta 0.2.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate odem-rs-meta 0.2.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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9724cbad005d9d124ab257d31ac90357405ff3736491cd8f4d749549ceb3051 [INFO] running `Command { std: "docker" "start" "-a" "d9724cbad005d9d124ab257d31ac90357405ff3736491cd8f4d749549ceb3051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9724cbad005d9d124ab257d31ac90357405ff3736491cd8f4d749549ceb3051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9724cbad005d9d124ab257d31ac90357405ff3736491cd8f4d749549ceb3051", kill_on_drop: false }` [INFO] [stdout] d9724cbad005d9d124ab257d31ac90357405ff3736491cd8f4d749549ceb3051 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4a46bfb580374d31878f6746cc92bfb151b56eab701d4a1445db6eaada96269b [INFO] running `Command { std: "docker" "start" "-a" "4a46bfb580374d31878f6746cc92bfb151b56eab701d4a1445db6eaada96269b", kill_on_drop: false }` [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling winnow v0.7.7 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling toml_edit v0.22.25 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling odem-rs-meta v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.90s [INFO] running `Command { std: "docker" "inspect" "4a46bfb580374d31878f6746cc92bfb151b56eab701d4a1445db6eaada96269b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a46bfb580374d31878f6746cc92bfb151b56eab701d4a1445db6eaada96269b", kill_on_drop: false }` [INFO] [stdout] 4a46bfb580374d31878f6746cc92bfb151b56eab701d4a1445db6eaada96269b [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2ddd275a96d0fd0de0d47d76c21e8101ce24018332a2174d42ae92f85f9b86d5 [INFO] running `Command { std: "docker" "start" "-a" "2ddd275a96d0fd0de0d47d76c21e8101ce24018332a2174d42ae92f85f9b86d5", kill_on_drop: false }` [INFO] [stderr] Compiling odem-rs-meta v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "2ddd275a96d0fd0de0d47d76c21e8101ce24018332a2174d42ae92f85f9b86d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ddd275a96d0fd0de0d47d76c21e8101ce24018332a2174d42ae92f85f9b86d5", kill_on_drop: false }` [INFO] [stdout] 2ddd275a96d0fd0de0d47d76c21e8101ce24018332a2174d42ae92f85f9b86d5 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ee5eb83b9a2f1aa5b34e3d1f7b062d15e66555b36bc06f7a186b8612587e9ed7 [INFO] running `Command { std: "docker" "start" "-a" "ee5eb83b9a2f1aa5b34e3d1f7b062d15e66555b36bc06f7a186b8612587e9ed7", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/odem_rs_meta-924db34c50da7e9b) [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 odem_rs_meta [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test src/lib.rs - sim_main (line 531) ... ignored [INFO] [stdout] test src/lib.rs - derive_config (line 387) ... FAILED [INFO] [stdout] test src/lib.rs - derive_config (line 370) ... FAILED [INFO] [stdout] test src/lib.rs - until (line 176) ... FAILED [INFO] [stdout] test src/lib.rs - derive_config (line 407) ... FAILED [INFO] [stdout] test src/lib.rs - until (line 88) ... ignored [INFO] [stdout] test src/lib.rs - derive_publisher (line 488) ... FAILED [INFO] [stdout] test src/lib.rs - sim_main (line 579) - compile ... FAILED [INFO] [stdout] test src/lib.rs - derive_publisher (line 462) ... FAILED [INFO] [stdout] test src/lib.rs - sim_main (line 589) - compile ... FAILED [INFO] [stdout] test src/lib.rs - derive_publisher (line 441) ... FAILED [INFO] [stdout] test src/lib.rs - derive_config (line 328) ... FAILED [INFO] [stdout] test src/lib.rs - until (line 199) ... FAILED [INFO] [stdout] test src/lib.rs - derive_publisher (line 475) ... FAILED [INFO] [stdout] test src/lib.rs - derive_config (line 312) ... FAILED [INFO] [stdout] test src/lib.rs - derive_config (line 347) ... FAILED [INFO] [stdout] test src/lib.rs - until (line 221) ... FAILED [INFO] [stdout] test src/lib.rs - sim_main (line 605) ... FAILED [INFO] [stdout] test src/lib.rs - until (line 238) ... FAILED [INFO] [stdout] test src/lib.rs - until (line 156) ... FAILED [INFO] [stdout] test src/lib.rs - sim_main (line 626) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - derive_config (line 387) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] --> src/lib.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 3 | use odem_rs::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `odem_rs`, use `cargo add odem_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Config` in this scope [INFO] [stdout] --> src/lib.rs:389:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Config)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use odem_rs_meta::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `time` in this scope [INFO] [stdout] --> src/lib.rs:390:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[time(Time = hour::new(8.0))] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rank` in this scope [INFO] [stdout] --> src/lib.rs:391:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[rank(u8 = 100)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sim` in this scope [INFO] [stdout] --> src/lib.rs:396:25 [INFO] [stdout] | [INFO] [stdout] 11 | async fn sim_main(sim: &Sim) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_config (line 370) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] --> src/lib.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 3 | use odem_rs::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `odem_rs`, use `cargo add odem_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Config` in this scope [INFO] [stdout] --> src/lib.rs:372:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Config)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use odem_rs_meta::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `time` in this scope [INFO] [stdout] --> src/lib.rs:373:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[time = "Time"] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rank` in this scope [INFO] [stdout] --> src/lib.rs:374:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[rank(u16)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sim` in this scope [INFO] [stdout] --> src/lib.rs:379:25 [INFO] [stdout] | [INFO] [stdout] 11 | async fn sim_main(sim: &Sim) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - until (line 176) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] --> src/lib.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 3 | use odem_rs::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `odem_rs`, use `cargo add odem_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `until` in this scope [INFO] [stdout] --> src/lib.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 15 | until!(is_ready && has_permission).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use odem_rs_meta::until; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sim` in this scope [INFO] [stdout] --> src/lib.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 4 | async fn sim_main(sim: &Sim) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Control` [INFO] [stdout] --> src/lib.rs:179:16 [INFO] [stdout] | [INFO] [stdout] 5 | let is_ready = Control::new(false); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Control` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Control` [INFO] [stdout] --> src/lib.rs:180:22 [INFO] [stdout] | [INFO] [stdout] 6 | let has_permission = Control::new(false); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Control` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_config (line 407) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] --> src/lib.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 3 | use odem_rs::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `odem_rs`, use `cargo add odem_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Config` in this scope [INFO] [stdout] --> src/lib.rs:409:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Config)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use odem_rs_meta::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `time` in this scope [INFO] [stdout] --> src/lib.rs:410:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[time = "u64"] // Suggests u64, but the field below overrides. [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `time` in this scope [INFO] [stdout] --> src/lib.rs:412:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[time] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sim` in this scope [INFO] [stdout] --> src/lib.rs:417:25 [INFO] [stdout] | [INFO] [stdout] 12 | async fn sim_main(sim: &Sim) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_publisher (line 488) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] --> src/lib.rs:489:5 [INFO] [stdout] | [INFO] [stdout] 3 | use odem_rs::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `odem_rs`, use `cargo add odem_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Publisher` in this scope [INFO] [stdout] --> src/lib.rs:490:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Publisher)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use odem_rs_meta::Publisher; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `subscribe` in this scope [INFO] [stdout] --> src/lib.rs:492:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[subscribe] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - sim_main (line 579) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] --> src/lib.rs:580:5 [INFO] [stdout] | [INFO] [stdout] 2 | use odem_rs::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `odem_rs`, use `cargo add odem_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] --> src/lib.rs:581:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[odem_rs::main] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sim` in this scope [INFO] [stdout] --> src/lib.rs:582:21 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main(sim: &Sim) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:582:1 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main(sim: &Sim) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_publisher (line 462) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] --> src/lib.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 3 | use odem_rs::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `odem_rs`, use `cargo add odem_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Publisher` in this scope [INFO] [stdout] --> src/lib.rs:464:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Publisher)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use odem_rs_meta::Publisher; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `subscribe` in this scope [INFO] [stdout] --> src/lib.rs:467:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[subscribe] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `subscribe` in this scope [INFO] [stdout] --> src/lib.rs:469:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[subscribe] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Control` in this scope [INFO] [stdout] --> src/lib.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 8 | field2: Control, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Control` in this scope [INFO] [stdout] --> src/lib.rs:470:13 [INFO] [stdout] | [INFO] [stdout] 10 | field3: Control, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - sim_main (line 589) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] --> src/lib.rs:590:5 [INFO] [stdout] | [INFO] [stdout] 2 | use odem_rs::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `odem_rs`, use `cargo add odem_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] --> src/lib.rs:593:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[odem_rs::main(my_custom_sim_config(steps))] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Config` in this scope [INFO] [stdout] --> src/lib.rs:591:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Config)] struct MyConfig; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use odem_rs_meta::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sim` in this scope [INFO] [stdout] --> src/lib.rs:594:26 [INFO] [stdout] | [INFO] [stdout] 6 | async fn with_args(sim: &Sim, steps: i32) -> String { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:599:21 [INFO] [stdout] | [INFO] [stdout] 11 | let _: String = with_args(10); [INFO] [stdout] | ^^^^^^^^^ -- argument #1 is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:594:10 [INFO] [stdout] | [INFO] [stdout] 6 | async fn with_args(sim: &Sim, steps: i32) -> String { [INFO] [stdout] | ^^^^^^^^^ ------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 11 | let _: String = with_args(/* sim */, 10); [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:599:21 [INFO] [stdout] | [INFO] [stdout] 11 | let _: String = with_args(10); [INFO] [stdout] | ------ ^^^^^^^^^^^^^ expected `String`, found future [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_publisher (line 441) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] --> src/lib.rs:442:5 [INFO] [stdout] | [INFO] [stdout] 3 | use odem_rs::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `odem_rs`, use `cargo add odem_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `until` in this scope [INFO] [stdout] --> src/lib.rs:457:1 [INFO] [stdout] | [INFO] [stdout] 18 | until!(foo.is_false()).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use odem_rs_meta::until; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Publisher` in this scope [INFO] [stdout] --> src/lib.rs:444:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Publisher)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use odem_rs_meta::Publisher; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `subscribe` in this scope [INFO] [stdout] --> src/lib.rs:445:14 [INFO] [stdout] | [INFO] [stdout] 6 | struct Foo(#[subscribe] Control); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Control` in this scope [INFO] [stdout] --> src/lib.rs:445:25 [INFO] [stdout] | [INFO] [stdout] 6 | struct Foo(#[subscribe] Control); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Control` [INFO] [stdout] --> src/lib.rs:453:15 [INFO] [stdout] | [INFO] [stdout] 14 | let foo = Foo(Control::new(true)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Control` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_config (line 328) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] --> src/lib.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 3 | use odem_rs::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `odem_rs`, use `cargo add odem_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Config` in this scope [INFO] [stdout] --> src/lib.rs:330:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Config)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use odem_rs_meta::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sim` in this scope [INFO] [stdout] --> src/lib.rs:336:25 [INFO] [stdout] | [INFO] [stdout] 10 | async fn sim_main(sim: &Sim) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - until (line 199) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] --> src/lib.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 3 | use odem_rs::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `odem_rs`, use `cargo add odem_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `until` in this scope [INFO] [stdout] --> src/lib.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 17 | until!(app_config.settings.font_size > min_font_size && app_config.settings.dark_mode).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use odem_rs_meta::until; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Control` in this scope [INFO] [stdout] --> src/lib.rs:202:30 [INFO] [stdout] | [INFO] [stdout] 5 | struct Settings { font_size: Control, dark_mode: Control } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Control` in this scope [INFO] [stdout] --> src/lib.rs:202:55 [INFO] [stdout] | [INFO] [stdout] 5 | struct Settings { font_size: Control, dark_mode: Control } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sim` in this scope [INFO] [stdout] --> src/lib.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 6 | async fn sim_main(sim: &Sim) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Control` [INFO] [stdout] --> src/lib.rs:206:20 [INFO] [stdout] | [INFO] [stdout] 9 | font_size: Control::new(12), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Control` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Control` [INFO] [stdout] --> src/lib.rs:207:20 [INFO] [stdout] | [INFO] [stdout] 10 | dark_mode: Control::new(false), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Control` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_publisher (line 475) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] --> src/lib.rs:476:5 [INFO] [stdout] | [INFO] [stdout] 3 | use odem_rs::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `odem_rs`, use `cargo add odem_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Publisher` in this scope [INFO] [stdout] --> src/lib.rs:478:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Publisher)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use odem_rs_meta::Publisher; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `subscribe` in this scope [INFO] [stdout] --> src/lib.rs:480:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[subscribe] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Publisher` in this scope [INFO] [stdout] --> src/lib.rs:477:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Publisher)] struct Foo; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use odem_rs_meta::Publisher; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_config (line 312) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] --> src/lib.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 3 | use odem_rs::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `odem_rs`, use `cargo add odem_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Config` in this scope [INFO] [stdout] --> src/lib.rs:314:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Config)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use odem_rs_meta::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sim` in this scope [INFO] [stdout] --> src/lib.rs:317:25 [INFO] [stdout] | [INFO] [stdout] 7 | async fn sim_main(sim: &Sim) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_config (line 347) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] --> src/lib.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 3 | use odem_rs::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `odem_rs`, use `cargo add odem_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Config` in this scope [INFO] [stdout] --> src/lib.rs:349:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Config)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use odem_rs_meta::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `time` in this scope [INFO] [stdout] --> src/lib.rs:353:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[time] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rank` in this scope [INFO] [stdout] --> src/lib.rs:358:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[rank] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sim` in this scope [INFO] [stdout] --> src/lib.rs:362:25 [INFO] [stdout] | [INFO] [stdout] 17 | async fn sim_main(sim: &Sim) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - until (line 221) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] --> src/lib.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 3 | use odem_rs::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `odem_rs`, use `cargo add odem_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `until` in this scope [INFO] [stdout] --> src/lib.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 9 | until!(val * local_modifier > 10 && enabled_flag).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use odem_rs_meta::until; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sim` in this scope [INFO] [stdout] --> src/lib.rs:223:25 [INFO] [stdout] | [INFO] [stdout] 4 | async fn sim_main(sim: &Sim) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Control` in this scope [INFO] [stdout] --> src/lib.rs:224:10 [INFO] [stdout] | [INFO] [stdout] 5 | let val: Control = Control::new(5); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Control` [INFO] [stdout] --> src/lib.rs:224:25 [INFO] [stdout] | [INFO] [stdout] 5 | let val: Control = Control::new(5); [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] | ^^^^^^^ use of undeclared type `Control` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - sim_main (line 605) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] --> src/lib.rs:606:5 [INFO] [stdout] | [INFO] [stdout] 2 | use odem_rs::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `odem_rs`, use `cargo add odem_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] --> src/lib.rs:610:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[odem_rs::main] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sim` in this scope [INFO] [stdout] --> src/lib.rs:611:34 [INFO] [stdout] | [INFO] [stdout] 7 | async fn with_custom_error(sim: &Sim) -> Result { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> src/lib.rs:612:5 [INFO] [stdout] | [INFO] [stdout] 8 | sleep().await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:617:18 [INFO] [stdout] | [INFO] [stdout] 13 | let result = with_custom_error(); // panics due to the `sleep().await` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-- argument #1 is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:611:10 [INFO] [stdout] | [INFO] [stdout] 7 | async fn with_custom_error(sim: &Sim) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ --------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 13 | let result = with_custom_error(/* sim */); // panics due to the `sleep().await` [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `impl Future>` [INFO] [stdout] --> src/lib.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(result, Ok("Data".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | impl Future> [INFO] [stdout] | Result [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: `impl Future>` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(result, Ok("Data".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `impl Future>` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `impl Future>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0369, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - until (line 238) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] --> src/lib.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 3 | use odem_rs::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `odem_rs`, use `cargo add odem_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `until` in this scope [INFO] [stdout] --> src/lib.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 6 | until!(signal_strength >= 5).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use odem_rs_meta::until; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Control` in this scope [INFO] [stdout] --> src/lib.rs:240:44 [INFO] [stdout] | [INFO] [stdout] 4 | async fn wait_for_signal(signal_strength: &Control) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - until (line 156) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] --> src/lib.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 3 | use odem_rs::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `odem_rs`, use `cargo add odem_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `until` in this scope [INFO] [stdout] --> src/lib.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 12 | until!(i > 0).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use odem_rs_meta::until; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sim` in this scope [INFO] [stdout] --> src/lib.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 4 | async fn sim_main(sim: &Sim) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Control` in this scope [INFO] [stdout] --> src/lib.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 5 | let i: Control = Control::new(0); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Control` [INFO] [stdout] --> src/lib.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 5 | let i: Control = Control::new(0); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Control` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - sim_main (line 626) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] --> src/lib.rs:627:5 [INFO] [stdout] | [INFO] [stdout] 2 | use odem_rs::prelude::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `odem_rs`, use `cargo add odem_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] --> src/lib.rs:629:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[odem_rs::main] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `odem_rs` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Config` in this scope [INFO] [stdout] --> src/lib.rs:628:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Config, Default)] struct MyConfig; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use odem_rs_meta::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sim` in this scope [INFO] [stdout] --> src/lib.rs:630:39 [INFO] [stdout] | [INFO] [stdout] 5 | async fn with_specialized_error(sim: &Sim) -> SimResult { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SimResult` in this scope [INFO] [stdout] --> src/lib.rs:630:57 [INFO] [stdout] | [INFO] [stdout] 5 | async fn with_specialized_error(sim: &Sim) -> SimResult { [INFO] [stdout] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:548:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named enum `Result` defined here [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> src/lib.rs:631:5 [INFO] [stdout] | [INFO] [stdout] 6 | sleep().await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:636:11 [INFO] [stdout] | [INFO] [stdout] 11 | match with_specialized_error() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-- argument #1 is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:630:10 [INFO] [stdout] | [INFO] [stdout] 5 | async fn with_specialized_error(sim: &Sim) -> SimResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 11 | match with_specialized_error(/* sim */) { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 11 | match with_specialized_error() { [INFO] [stdout] | ------------------------ this expression has type `impl Future` [INFO] [stdout] 12 | Ok(value) => println!("Success: {}", value), [INFO] [stdout] | ^^^^^^^^^ expected future, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl Future` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:638:9 [INFO] [stdout] | [INFO] [stdout] 11 | match with_specialized_error() { [INFO] [stdout] | ------------------------ this expression has type `impl Future` [INFO] [stdout] 12 | Ok(value) => println!("Success: {}", value), [INFO] [stdout] 13 | Err(err) => { [INFO] [stdout] | ^^^^^^^^ expected future, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl Future` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - derive_config (line 312) [INFO] [stdout] src/lib.rs - derive_config (line 328) [INFO] [stdout] src/lib.rs - derive_config (line 347) [INFO] [stdout] src/lib.rs - derive_config (line 370) [INFO] [stdout] src/lib.rs - derive_config (line 387) [INFO] [stdout] src/lib.rs - derive_config (line 407) [INFO] [stdout] src/lib.rs - derive_publisher (line 441) [INFO] [stdout] src/lib.rs - derive_publisher (line 462) [INFO] [stdout] src/lib.rs - derive_publisher (line 475) [INFO] [stdout] src/lib.rs - derive_publisher (line 488) [INFO] [stdout] src/lib.rs - sim_main (line 579) [INFO] [stdout] src/lib.rs - sim_main (line 589) [INFO] [stdout] src/lib.rs - sim_main (line 605) [INFO] [stdout] src/lib.rs - sim_main (line 626) [INFO] [stdout] src/lib.rs - until (line 156) [INFO] [stdout] src/lib.rs - until (line 176) [INFO] [stdout] src/lib.rs - until (line 199) [INFO] [stdout] src/lib.rs - until (line 221) [INFO] [stdout] src/lib.rs - until (line 238) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 19 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.56s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ee5eb83b9a2f1aa5b34e3d1f7b062d15e66555b36bc06f7a186b8612587e9ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee5eb83b9a2f1aa5b34e3d1f7b062d15e66555b36bc06f7a186b8612587e9ed7", kill_on_drop: false }` [INFO] [stdout] ee5eb83b9a2f1aa5b34e3d1f7b062d15e66555b36bc06f7a186b8612587e9ed7