[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 master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprojekt-utopia%2FuCore" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/projekt-utopia/uCore 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] 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-xid v0.2.2 [INFO] [stderr] Downloaded proc-macro-nested v0.1.7 [INFO] [stderr] Downloaded matches v0.1.9 [INFO] [stderr] Downloaded tokio-macros v1.3.0 [INFO] [stderr] Downloaded tinyvec_macros v0.1.0 [INFO] [stderr] Downloaded itoa v0.4.7 [INFO] [stderr] Downloaded anyhow v1.0.43 [INFO] [stderr] Downloaded futures-executor v0.3.16 [INFO] [stderr] Downloaded ryu v1.0.5 [INFO] [stderr] Downloaded bytes v1.0.1 [INFO] [stderr] Downloaded tinyvec v1.3.1 [INFO] [stderr] Downloaded tokio-util v0.6.7 [INFO] [stderr] Downloaded mio v0.7.13 [INFO] [stderr] Downloaded serde_json v1.0.66 [INFO] [stderr] Downloaded combine v4.6.0 [INFO] [stderr] Downloaded futures-util v0.3.16 [INFO] [stderr] Downloaded ntapi v0.3.6 [INFO] [stderr] Downloaded unicode-normalization v0.1.19 [INFO] [stderr] Downloaded redis v0.21.0 [INFO] [stderr] Downloaded syn v1.0.74 [INFO] [stderr] Downloaded url v2.2.2 [INFO] [stderr] Downloaded idna v0.2.3 [INFO] [stderr] Downloaded memchr v2.4.1 [INFO] [stderr] Downloaded log v0.4.14 [INFO] [stderr] Downloaded miow v0.3.7 [INFO] [stderr] Downloaded hermit-abi v0.1.19 [INFO] [stderr] Downloaded serde_derive v1.0.127 [INFO] [stderr] Downloaded tinytemplate v1.2.1 [INFO] [stderr] Downloaded futures v0.3.16 [INFO] [stderr] Downloaded tokio v1.10.0 [INFO] [stderr] Downloaded async-trait v0.1.51 [INFO] [stderr] Downloaded unicode-bidi v0.3.6 [INFO] [stderr] Downloaded once_cell v1.8.0 [INFO] [stderr] Downloaded dtoa v0.4.8 [INFO] [stderr] Downloaded libc v0.2.99 [INFO] [stderr] Downloaded futures-core v0.3.16 [INFO] [stderr] Downloaded futures-sink v0.3.16 [INFO] [stderr] Downloaded num_cpus v1.13.0 [INFO] [stderr] Downloaded pin-project-lite v0.2.7 [INFO] [stderr] Downloaded signal-hook-registry v1.4.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.28 [INFO] [stderr] Downloaded quote v1.0.9 [INFO] [stderr] Downloaded serde v1.0.127 [INFO] [stderr] Downloaded libloading v0.7.0 [INFO] [stderr] Downloaded futures-channel v0.3.16 [INFO] [stderr] Downloaded futures-io v0.3.16 [INFO] [stderr] Downloaded futures-macro v0.3.16 [INFO] [stderr] Downloaded futures-task v0.3.16 [INFO] [stderr] Downloaded proc-macro-hack v0.5.19 [INFO] [stderr] Downloaded slab v0.4.4 [INFO] [stderr] Downloaded sha1 v0.6.0 [INFO] [stderr] Downloaded percent-encoding v2.1.0 [INFO] [stderr] Downloaded autocfg v1.0.1 [INFO] [stderr] Downloaded form_urlencoded v1.0.1 [INFO] [stderr] Downloaded winapi v0.3.9 [INFO] [stderr] Downloaded winapi-x86_64-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded winapi-i686-pc-windows-gnu v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 88c29194a2c50b9b147825e67996d717cee076bd6d30b0a977c0511a742ab33a [INFO] running `Command { std: "docker" "start" "-a" "88c29194a2c50b9b147825e67996d717cee076bd6d30b0a977c0511a742ab33a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88c29194a2c50b9b147825e67996d717cee076bd6d30b0a977c0511a742ab33a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88c29194a2c50b9b147825e67996d717cee076bd6d30b0a977c0511a742ab33a", kill_on_drop: false }` [INFO] [stdout] 88c29194a2c50b9b147825e67996d717cee076bd6d30b0a977c0511a742ab33a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] de7dad482597695b2a913dd59980a70188ec92b4d137a7a5b34dbd7d72dd5ea7 [INFO] running `Command { std: "docker" "start" "-a" "de7dad482597695b2a913dd59980a70188ec92b4d137a7a5b34dbd7d72dd5ea7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling serde_derive v1.0.127 [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 slab v0.4.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling libloading v0.7.0 [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 combine v4.6.0 [INFO] [stderr] Compiling tokio-util v0.6.7 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.24s [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" "de7dad482597695b2a913dd59980a70188ec92b4d137a7a5b34dbd7d72dd5ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de7dad482597695b2a913dd59980a70188ec92b4d137a7a5b34dbd7d72dd5ea7", kill_on_drop: false }` [INFO] [stdout] de7dad482597695b2a913dd59980a70188ec92b4d137a7a5b34dbd7d72dd5ea7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f665dca79de9beac8d55bd02580fb142e29964c5a22fd79e68aea645137f0521 [INFO] running `Command { std: "docker" "start" "-a" "f665dca79de9beac8d55bd02580fb142e29964c5a22fd79e68aea645137f0521", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.60s [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" "f665dca79de9beac8d55bd02580fb142e29964c5a22fd79e68aea645137f0521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f665dca79de9beac8d55bd02580fb142e29964c5a22fd79e68aea645137f0521", kill_on_drop: false }` [INFO] [stdout] f665dca79de9beac8d55bd02580fb142e29964c5a22fd79e68aea645137f0521 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9abd793224e16985774b36b803406f000608edf8226bc8e3a70e9d2b25335072 [INFO] running `Command { std: "docker" "start" "-a" "9abd793224e16985774b36b803406f000608edf8226bc8e3a70e9d2b25335072", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `utopia-core` (bin "utopia-core" test) generated 2 warnings (run `cargo fix --bin "utopia-core" -p utopia-core --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [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-9d43f6d8a2d09915) [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-596939f549817356) [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/utopia_module-f364eb0256939631) [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] [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 - spawn_async_runtime (line 258) ... FAILED [INFO] [stdout] test utopia-module/src/lib.rs - UDb (line 166) ... FAILED [INFO] [stdout] test utopia-module/src/lib.rs - (line 27) ... FAILED [INFO] [stdout] test utopia-module/src/lib.rs - URecv (line 123) ... FAILED [INFO] [stdout] test utopia-module/src/lib.rs - USend (line 106) ... FAILED [INFO] [stdout] test utopia-module/src/lib.rs - declare_module (line 289) ... FAILED [INFO] [stdout] test utopia-module/src/lib.rs - (line 43) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 265 | / spawn_async_runtime!(self.id(), { [INFO] [stdout] 266 | | // do asynchronous task [INFO] [stdout] 267 | | let a = future::ready(1); [INFO] [stdout] 268 | | assert_eq!(a.await, 1); [INFO] [stdout] 269 | | Ok(ThreadDeathExcuse::Debug) // the actual thread function is not supposed to die [INFO] [stdout] 270 | | }) [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] 265 | / spawn_async_runtime!(self.id(), { [INFO] [stdout] 266 | | // do asynchronous task [INFO] [stdout] 267 | | let a = future::ready(1); [INFO] [stdout] 268 | | assert_eq!(a.await, 1); [INFO] [stdout] 269 | | Ok(ThreadDeathExcuse::Debug) // the actual thread function is not supposed to die [INFO] [stdout] 270 | | }) [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] --> utopia-module/src/lib.rs:270:4 [INFO] [stdout] | [INFO] [stdout] 270 | }); [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] 264 | 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 - UDb (line 166) stdout ---- [INFO] [stdout] error: expected `;`, found `println` [INFO] [stdout] --> utopia-module/src/lib.rs:177:2 [INFO] [stdout] | [INFO] [stdout] 177 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 178 | 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] 167 | 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] 171 | 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] 167 | 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] 175 | 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 - (line 27) stdout ---- [INFO] [stdout] error: expected identifier, found `[` [INFO] [stdout] --> utopia-module/src/lib.rs:33:2 [INFO] [stdout] | [INFO] [stdout] 32 | let item = LibraryItem { [INFO] [stdout] | ----------- while parsing this struct [INFO] [stdout] 33 | [ ..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] 36 | 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] 28 | 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] 37 | 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] 37 | 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] 26 + use utopia_common::module::ModuleCommands; [INFO] [stdout] | [INFO] [stdout] 26 + use utopia_module::module::ModuleCommands; [INFO] [stdout] | [INFO] [stdout] help: if you import `ModuleCommands`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 37 - mod_send.unbounded_send((self.id(), module::ModuleCommands::AddLibraryItem(item)))?; [INFO] [stdout] 37 + 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] 32 | 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] ---- 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] 131 | 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] 131 - Some(msg) => println!("Received a message from core: {:?}", msg); [INFO] [stdout] 131 + 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] 132 | 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] 132 - None => bail!("Channel to core died"); [INFO] [stdout] 132 + 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] 125 | 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] 128 | 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] 124 | 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] 130 | 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 - 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] 107 | let mod_send: USend = mod_send; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/marker.rs:94:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Send` defined here [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 107 - let mod_send: USend = mod_send; [INFO] [stdout] 107 + let mod_send: Send = mod_send; [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 106 + 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] 107 | 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] 106 | 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] 107 | let mod_send: USend = mod_send; [INFO] [stdout] 108 | 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] 108 | 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] 106 + use utopia_common::module::ModuleCommands; [INFO] [stdout] | [INFO] [stdout] 106 + use utopia_module::module::ModuleCommands; [INFO] [stdout] | [INFO] [stdout] help: if you import `ModuleCommands`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 108 - let r = mod_send.unbounded_send((self.id(), module::ModuleCommands::Refresh)); [INFO] [stdout] 108 + 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 - 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] 296 | impl Module for SampleMod { [INFO] [stdout] | - item list starts here [INFO] [stdout] 297 | [ ..snip.. ] [INFO] [stdout] | ^ non-item starts here [INFO] [stdout] 298 | } [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] 296 | 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) -> (&'static str, Result>) { 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 43) stdout ---- [INFO] [stdout] error: `match` arm body without braces [INFO] [stdout] --> utopia-module/src/lib.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | 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] 70 - Some(msg) => println!("Received a message from core: {:?}", msg); [INFO] [stdout] 70 + 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] 71 | 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] 71 - None => bail!("Channel to core died"); [INFO] [stdout] 71 + 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] 67 | / spawn_async_runtime!(self.id(), { [INFO] [stdout] 68 | | loop { [INFO] [stdout] 69 | | match core_recv.next().await { [INFO] [stdout] 70 | | Some(msg) => println!("Received a message from core: {:?}", msg); [INFO] [stdout] ... | [INFO] [stdout] 74 | | unreachable!(); [INFO] [stdout] 75 | | }) [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] 67 | / spawn_async_runtime!(self.id(), { [INFO] [stdout] 68 | | loop { [INFO] [stdout] 69 | | match core_recv.next().await { [INFO] [stdout] 70 | | Some(msg) => println!("Received a message from core: {:?}", msg); [INFO] [stdout] ... | [INFO] [stdout] 74 | | unreachable!(); [INFO] [stdout] 75 | | }) [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] --> utopia-module/src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | }); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> utopia-module/src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | 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] [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.31s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `-p utopia-module --doc` [INFO] running `Command { std: "docker" "inspect" "9abd793224e16985774b36b803406f000608edf8226bc8e3a70e9d2b25335072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9abd793224e16985774b36b803406f000608edf8226bc8e3a70e9d2b25335072", kill_on_drop: false }` [INFO] [stdout] 9abd793224e16985774b36b803406f000608edf8226bc8e3a70e9d2b25335072