[INFO] cloning repository https://github.com/korora-tech/dhd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/korora-tech/dhd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorora-tech%2Fdhd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorora-tech%2Fdhd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 58e42ee75b24a44a8ea13db4cde6e00e61268051 [INFO] checking korora-tech/dhd/58e42ee75b24a44a8ea13db4cde6e00e61268051 against master#8f08b3a32478b8d0507732800ecb548a76e0fd0c for pr-144157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorora-tech%2Fdhd" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/korora-tech/dhd [INFO] finished tweaking git repo https://github.com/korora-tech/dhd [INFO] tweaked toml for git repo https://github.com/korora-tech/dhd written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/korora-tech/dhd on toolchain 8f08b3a32478b8d0507732800ecb548a76e0fd0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f08b3a32478b8d0507732800ecb548a76e0fd0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/korora-tech/dhd 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" "+8f08b3a32478b8d0507732800ecb548a76e0fd0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oxc_diagnostics v0.22.1 [INFO] [stderr] Downloaded oxc_index v0.22.1 [INFO] [stderr] Downloaded oxc_syntax v0.22.1 [INFO] [stderr] Downloaded unicode-id-start v1.3.1 [INFO] [stderr] Downloaded miette-derive v7.6.0 [INFO] [stderr] Downloaded gix-ref v0.47.0 [INFO] [stderr] Downloaded gix-config-value v0.14.12 [INFO] [stderr] Downloaded gix-validate v0.10.0 [INFO] [stderr] Downloaded gix-glob v0.16.5 [INFO] [stderr] Downloaded gix-lock v14.0.0 [INFO] [stderr] Downloaded gix-actor v0.32.0 [INFO] [stderr] Downloaded gix-config v0.40.0 [INFO] [stderr] Downloaded prodash v28.0.0 [INFO] [stderr] Downloaded winnow v0.6.26 [INFO] [stderr] Downloaded plist v1.7.2 [INFO] [stderr] Downloaded miette v7.6.0 [INFO] [stderr] Downloaded jiff-tzdb v0.1.4 [INFO] [stderr] Downloaded gix-features v0.38.2 [INFO] [stderr] Downloaded gix-tempfile v14.0.2 [INFO] [stderr] Downloaded gix-date v0.9.4 [INFO] [stderr] Downloaded gix-object v0.44.0 [INFO] [stderr] Downloaded gix-hash v0.14.2 [INFO] [stderr] Downloaded gix-fs v0.11.3 [INFO] [stderr] Downloaded gix-path v0.10.18 [INFO] [stderr] Downloaded unicode-bom v2.0.3 [INFO] [stderr] Downloaded os_info v3.12.0 [INFO] [stderr] Downloaded gix-sec v0.10.12 [INFO] [stderr] Downloaded jiff-tzdb-platform v0.1.3 [INFO] [stderr] Downloaded gix-utils v0.1.14 [INFO] [stderr] Downloaded gix-validate v0.9.4 [INFO] [stderr] Downloaded gix-trace v0.1.12 [INFO] [stderr] Downloaded assert-unchecked v0.1.2 [INFO] [stderr] Downloaded oxc_span v0.22.1 [INFO] [stderr] Downloaded oxc_ast_macros v0.22.1 [INFO] [stderr] Downloaded oxc_allocator v0.22.1 [INFO] [stderr] Downloaded oxc_ast v0.22.1 [INFO] [stderr] Downloaded oxc_parser v0.22.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+8f08b3a32478b8d0507732800ecb548a76e0fd0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df5b86f7af50350fe582b212b8d698072c44a43cac8a5eb74f8cfcd29b7dacb8 [INFO] running `Command { std: "docker" "start" "-a" "df5b86f7af50350fe582b212b8d698072c44a43cac8a5eb74f8cfcd29b7dacb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df5b86f7af50350fe582b212b8d698072c44a43cac8a5eb74f8cfcd29b7dacb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df5b86f7af50350fe582b212b8d698072c44a43cac8a5eb74f8cfcd29b7dacb8", kill_on_drop: false }` [INFO] [stdout] df5b86f7af50350fe582b212b8d698072c44a43cac8a5eb74f8cfcd29b7dacb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+8f08b3a32478b8d0507732800ecb548a76e0fd0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae7fda711b2804e3deefc903ac2acae5d975a0cf442ee1d39431ddd6c1207c5f [INFO] running `Command { std: "docker" "start" "-a" "ae7fda711b2804e3deefc903ac2acae5d975a0cf442ee1d39431ddd6c1207c5f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking gix-trace v0.1.12 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Checking faster-hex v0.9.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling owo-colors v4.2.1 [INFO] [stderr] Checking prodash v28.0.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking jiff v0.2.14 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking winnow v0.6.26 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking gix-utils v0.1.14 [INFO] [stderr] Checking bumpalo v3.18.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking oxc_allocator v0.22.1 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Compiling linkme-impl v0.3.33 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking oxc_index v0.22.1 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking unicode-id-start v1.3.1 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling oxc_ast_macros v0.22.1 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking clap_builder v4.5.39 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking gix-sec v0.10.12 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Checking assert-unchecked v0.1.2 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling dhd v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking unicode-bom v2.0.3 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking shellexpand v3.1.1 [INFO] [stderr] Checking float-cmp v0.10.0 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking which v6.0.3 [INFO] [stderr] Checking sysinfo v0.30.13 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling dhd-macros v0.1.0 (/opt/rustwide/workdir/dhd-macros) [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking linkme v0.3.33 [INFO] [stderr] Checking miette v7.6.0 [INFO] [stderr] Checking gix-validate v0.10.0 [INFO] [stderr] Checking gix-date v0.9.4 [INFO] [stderr] Checking gix-validate v0.9.4 [INFO] [stderr] Checking gix-path v0.10.18 [INFO] [stderr] Checking gix-hash v0.14.2 [INFO] [stderr] Checking gix-actor v0.32.0 [INFO] [stderr] Checking gix-features v0.38.2 [INFO] [stderr] Checking clap v4.5.39 [INFO] [stderr] Checking gix-config-value v0.14.12 [INFO] [stderr] Checking gix-fs v0.11.3 [INFO] [stderr] Checking gix-object v0.44.0 [INFO] [stderr] Checking gix-glob v0.16.5 [INFO] [stderr] Checking oxc_span v0.22.1 [INFO] [stderr] Checking oxc_diagnostics v0.22.1 [INFO] [stderr] Checking oxc_syntax v0.22.1 [INFO] [stderr] Checking gix-tempfile v14.0.2 [INFO] [stderr] Checking gix-lock v14.0.0 [INFO] [stderr] Checking oxc_ast v0.22.1 [INFO] [stderr] Checking gix-ref v0.47.0 [INFO] [stderr] Checking gix-config v0.40.0 [INFO] [stderr] Checking os_info v3.12.0 [INFO] [stderr] Checking oxc_parser v0.22.1 [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/actions/condition.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | std::env::set_var("TEST_VAR", "test_value"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> tests/condition_parsing_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/condition_tests.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | value: json!(info.os.distro), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `Value` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::json_internal` which comes from the expansion of the macro `json` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: try using a conversion method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/macros.rs:279:43 [INFO] [stdout] | [INFO] [stdout] 279 | $crate::to_value(&$other).unwrap().to_string() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_true` found for struct `PropertyBuilder` in the current scope [INFO] [stdout] --> tests/condition_tests.rs:114:66 [INFO] [stdout] | [INFO] [stdout] 114 | let condition = property("hardware.fingerprint".to_string()).is_true(); [INFO] [stdout] | ^^^^^^^ method not found in `PropertyBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> tests/condition_tests.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | and(vec![ [INFO] [stdout] | _________^^^- [INFO] [stdout] 166 | | file_exists(docker_config.to_string_lossy().to_string()), [INFO] [stdout] 167 | | command_exists("docker".to_string()), [INFO] [stdout] 168 | | ]), [INFO] [stdout] | |__________- argument #2 of type `Condition` is missing [INFO] [stdout] | [INFO] [stdout] note: expected `Condition`, found `Vec` [INFO] [stdout] --> tests/condition_tests.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | and(vec![ [INFO] [stdout] | _____________^ [INFO] [stdout] 166 | | file_exists(docker_config.to_string_lossy().to_string()), [INFO] [stdout] 167 | | command_exists("docker".to_string()), [INFO] [stdout] 168 | | ]), [INFO] [stdout] | |_________^ [INFO] [stdout] = note: expected enum `Condition` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/actions/condition.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn and(a: Condition, b: Condition) -> Condition { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 165 - and(vec![ [INFO] [stdout] 166 - file_exists(docker_config.to_string_lossy().to_string()), [INFO] [stdout] 167 - command_exists("docker".to_string()), [INFO] [stdout] 168 - ]), [INFO] [stdout] 165 + and(/* Condition */, /* Condition */), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> tests/condition_tests.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | let condition = or(vec![ [INFO] [stdout] | _____________________^^- [INFO] [stdout] 165 | | and(vec![ [INFO] [stdout] 166 | | file_exists(docker_config.to_string_lossy().to_string()), [INFO] [stdout] 167 | | command_exists("docker".to_string()), [INFO] [stdout] 168 | | ]), [INFO] [stdout] 169 | | env_var("DOCKER_BUILDKIT".to_string(), Some("1".to_string())), [INFO] [stdout] 170 | | ]); [INFO] [stdout] | |______- argument #2 of type `Condition` is missing [INFO] [stdout] | [INFO] [stdout] note: expected `Condition`, found `Vec` [INFO] [stdout] --> tests/condition_tests.rs:164:24 [INFO] [stdout] | [INFO] [stdout] 164 | let condition = or(vec![ [INFO] [stdout] | ________________________^ [INFO] [stdout] 165 | | and(vec![ [INFO] [stdout] 166 | | file_exists(docker_config.to_string_lossy().to_string()), [INFO] [stdout] 167 | | command_exists("docker".to_string()), [INFO] [stdout] 168 | | ]), [INFO] [stdout] 169 | | env_var("DOCKER_BUILDKIT".to_string(), Some("1".to_string())), [INFO] [stdout] 170 | | ]); [INFO] [stdout] | |_____^ [INFO] [stdout] = note: expected enum `Condition` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/actions/condition.rs:375:8 [INFO] [stdout] | [INFO] [stdout] 375 | pub fn or(a: Condition, b: Condition) -> Condition { [INFO] [stdout] | ^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 164 - let condition = or(vec![ [INFO] [stdout] 165 - and(vec![ [INFO] [stdout] 166 - file_exists(docker_config.to_string_lossy().to_string()), [INFO] [stdout] 167 - command_exists("docker".to_string()), [INFO] [stdout] 168 - ]), [INFO] [stdout] 169 - env_var("DOCKER_BUILDKIT".to_string(), Some("1".to_string())), [INFO] [stdout] 170 - ]); [INFO] [stdout] 164 + let condition = or(/* Condition */, /* Condition */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/condition_tests.rs:186:62 [INFO] [stdout] | [INFO] [stdout] 186 | let condition = property("os.distro".to_string()).equals(json!("ubuntu")); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^ expected `String`, found `Value` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/actions/condition.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn equals(self, value: String) -> Condition { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/macros.rs:279:43 [INFO] [stdout] | [INFO] [stdout] 279 | $crate::to_value(&$other).unwrap().to_string() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_true` found for struct `PropertyBuilder` in the current scope [INFO] [stdout] --> tests/condition_tests.rs:196:55 [INFO] [stdout] | [INFO] [stdout] 196 | let condition = property("test.bool".to_string()).is_true(); [INFO] [stdout] | ^^^^^^^ method not found in `PropertyBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `std::string::String` with `&Value` [INFO] [stdout] --> tests/condition_tests.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | assert_eq!(value, &json!(true)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::string::String == &Value` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&Value>` is not implemented for `std::string::String` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_false` found for struct `PropertyBuilder` in the current scope [INFO] [stdout] --> tests/condition_tests.rs:207:55 [INFO] [stdout] | [INFO] [stdout] 207 | let condition = property("test.bool".to_string()).is_false(); [INFO] [stdout] | ^^^^^^^^ method not found in `PropertyBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `std::string::String` with `&Value` [INFO] [stdout] --> tests/condition_tests.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | assert_eq!(value, &json!(false)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `std::string::String == &Value` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&Value>` is not implemented for `std::string::String` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/condition_tests.rs:218:64 [INFO] [stdout] | [INFO] [stdout] 218 | let condition = property("test.string".to_string()).equals(json!("value")); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ expected `String`, found `Value` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/actions/condition.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn equals(self, value: String) -> Condition { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/macros.rs:279:43 [INFO] [stdout] | [INFO] [stdout] 279 | $crate::to_value(&$other).unwrap().to_string() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `exists` found for enum `Condition` in the current scope [INFO] [stdout] --> tests/condition_tests.rs:243:51 [INFO] [stdout] | [INFO] [stdout] 243 | let condition = command("docker".to_string()).exists(); [INFO] [stdout] | ^^^^^^ method not found in `Condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `succeeds` found for enum `Condition` in the current scope [INFO] [stdout] --> tests/condition_tests.rs:252:54 [INFO] [stdout] | [INFO] [stdout] 252 | let condition = command("systemctl".to_string()).succeeds(); [INFO] [stdout] | ^^^^^^^^ method not found in `Condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Condition` in the current scope [INFO] [stdout] --> tests/condition_tests.rs:262:50 [INFO] [stdout] | [INFO] [stdout] 262 | let condition = command("lsmod".to_string()).contains("nvidia".to_string(), true); [INFO] [stdout] | ^^^^^^^^ method not found in `Condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/condition_tests.rs:277:16 [INFO] [stdout] | [INFO] [stdout] 277 | value: json!("world"), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `String`, found `Value` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::json_internal` which comes from the expansion of the macro `json` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: try using a conversion method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/macros.rs:279:43 [INFO] [stdout] | [INFO] [stdout] 279 | $crate::to_value(&$other).unwrap().to_string() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `GreaterThan` found for enum `ComparisonOperator` in the current scope [INFO] [stdout] --> tests/condition_tests.rs:287:29 [INFO] [stdout] | [INFO] [stdout] 287 | ComparisonOperator::GreaterThan, [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `ComparisonOperator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `LessThan` found for enum `ComparisonOperator` in the current scope [INFO] [stdout] --> tests/condition_tests.rs:288:29 [INFO] [stdout] | [INFO] [stdout] 288 | ComparisonOperator::LessThan, [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `ComparisonOperator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dhd` (test "condition_tests") due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dhd` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "ae7fda711b2804e3deefc903ac2acae5d975a0cf442ee1d39431ddd6c1207c5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae7fda711b2804e3deefc903ac2acae5d975a0cf442ee1d39431ddd6c1207c5f", kill_on_drop: false }` [INFO] [stdout] ae7fda711b2804e3deefc903ac2acae5d975a0cf442ee1d39431ddd6c1207c5f