[INFO] fetching crate rocal-cli 0.3.0... [INFO] testing rocal-cli-0.3.0 against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] extracting crate rocal-cli 0.3.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate rocal-cli 0.3.0 [INFO] finished tweaking crates.io crate rocal-cli 0.3.0 [INFO] tweaked toml for crates.io crate rocal-cli 0.3.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rocal-cli 0.3.0 on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: failed to write /workspace/builds/worker-6-tc2/source/Cargo.lock [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] testing rocal-cli-0.3.0 against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] extracting crate rocal-cli 0.3.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate rocal-cli 0.3.0 [INFO] finished tweaking crates.io crate rocal-cli 0.3.0 [INFO] tweaked toml for crates.io crate rocal-cli 0.3.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rocal-cli 0.3.0 on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 204 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d221a451ffc4de4684ff935bec952ea38a4403edca5762106e15cea685e2347e [INFO] running `Command { std: "docker" "start" "-a" "d221a451ffc4de4684ff935bec952ea38a4403edca5762106e15cea685e2347e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d221a451ffc4de4684ff935bec952ea38a4403edca5762106e15cea685e2347e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d221a451ffc4de4684ff935bec952ea38a4403edca5762106e15cea685e2347e", kill_on_drop: false }` [INFO] [stdout] d221a451ffc4de4684ff935bec952ea38a4403edca5762106e15cea685e2347e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3b41f5cd0b63155f6ba040d73ddb554b1171b7cabd9b3253aee694dd7f5f448 [INFO] running `Command { std: "docker" "start" "-a" "a3b41f5cd0b63155f6ba040d73ddb554b1171b7cabd9b3253aee694dd7f5f448", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling webpki-roots v1.0.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling linux-keyutils v0.2.4 [INFO] [stderr] Compiling rtoolbox v0.0.3 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling rocal-cli v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rpassword v7.4.0 [INFO] [stderr] Compiling rocal-dev-server v0.1.1 [INFO] [stderr] Compiling keyring v3.6.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling uuid-macro-internal v1.17.0 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/commands/utils/project.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_app_name(root_path: &PathBuf) -> Cow { [INFO] [stdout] | ^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_app_name(root_path: &PathBuf) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.12s [INFO] running `Command { std: "docker" "inspect" "a3b41f5cd0b63155f6ba040d73ddb554b1171b7cabd9b3253aee694dd7f5f448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3b41f5cd0b63155f6ba040d73ddb554b1171b7cabd9b3253aee694dd7f5f448", kill_on_drop: false }` [INFO] [stdout] a3b41f5cd0b63155f6ba040d73ddb554b1171b7cabd9b3253aee694dd7f5f448 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0657705b6ca243a6d252b7990e8612734755c609fc4632815c1cc6e387aece0f [INFO] running `Command { std: "docker" "start" "-a" "0657705b6ca243a6d252b7990e8612734755c609fc4632815c1cc6e387aece0f", kill_on_drop: false }` [INFO] [stderr] Compiling rocal-cli v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/commands/utils/project.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_app_name(root_path: &PathBuf) -> Cow { [INFO] [stdout] | ^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_app_name(root_path: &PathBuf) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/commands/utils/project.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_app_name(root_path: &PathBuf) -> Cow { [INFO] [stdout] | ^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_app_name(root_path: &PathBuf) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "0657705b6ca243a6d252b7990e8612734755c609fc4632815c1cc6e387aece0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0657705b6ca243a6d252b7990e8612734755c609fc4632815c1cc6e387aece0f", kill_on_drop: false }` [INFO] [stdout] 0657705b6ca243a6d252b7990e8612734755c609fc4632815c1cc6e387aece0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] de436a366bbd41d76c35fbf411863f71009cfaa04c23b24dd3f38407e6b9b0a8 [INFO] running `Command { std: "docker" "start" "-a" "de436a366bbd41d76c35fbf411863f71009cfaa04c23b24dd3f38407e6b9b0a8", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/commands/utils/project.rs:16:32 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn get_app_name(root_path: &PathBuf) -> Cow { [INFO] [stderr] | ^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 16 | pub fn get_app_name(root_path: &PathBuf) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `rocal-cli` (lib) generated 1 warning [INFO] [stderr] warning: `rocal-cli` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rocal_cli-8e6b6b5d18363a8a) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests rocal_cli [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 3 tests [INFO] [stdout] test src/lib.rs - (line 11) ... FAILED [INFO] [stdout] test src/lib.rs - (line 116) ... FAILED [INFO] [stdout] test src/commands/utils/indicator.rs - commands::utils::indicator::Kind (line 17) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 11) stdout ---- [INFO] [stdout] error[E0428]: the name `index` is defined multiple times [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn index(&self) { [INFO] [stdout] | ------------------- previous definition of the value `index` here [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn index(&self, message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `index` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `index` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/lib.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn index(&self) { [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: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/lib.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn index(&self, message: &str) { [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: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 28 | fn body(&self, data: Self::Data) -> String { [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocal` [INFO] [stdout] --> src/lib.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[rocal::action] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rocal` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `view` in this scope [INFO] [stdout] --> src/lib.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 46 | view! { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `view` in this scope [INFO] [stdout] --> src/lib.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 29 | view! { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `route` in this scope [INFO] [stdout] --> src/lib.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 6 | route! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `migrate` in this scope [INFO] [stdout] --> src/lib.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 4 | migrate!("db/migrations"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Controller` in this scope [INFO] [stdout] --> src/lib.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl Controller for HelloWorldController { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HelloWorldController` in this scope [INFO] [stdout] --> src/lib.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 12 | impl Controller for HelloWorldController { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UserView` in this scope [INFO] [stdout] --> src/lib.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 13 | type View = UserView; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HelloWorldTemplate` [INFO] [stdout] --> src/lib.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 23 | let template = HelloWorldTemplate::new(self.router.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `HelloWorldTemplate` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions [INFO] [stdout] --> src/lib.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 28 | fn body(&self, data: Self::Data) -> String { [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0428, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 116) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `CONFIG` in the crate root [INFO] [stdout] --> src/lib.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 12 | let database = crate::CONFIG.get_database().clone(); [INFO] [stdout] | ^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/lib.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 14 | let result: Result, JsValue> = database.query("select id, first_name, last_name from users;").fetch().await; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_116_0() { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:128:113 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_116_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 14 | let result: Result, JsValue> = database.query("select id, first_name, last_name from users;").fetch().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_116_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 24 | .await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/commands/utils/indicator.rs - commands::utils::indicator::Kind (line 17) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/commands/utils/indicator.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 7 | .color(Color::White) [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use clap::builder::styling::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread` [INFO] [stdout] --> src/commands/utils/indicator.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 10 | thread::sleep(Duration::from_millis(1000)); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `thread` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/commands/utils/indicator.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 10 | thread::sleep(Duration::from_millis(1000)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 2 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/commands/utils/indicator.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 16 | writeln!(f, "{}", Color::Green.text("Done"))?; [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use clap::builder::styling::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IndicatorLauncher` [INFO] [stdout] --> src/commands/utils/indicator.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 3 | let mut indicator = IndicatorLauncher::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `IndicatorLauncher` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Kind` [INFO] [stdout] --> src/commands/utils/indicator.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 4 | .kind(Kind::Dots) [INFO] [stdout] | ^^^^ use of undeclared type `Kind` [INFO] [stdout] [INFO] [stdout] error[E0599]: cannot write into `Stdout` [INFO] [stdout] --> src/commands/utils/indicator.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 16 | writeln!(f, "{}", Color::Green.text("Done"))?; [INFO] [stdout] | ^ [INFO] [stdout] --> /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/io/mod.rs:1950:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Stdout` here [INFO] [stdout] | [INFO] [stdout] note: must implement `io::Write`, `fmt::Write`, or have a `write_fmt` method [INFO] [stdout] --> src/commands/utils/indicator.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 16 | writeln!(f, "{}", Color::Green.text("Done"))?; [INFO] [stdout] | ^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write_fmt` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `flush` found for struct `Stdout` in the current scope [INFO] [stdout] --> src/commands/utils/indicator.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 17 | f.flush()?; [INFO] [stdout] | ^^^^^ method not found in `Stdout` [INFO] [stdout] --> /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/io/mod.rs:1801:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Stdout` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `flush` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/commands/utils/indicator.rs - commands::utils::indicator::Kind (line 17) [INFO] [stdout] src/lib.rs - (line 11) [INFO] [stdout] src/lib.rs - (line 116) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "de436a366bbd41d76c35fbf411863f71009cfaa04c23b24dd3f38407e6b9b0a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de436a366bbd41d76c35fbf411863f71009cfaa04c23b24dd3f38407e6b9b0a8", kill_on_drop: false }` [INFO] [stdout] de436a366bbd41d76c35fbf411863f71009cfaa04c23b24dd3f38407e6b9b0a8