[INFO] cloning repository https://github.com/selfhoster1312/yunohost-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/selfhoster1312/yunohost-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fselfhoster1312%2Fyunohost-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fselfhoster1312%2Fyunohost-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39c77b5837ed2ff65f76536e7dd5ab0d5bdc6f4d [INFO] testing selfhoster1312/yunohost-rs against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fselfhoster1312%2Fyunohost-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/selfhoster1312/yunohost-rs on toolchain 1871252fc8bb672d40787e67404e6eaae7059369 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/selfhoster1312/yunohost-rs [INFO] finished tweaking git repo https://github.com/selfhoster1312/yunohost-rs [INFO] tweaked toml for git repo https://github.com/selfhoster1312/yunohost-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/selfhoster1312/yunohost-rs 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" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded file-owner v0.1.2 [INFO] [stderr] Downloaded serde_yaml_ng v0.9.36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b56ef7b16aada6a7617dbdab4c25c5b195eb7429ca187cc56828a6aec255a9c5 [INFO] running `Command { std: "docker" "start" "-a" "b56ef7b16aada6a7617dbdab4c25c5b195eb7429ca187cc56828a6aec255a9c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b56ef7b16aada6a7617dbdab4c25c5b195eb7429ca187cc56828a6aec255a9c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b56ef7b16aada6a7617dbdab4c25c5b195eb7429ca187cc56828a6aec255a9c5", kill_on_drop: false }` [INFO] [stdout] b56ef7b16aada6a7617dbdab4c25c5b195eb7429ca187cc56828a6aec255a9c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5463b9c71c3b099ffa3d659714c650ec70cffe116904dab759afdc2b9d5c533 [INFO] running `Command { std: "docker" "start" "-a" "c5463b9c71c3b099ffa3d659714c650ec70cffe116904dab759afdc2b9d5c533", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling winnow v0.6.8 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling strfmt v0.2.4 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling lber v0.4.2 [INFO] [stderr] Compiling file-owner v0.1.2 [INFO] [stderr] Compiling derive_deref v1.1.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling snafu-derive v0.8.2 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling strum v0.26.2 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling snafu v0.8.2 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling ldap3 v0.11.3 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling serde_yaml_ng v0.9.36 [INFO] [stderr] Compiling serde_with v3.8.1 [INFO] [stderr] Compiling toml_edit v0.22.13 [INFO] [stderr] Compiling toml v0.8.13 [INFO] [stderr] Compiling yunohost v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `axum` [INFO] [stdout] --> src/helpers/credentials.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(feature = "axum")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `hooks` [INFO] [stdout] = help: consider adding `axum` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.74s [INFO] running `Command { std: "docker" "inspect" "c5463b9c71c3b099ffa3d659714c650ec70cffe116904dab759afdc2b9d5c533", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5463b9c71c3b099ffa3d659714c650ec70cffe116904dab759afdc2b9d5c533", kill_on_drop: false }` [INFO] [stdout] c5463b9c71c3b099ffa3d659714c650ec70cffe116904dab759afdc2b9d5c533 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02f7ee4da1d4c6e5eb6cb0548e727d9e38867331e5bb56ea91e8ef5a63ea5939 [INFO] running `Command { std: "docker" "start" "-a" "02f7ee4da1d4c6e5eb6cb0548e727d9e38867331e5bb56ea91e8ef5a63ea5939", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `axum` [INFO] [stdout] --> src/helpers/credentials.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(feature = "axum")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `hooks` [INFO] [stdout] = help: consider adding `axum` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling yunohost v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `axum` [INFO] [stdout] --> src/helpers/credentials.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(feature = "axum")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `hooks` [INFO] [stdout] = help: consider adding `axum` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.99s [INFO] running `Command { std: "docker" "inspect" "02f7ee4da1d4c6e5eb6cb0548e727d9e38867331e5bb56ea91e8ef5a63ea5939", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02f7ee4da1d4c6e5eb6cb0548e727d9e38867331e5bb56ea91e8ef5a63ea5939", kill_on_drop: false }` [INFO] [stdout] 02f7ee4da1d4c6e5eb6cb0548e727d9e38867331e5bb56ea91e8ef5a63ea5939 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 40eb6cfd6a5428dcf5744177201998c710e5981006744f45f50c974b49862567 [INFO] running `Command { std: "docker" "start" "-a" "40eb6cfd6a5428dcf5744177201998c710e5981006744f45f50c974b49862567", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `axum` [INFO] [stderr] --> src/helpers/credentials.rs:70:7 [INFO] [stderr] | [INFO] [stderr] 70 | #[cfg(feature = "axum")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `hooks` [INFO] [stderr] = help: consider adding `axum` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `yunohost` (lib) generated 1 warning [INFO] [stderr] warning: `yunohost` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/yunohost-01e9834aab694524) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test helpers::configpanel::filter_key::tests::invalid_empty_filter_key ... ok [INFO] [stdout] test helpers::configpanel::filter_key::tests::invalid_too_deep_filter_key ... ok [INFO] [stdout] test helpers::configpanel::filter_key::tests::valid_option ... ok [INFO] [stdout] test helpers::configpanel::filter_key::tests::valid_panel ... ok [INFO] [stdout] test helpers::configpanel::filter_key::tests::valid_section ... ok [INFO] [stdout] test helpers::hook::tests::alphanumeric_parts ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 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/yunohost-1fb7919353ee0def) [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 yunohost [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/helpers/file.rs - helpers::file::StrPath (line 25) ... FAILED [INFO] [stdout] test src/helpers/service.rs - helpers::service::SystemCtl::exists (line 79) ... FAILED [INFO] [stdout] test src/helpers/service.rs - helpers::service::SystemCtl::enable (line 22) ... FAILED [INFO] [stdout] test src/helpers/string.rs - helpers::string::capitalize (line 9) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/helpers/file.rs - helpers::file::StrPath (line 25) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StrPath` [INFO] [stdout] --> src/helpers/file.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 5 | let path = StrPath::from("/etc/yunohost"); [INFO] [stdout] | ^^^^^^^ use of undeclared type `StrPath` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use yunohost::helpers::file::StrPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/helpers/service.rs - helpers::service::SystemCtl::exists (line 79) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Systemctl` [INFO] [stdout] --> src/helpers/service.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 6 | if Systemctl::exists("nginx") { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Systemctl` [INFO] [stdout] | help: a struct with a similar name exists (notice the capitalization): `SystemCtl` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/helpers/service.rs - helpers::service::SystemCtl::enable (line 22) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Systemctl` [INFO] [stdout] --> src/helpers/service.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 6 | let res = Systemctl::enable("nginx", [ "--quiet", "--now" ]); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Systemctl` [INFO] [stdout] | help: a struct with a similar name exists (notice the capitalization): `SystemCtl` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/helpers/string.rs - helpers::string::capitalize (line 9) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `capitalize` in this scope [INFO] [stdout] --> src/helpers/string.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 4 | println("{}", capitalize("hello, world!")); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use yunohost::helpers::string::capitalize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `capitalize` in this scope [INFO] [stdout] --> src/helpers/string.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!("Hello, world!".to_string(), capitalize("hello, world!")); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use yunohost::helpers::string::capitalize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `println` [INFO] [stdout] --> src/helpers/string.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 4 | println("{}", capitalize("hello, world!")); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 4 | println!("{}", capitalize("hello, world!")); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/helpers/file.rs - helpers::file::StrPath (line 25) [INFO] [stdout] src/helpers/service.rs - helpers::service::SystemCtl::enable (line 22) [INFO] [stdout] src/helpers/service.rs - helpers::service::SystemCtl::exists (line 79) [INFO] [stdout] src/helpers/string.rs - helpers::string::capitalize (line 9) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "40eb6cfd6a5428dcf5744177201998c710e5981006744f45f50c974b49862567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40eb6cfd6a5428dcf5744177201998c710e5981006744f45f50c974b49862567", kill_on_drop: false }` [INFO] [stdout] 40eb6cfd6a5428dcf5744177201998c710e5981006744f45f50c974b49862567