[INFO] cloning repository https://github.com/projekt-utopia/uCore
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/projekt-utopia/uCore" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprojekt-utopia%2FuCore", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprojekt-utopia%2FuCore'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 58dacd8875c4262ffca3366a04f1f090047a9712
[INFO] testing projekt-utopia/uCore against 1.90.0 for beta-1.91-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprojekt-utopia%2FuCore" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/projekt-utopia/uCore
[INFO] finished tweaking git repo https://github.com/projekt-utopia/uCore
[INFO] tweaked toml for git repo https://github.com/projekt-utopia/uCore written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/projekt-utopia/uCore on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/projekt-utopia/uCore 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-macros v1.3.0
[INFO] [stderr]   Downloaded futures-macro v0.3.16
[INFO] [stderr]   Downloaded futures v0.3.16
[INFO] [stderr]   Downloaded redis v0.21.0
[INFO] [stderr]   Downloaded anyhow v1.0.43
[INFO] [stderr]   Downloaded futures-executor v0.3.16
[INFO] [stderr]   Downloaded async-trait v0.1.51
[INFO] [stderr]   Downloaded serde_derive v1.0.127
[INFO] [stderr]   Downloaded combine v4.6.0
[INFO] [stderr]   Downloaded serde v1.0.127
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 52b7431628992eebe4af10c52b4c7980977332b1803f8c2b08c929c6d6baaa29
[INFO] running `Command { std: "docker" "start" "-a" "52b7431628992eebe4af10c52b4c7980977332b1803f8c2b08c929c6d6baaa29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "52b7431628992eebe4af10c52b4c7980977332b1803f8c2b08c929c6d6baaa29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "52b7431628992eebe4af10c52b4c7980977332b1803f8c2b08c929c6d6baaa29", kill_on_drop: false }`
[INFO] [stdout] 52b7431628992eebe4af10c52b4c7980977332b1803f8c2b08c929c6d6baaa29
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7c19100dcf2fa4398b69c524187f3d8ea8a86457c8bdb120c114bdf2a3018731
[INFO] running `Command { std: "docker" "start" "-a" "7c19100dcf2fa4398b69c524187f3d8ea8a86457c8bdb120c114bdf2a3018731", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling libc v0.2.99
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling futures-core v0.3.16
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling pin-project-lite v0.2.7
[INFO] [stderr]    Compiling futures-sink v0.3.16
[INFO] [stderr]    Compiling futures-task v0.3.16
[INFO] [stderr]    Compiling futures-channel v0.3.16
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling serde_derive v1.0.127
[INFO] [stderr]    Compiling futures-macro v0.3.16
[INFO] [stderr]    Compiling futures-util v0.3.16
[INFO] [stderr]    Compiling tokio v1.10.0
[INFO] [stderr]    Compiling serde v1.0.127
[INFO] [stderr]    Compiling futures-io v0.3.16
[INFO] [stderr]    Compiling tinyvec v1.3.1
[INFO] [stderr]    Compiling bytes v1.0.1
[INFO] [stderr]    Compiling once_cell v1.8.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.6
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling async-trait v0.1.51
[INFO] [stderr]    Compiling serde_json v1.0.66
[INFO] [stderr]    Compiling sha1 v0.6.0
[INFO] [stderr]    Compiling anyhow v1.0.43
[INFO] [stderr]    Compiling dtoa v0.4.8
[INFO] [stderr]    Compiling libloading v0.7.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling mio v0.7.13
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling tokio-macros v1.3.0
[INFO] [stderr]    Compiling futures-executor v0.3.16
[INFO] [stderr]    Compiling futures v0.3.16
[INFO] [stderr]    Compiling tokio-util v0.6.7
[INFO] [stderr]    Compiling combine v4.6.0
[INFO] [stderr]    Compiling utopia-common v0.1.0 (/opt/rustwide/workdir/utopia-common)
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling redis v0.21.0
[INFO] [stderr]    Compiling utopia-module v0.1.0 (/opt/rustwide/workdir/utopia-module)
[INFO] [stderr]    Compiling utopia-core v0.0.1 (/opt/rustwide/workdir/utopia-core)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> utopia-core/src/core/mod.rs:146:7
[INFO] [stdout]     |
[INFO] [stdout] 146 |         let mut prov = self
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `database` is never read
[INFO] [stdout]   --> utopia-core/src/eventloop.rs:16:2
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct EventLoop {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     database: redis::Client
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.00s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.21.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "7c19100dcf2fa4398b69c524187f3d8ea8a86457c8bdb120c114bdf2a3018731", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c19100dcf2fa4398b69c524187f3d8ea8a86457c8bdb120c114bdf2a3018731", kill_on_drop: false }`
[INFO] [stdout] 7c19100dcf2fa4398b69c524187f3d8ea8a86457c8bdb120c114bdf2a3018731
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 22d710d33117746d60ccbf8a3596d6ae4f32bc80be2f222b99d197525f8e03b6
[INFO] running `Command { std: "docker" "start" "-a" "22d710d33117746d60ccbf8a3596d6ae4f32bc80be2f222b99d197525f8e03b6", kill_on_drop: false }`
[INFO] [stderr]    Compiling utopia-common v0.1.0 (/opt/rustwide/workdir/utopia-common)
[INFO] [stderr]    Compiling utopia-module v0.1.0 (/opt/rustwide/workdir/utopia-module)
[INFO] [stderr]    Compiling utopia-core v0.0.1 (/opt/rustwide/workdir/utopia-core)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> utopia-core/src/core/mod.rs:146:7
[INFO] [stdout]     |
[INFO] [stdout] 146 |         let mut prov = self
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `database` is never read
[INFO] [stdout]   --> utopia-core/src/eventloop.rs:16:2
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct EventLoop {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     database: redis::Client
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.40s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.21.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "22d710d33117746d60ccbf8a3596d6ae4f32bc80be2f222b99d197525f8e03b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "22d710d33117746d60ccbf8a3596d6ae4f32bc80be2f222b99d197525f8e03b6", kill_on_drop: false }`
[INFO] [stdout] 22d710d33117746d60ccbf8a3596d6ae4f32bc80be2f222b99d197525f8e03b6
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 00de9d60cb80ffb9930e3c2efca8302bdb37df5300f750b7ae912729ebe13868
[INFO] running `Command { std: "docker" "start" "-a" "00de9d60cb80ffb9930e3c2efca8302bdb37df5300f750b7ae912729ebe13868", kill_on_drop: false }`
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> utopia-core/src/core/mod.rs:146:7
[INFO] [stderr]     |
[INFO] [stderr] 146 |         let mut prov = self
[INFO] [stderr]     |             ----^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `database` is never read
[INFO] [stderr]   --> utopia-core/src/eventloop.rs:16:2
[INFO] [stderr]    |
[INFO] [stderr]  9 | pub struct EventLoop {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 16 |     database: redis::Client
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `utopia-core` (bin "utopia-core" test) generated 2 warnings (run `cargo fix --bin "utopia-core" --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.21.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/utopia_common-1ad677059039ddc7)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/utopia_core-d61af00aba87f015)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/utopia_module-6ee175be39fa3a14)
[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 utopia_common
[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 utopia_module
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test utopia-module/src/lib.rs - USend (line 106) ... FAILED
[INFO] [stdout] test utopia-module/src/lib.rs - (line 43) ... FAILED
[INFO] [stdout] test utopia-module/src/lib.rs - UDb (line 166) ... FAILED
[INFO] [stdout] test utopia-module/src/lib.rs - URecv (line 123) ... FAILED
[INFO] [stdout] test utopia-module/src/lib.rs - spawn_async_runtime (line 258) ... FAILED
[INFO] [stdout] test utopia-module/src/lib.rs - declare_module (line 289) ... FAILED
[INFO] [stdout] test utopia-module/src/lib.rs - (line 27) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- utopia-module/src/lib.rs - USend (line 106) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `USend` in this scope
[INFO] [stdout]  --> utopia-module/src/lib.rs:107:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mod_send: USend = mod_send;
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout]  --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/marker.rs:94:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named trait `Send` defined here
[INFO] [stdout]   |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 3 - let mod_send: USend = mod_send;
[INFO] [stdout] 3 + let mod_send: Send = mod_send;
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 2 + use utopia_module::USend;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mod_send` in this scope
[INFO] [stdout]  --> utopia-module/src/lib.rs:107:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mod_send: USend = mod_send;
[INFO] [stdout]   |                       ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> utopia-module/src/lib.rs:108:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_utopia_module_src_lib_rs_106_0() {
[INFO] [stdout]   |                                         -------------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] 3 | let mod_send: USend = mod_send;
[INFO] [stdout] 4 | let r = mod_send.unbounded_send((self.id(), module::ModuleCommands::Refresh));
[INFO] [stdout]   |                                  ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `module`
[INFO] [stdout]  --> utopia-module/src/lib.rs:108:45
[INFO] [stdout]   |
[INFO] [stdout] 4 | let r = mod_send.unbounded_send((self.id(), module::ModuleCommands::Refresh));
[INFO] [stdout]   |                                             ^^^^^^ use of unresolved module or unlinked crate `module`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `module`, use `cargo add module` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]   |
[INFO] [stdout] 2 + use utopia_common::module::ModuleCommands;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use utopia_module::module::ModuleCommands;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `ModuleCommands`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 4 - let r = mod_send.unbounded_send((self.id(), module::ModuleCommands::Refresh));
[INFO] [stdout] 4 + let r = mod_send.unbounded_send((self.id(), ModuleCommands::Refresh));
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0424, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- utopia-module/src/lib.rs - (line 43) stdout ----
[INFO] [stdout] error: `match` arm body without braces
[INFO] [stdout]   --> utopia-module/src/lib.rs:70:19
[INFO] [stdout]    |
[INFO] [stdout] 30 |                     Some(msg) => println!("Received a message from core: {:?}", msg);
[INFO] [stdout]    |                               -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this statement is not surrounded by a body
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               while parsing the `match` arm starting here
[INFO] [stdout]    |
[INFO] [stdout] help: replace `;` with `,` to end a `match` arm expression
[INFO] [stdout]    |
[INFO] [stdout] 30 -                     Some(msg) => println!("Received a message from core: {:?}", msg);
[INFO] [stdout] 30 +                     Some(msg) => println!("Received a message from core: {:?}", msg),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: `match` arm body without braces
[INFO] [stdout]   --> utopia-module/src/lib.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |                     None => bail!("Channel to core died");
[INFO] [stdout]    |                          -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this statement is not surrounded by a body
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          while parsing the `match` arm starting here
[INFO] [stdout]    |
[INFO] [stdout] help: replace `;` with `,` to end a `match` arm expression
[INFO] [stdout]    |
[INFO] [stdout] 31 -                     None => bail!("Channel to core died");
[INFO] [stdout] 31 +                     None => bail!("Channel to core died"),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `let` statement
[INFO] [stdout]   --> utopia-module/src/lib.rs:67:3
[INFO] [stdout]    |
[INFO] [stdout] 27 | /         spawn_async_runtime!(self.id(), {
[INFO] [stdout] 28 | |             loop {
[INFO] [stdout] 29 | |                 match core_recv.next().await {
[INFO] [stdout] 30 | |                     Some(msg) => println!("Received a message from core: {:?}", msg);
[INFO] [stdout] ...  |
[INFO] [stdout] 34 | |             unreachable!();
[INFO] [stdout] 35 | |         })
[INFO] [stdout]    | |__________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: only supported directly in conditions of `if` and `while` expressions
[INFO] [stdout]    = note: this error originates in the macro `spawn_async_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: macro expansion ignores keyword `return` and any tokens following
[INFO] [stdout]    --> /opt/rustwide/workdir/utopia-module/src/lib.rs:275:3
[INFO] [stdout]     |
[INFO] [stdout] 275 |           return ($id, rt.block_on(async { $function }));
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: utopia-module/src/lib.rs:67:3
[INFO] [stdout]     |
[INFO] [stdout]  27 | /         spawn_async_runtime!(self.id(), {
[INFO] [stdout]  28 | |             loop {
[INFO] [stdout]  29 | |                 match core_recv.next().await {
[INFO] [stdout]  30 | |                     Some(msg) => println!("Received a message from core: {:?}", msg);
[INFO] [stdout] ...   |
[INFO] [stdout]  34 | |             unreachable!();
[INFO] [stdout]  35 | |         })
[INFO] [stdout]     | |__________- caused by the macro expansion here
[INFO] [stdout]     |
[INFO] [stdout]     = note: the usage of `spawn_async_runtime!` is likely invalid in expression context
[INFO] [stdout] help: you might be missing a semicolon here
[INFO] [stdout]     |
[INFO] [stdout]  35 |         });
[INFO] [stdout]     |           +
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `anyhow`
[INFO] [stdout]  --> utopia-module/src/lib.rs:45:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use anyhow::bail;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- utopia-module/src/lib.rs - UDb (line 166) stdout ----
[INFO] [stdout] error: expected `;`, found `println`
[INFO] [stdout]   --> utopia-module/src/lib.rs:177:2
[INFO] [stdout]    |
[INFO] [stdout] 14 | }
[INFO] [stdout]    |  ^ help: add `;` here
[INFO] [stdout] 15 | println!("Value received from database operation: {}", val);
[INFO] [stdout]    | ------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> utopia-module/src/lib.rs:171:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_utopia_module_src_lib_rs_166_0() {
[INFO] [stdout]   |                                         -------------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 8 | let adbc: &UDb = &self.database.assume_init_ref();
[INFO] [stdout]   |                   ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> utopia-module/src/lib.rs:175:38
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_utopia_module_src_lib_rs_166_0() {
[INFO] [stdout]    |                                         -------------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 12 |     let key = format!("{}:some_db_key", self.id());
[INFO] [stdout]    |                                         ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- utopia-module/src/lib.rs - URecv (line 123) stdout ----
[INFO] [stdout] error: `match` arm body without braces
[INFO] [stdout]   --> utopia-module/src/lib.rs:131:16
[INFO] [stdout]    |
[INFO] [stdout] 11 |         Some(msg) => println!("Received a message from core: {:?}", msg);
[INFO] [stdout]    |                   -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this statement is not surrounded by a body
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   while parsing the `match` arm starting here
[INFO] [stdout]    |
[INFO] [stdout] help: replace `;` with `,` to end a `match` arm expression
[INFO] [stdout]    |
[INFO] [stdout] 11 -         Some(msg) => println!("Received a message from core: {:?}", msg);
[INFO] [stdout] 11 +         Some(msg) => println!("Received a message from core: {:?}", msg),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: `match` arm body without braces
[INFO] [stdout]   --> utopia-module/src/lib.rs:132:11
[INFO] [stdout]    |
[INFO] [stdout] 12 |         None => bail!("Channel to core died");
[INFO] [stdout]    |              -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this statement is not surrounded by a body
[INFO] [stdout]    |              |
[INFO] [stdout]    |              while parsing the `match` arm starting here
[INFO] [stdout]    |
[INFO] [stdout] help: replace `;` with `,` to end a `match` arm expression
[INFO] [stdout]    |
[INFO] [stdout] 12 -         None => bail!("Channel to core died");
[INFO] [stdout] 12 +         None => bail!("Channel to core died"),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `anyhow`
[INFO] [stdout]  --> utopia-module/src/lib.rs:125:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use anyhow::bail;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `core_recv` in this scope
[INFO] [stdout]  --> utopia-module/src/lib.rs:128:28
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mut core_recv: URecv = core_recv;
[INFO] [stdout]   |                            ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> utopia-module/src/lib.rs:130:25
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_utopia_module_src_lib_rs_123_0() {
[INFO] [stdout]    |                                      ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 |     match core_recv.next().await {
[INFO] [stdout]    |                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- utopia-module/src/lib.rs - spawn_async_runtime (line 258) stdout ----
[INFO] [stdout] error: expected expression, found `let` statement
[INFO] [stdout]   --> utopia-module/src/lib.rs:265:2
[INFO] [stdout]    |
[INFO] [stdout] 10 | /     spawn_async_runtime!(self.id(), {
[INFO] [stdout] 11 | |         // do asynchronous task
[INFO] [stdout] 12 | |             let a = future::ready(1);
[INFO] [stdout] 13 | |             assert_eq!(a.await, 1);
[INFO] [stdout] 14 | |             Ok(ThreadDeathExcuse::Debug) // the actual thread function is not supposed to die
[INFO] [stdout] 15 | |     })
[INFO] [stdout]    | |______^
[INFO] [stdout]    |
[INFO] [stdout]    = note: only supported directly in conditions of `if` and `while` expressions
[INFO] [stdout]    = note: this error originates in the macro `spawn_async_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: macro expansion ignores keyword `return` and any tokens following
[INFO] [stdout]    --> /opt/rustwide/workdir/utopia-module/src/lib.rs:275:3
[INFO] [stdout]     |
[INFO] [stdout] 275 |           return ($id, rt.block_on(async { $function }));
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: utopia-module/src/lib.rs:265:2
[INFO] [stdout]     |
[INFO] [stdout]  10 | /     spawn_async_runtime!(self.id(), {
[INFO] [stdout]  11 | |         // do asynchronous task
[INFO] [stdout]  12 | |             let a = future::ready(1);
[INFO] [stdout]  13 | |             assert_eq!(a.await, 1);
[INFO] [stdout]  14 | |             Ok(ThreadDeathExcuse::Debug) // the actual thread function is not supposed to die
[INFO] [stdout]  15 | |     })
[INFO] [stdout]     | |______- caused by the macro expansion here
[INFO] [stdout]     |
[INFO] [stdout]     = note: the usage of `spawn_async_runtime!` is likely invalid in expression context
[INFO] [stdout] help: you might be missing a semicolon here
[INFO] [stdout]     |
[INFO] [stdout]  15 |     });
[INFO] [stdout]     |       +
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> utopia-module/src/lib.rs:264:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn thread(&self, _mod_send: USend, _core_recv: URecv) -> URes {
[INFO] [stdout]   |           ^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- utopia-module/src/lib.rs - declare_module (line 289) stdout ----
[INFO] [stdout] error: non-item in item list
[INFO] [stdout]   --> utopia-module/src/lib.rs:297:2
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Module for SampleMod {
[INFO] [stdout]    |                           - item list starts here
[INFO] [stdout] 11 |     [ ..snip.. ]
[INFO] [stdout]    |     ^ non-item starts here
[INFO] [stdout] 12 | }
[INFO] [stdout]    | - item list ends here
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `id`, `get_module_info`, `thread`
[INFO] [stdout]   --> utopia-module/src/lib.rs:296:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Module for SampleMod {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `id`, `get_module_info`, `thread` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `fn id(&self) -> &'static str { todo!() }`
[INFO] [stdout]    = help: implement the missing item: `fn get_module_info(&self) -> ModuleInfo { todo!() }`
[INFO] [stdout]    = help: implement the missing item: `fn thread(&self, _: UnboundedSender<(&'static str, ModuleCommands)>, _: UnboundedReceiver<CoreCommands>) -> (&'static str, Result<ThreadDeathExcuse, Box<(dyn std::error::Error + std::marker::Send + Sync + 'static)>>) { todo!() }`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0046`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- utopia-module/src/lib.rs - (line 27) stdout ----
[INFO] [stdout] error: expected identifier, found `[`
[INFO] [stdout]  --> utopia-module/src/lib.rs:33:2
[INFO] [stdout]   |
[INFO] [stdout] 8 | let item = LibraryItem {
[INFO] [stdout]   |            ----------- while parsing this struct
[INFO] [stdout] 9 |     [ ..snip.. ]
[INFO] [stdout]   |     ^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mod_send` in this scope
[INFO] [stdout]   --> utopia-module/src/lib.rs:36:23
[INFO] [stdout]    |
[INFO] [stdout] 12 | let mod_send: USend = mod_send;
[INFO] [stdout]    |                       ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> utopia-module/src/lib.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_utopia_module_src_lib_rs_27_0() {
[INFO] [stdout]    |                                         ------------------------------------------- this function can't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 13 | mod_send.unbounded_send((self.id(), module::ModuleCommands::AddLibraryItem(item)))?;
[INFO] [stdout]    |                          ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `module`
[INFO] [stdout]   --> utopia-module/src/lib.rs:37:37
[INFO] [stdout]    |
[INFO] [stdout] 13 | mod_send.unbounded_send((self.id(), module::ModuleCommands::AddLibraryItem(item)))?;
[INFO] [stdout]    |                                     ^^^^^^ use of unresolved module or unlinked crate `module`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `module`, use `cargo add module` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]    |
[INFO] [stdout]  2 + use utopia_common::module::ModuleCommands;
[INFO] [stdout]    |
[INFO] [stdout]  2 + use utopia_module::module::ModuleCommands;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `ModuleCommands`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 13 - mod_send.unbounded_send((self.id(), module::ModuleCommands::AddLibraryItem(item)))?;
[INFO] [stdout] 13 + mod_send.unbounded_send((self.id(), ModuleCommands::AddLibraryItem(item)))?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `details`, `kind`, `name` and 2 other fields in initializer of `LibraryItem`
[INFO] [stdout]  --> utopia-module/src/lib.rs:32:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | let item = LibraryItem {
[INFO] [stdout]   |            ^^^^^^^^^^^ missing `details`, `kind`, `name` and 2 other fields
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0424, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     utopia-module/src/lib.rs - (line 27)
[INFO] [stdout]     utopia-module/src/lib.rs - (line 43)
[INFO] [stdout]     utopia-module/src/lib.rs - UDb (line 166)
[INFO] [stdout]     utopia-module/src/lib.rs - URecv (line 123)
[INFO] [stdout]     utopia-module/src/lib.rs - USend (line 106)
[INFO] [stdout]     utopia-module/src/lib.rs - declare_module (line 289)
[INFO] [stdout]     utopia-module/src/lib.rs - spawn_async_runtime (line 258)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.58s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `-p utopia-module --doc`
[INFO] running `Command { std: "docker" "inspect" "00de9d60cb80ffb9930e3c2efca8302bdb37df5300f750b7ae912729ebe13868", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "00de9d60cb80ffb9930e3c2efca8302bdb37df5300f750b7ae912729ebe13868", kill_on_drop: false }`
[INFO] [stdout] 00de9d60cb80ffb9930e3c2efca8302bdb37df5300f750b7ae912729ebe13868
