[INFO] cloning repository https://github.com/MBODM/wingetupd-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MBODM/wingetupd-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMBODM%2Fwingetupd-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMBODM%2Fwingetupd-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ea8ea40e275aa7a0552bec5b8a5eab1888a4321 [INFO] checking MBODM/wingetupd-rust against try#7d2afcda7a9c043d5175cbca3ab08f0acf02b13a for pr-140824 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMBODM%2Fwingetupd-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MBODM/wingetupd-rust on toolchain 7d2afcda7a9c043d5175cbca3ab08f0acf02b13a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MBODM/wingetupd-rust [INFO] finished tweaking git repo https://github.com/MBODM/wingetupd-rust [INFO] tweaked toml for git repo https://github.com/MBODM/wingetupd-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MBODM/wingetupd-rust 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" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8db13580194bdb83aaa97aba776fb534d5595093b3ccb52d24e53e79e728fa5 [INFO] running `Command { std: "docker" "start" "-a" "d8db13580194bdb83aaa97aba776fb534d5595093b3ccb52d24e53e79e728fa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8db13580194bdb83aaa97aba776fb534d5595093b3ccb52d24e53e79e728fa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8db13580194bdb83aaa97aba776fb534d5595093b3ccb52d24e53e79e728fa5", kill_on_drop: false }` [INFO] [stdout] d8db13580194bdb83aaa97aba776fb534d5595093b3ccb52d24e53e79e728fa5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0837a1a0e032a7a3cc88f66c1ffdc101a30ef6c4e453eb20d9432798747cdc91 [INFO] running `Command { std: "docker" "start" "-a" "0837a1a0e032a7a3cc88f66c1ffdc101a30ef6c4e453eb20d9432798747cdc91", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking wingetupd v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `package_infos_helper` [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod package_infos_helper; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `package_infos_helper`, create file "src/package_infos_helper.rs" or "src/package_infos_helper/mod.rs" [INFO] [stdout] = note: if there is a `mod package_infos_helper` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `package_infos_helper` [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | mod package_infos_helper; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `package_infos_helper`, create file "src/package_infos_helper.rs" or "src/package_infos_helper/mod.rs" [INFO] [stdout] = note: if there is a `mod package_infos_helper` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::app::args`, `crate::app::console` [INFO] [stdout] --> src/domain.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::app::{args, console}; [INFO] [stdout] | ^^^^ ^^^^^^^ no `console` in `app` [INFO] [stdout] | | [INFO] [stdout] | no `args` in `app` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] crate::args [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] crate::console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::common` [INFO] [stdout] --> src/domain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::common; [INFO] [stdout] | ^^^^^^^^^^^^^ no `common` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::app::args`, `crate::app::console` [INFO] [stdout] --> src/domain.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::app::{args, console}; [INFO] [stdout] | ^^^^ ^^^^^^^ no `console` in `app` [INFO] [stdout] | | [INFO] [stdout] | no `args` in `app` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] crate::args [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] crate::console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::common` [INFO] [stdout] --> src/domain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::common; [INFO] [stdout] | ^^^^^^^^^^^^^ no `common` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AppError` [INFO] [stdout] --> src/main.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | return Err(AppError::new(String::from("Package-file is empty."))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AppError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::err::AppError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `intrinsics::const_eval_select` [INFO] [stdout] --> src/console.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | intrinsics::const_eval_select, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `app::SliceOf` [INFO] [stdout] --> src/packages.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{app::SliceOf, commands, err::AppError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prettify::prettify_output` [INFO] [stdout] --> src/winget.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use prettify::prettify_output; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecuteData` [INFO] [stdout] --> src/winget.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | pub use sys::{execute, is_installed, ExecuteData}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AppError` [INFO] [stdout] --> src/main.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | return Err(AppError::new(String::from("Package-file is empty."))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AppError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::err::AppError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `core_intrinsics`: intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library [INFO] [stdout] --> src/console.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | intrinsics::const_eval_select, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(core_intrinsics)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-05-09; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `intrinsics::const_eval_select` [INFO] [stdout] --> src/console.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | intrinsics::const_eval_select, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `app::SliceOf` [INFO] [stdout] --> src/packages.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{app::SliceOf, commands, err::AppError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prettify::prettify_output` [INFO] [stdout] --> src/winget.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use prettify::prettify_output; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecuteData` [INFO] [stdout] --> src/winget.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | pub use sys::{execute, is_installed, ExecuteData}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `core_intrinsics`: intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library [INFO] [stdout] --> src/console.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | intrinsics::const_eval_select, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(core_intrinsics)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-05-09; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let package_infos = packages::analyze(packages, progress_closure)?; [INFO] [stdout] | ----------------- ^^^^^^^^ expected `&[String]`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[String]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/packages.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn analyze( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | packages_slice: &[String], [INFO] [stdout] | ------------------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 60 | let package_infos = packages::analyze(&packages, progress_closure)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let package_infos = packages::analyze(packages, progress_closure)?; [INFO] [stdout] | ----------------- ^^^^^^^^ expected `&[String]`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[String]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/packages.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn analyze( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | packages_slice: &[String], [INFO] [stdout] | ------------------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 60 | let package_infos = packages::analyze(&packages, progress_closure)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*path_buf` which is behind a shared reference [INFO] [stdout] --> src/config.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let s = path_buf [INFO] [stdout] | ^^^^^^^^ move occurs because `*path_buf` has type `PathBuf`, which does not implement the `Copy` trait [INFO] [stdout] 77 | .into_os_string() [INFO] [stdout] | ---------------- `*path_buf` moved due to this method call [INFO] [stdout] | [INFO] [stdout] note: `PathBuf::into_os_string` takes ownership of the receiver `self`, which moves `*path_buf` [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/std/src/path.rs:1657:27 [INFO] [stdout] help: you can `clone` the value and consume it, but this might not be your desired behavior [INFO] [stdout] | [INFO] [stdout] 76 | let s = ::clone(&path_buf) [INFO] [stdout] | +++++++++++++++++++++++++++ + [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 76 | let s = path_buf.clone() [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/console.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | .filter(|&&pi| pi.is_valid) [INFO] [stdout] | ^^-- [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `pi` has type `PackageInfo`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 76 - .filter(|&&pi| pi.is_valid) [INFO] [stdout] 76 + .filter(|&pi| pi.is_valid) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/console.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | .map(|&pi| pi.package) [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `pi` has type `PackageInfo`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 77 - .map(|&pi| pi.package) [INFO] [stdout] 77 + .map(|pi| pi.package) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*path_buf` which is behind a shared reference [INFO] [stdout] --> src/config.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let s = path_buf [INFO] [stdout] | ^^^^^^^^ move occurs because `*path_buf` has type `PathBuf`, which does not implement the `Copy` trait [INFO] [stdout] 77 | .into_os_string() [INFO] [stdout] | ---------------- `*path_buf` moved due to this method call [INFO] [stdout] | [INFO] [stdout] note: `PathBuf::into_os_string` takes ownership of the receiver `self`, which moves `*path_buf` [INFO] [stdout] --> /rustc/7d2afcda7a9c043d5175cbca3ab08f0acf02b13a/library/std/src/path.rs:1657:27 [INFO] [stdout] help: you can `clone` the value and consume it, but this might not be your desired behavior [INFO] [stdout] | [INFO] [stdout] 76 | let s = ::clone(&path_buf) [INFO] [stdout] | +++++++++++++++++++++++++++ + [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 76 | let s = path_buf.clone() [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/console.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | .filter(|&&pi| pi.is_installed) [INFO] [stdout] | ^^-- [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `pi` has type `PackageInfo`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 84 - .filter(|&&pi| pi.is_installed) [INFO] [stdout] 84 + .filter(|&pi| pi.is_installed) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/console.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | .map(|&pi| pi.package) [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `pi` has type `PackageInfo`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 85 - .map(|&pi| pi.package) [INFO] [stdout] 85 + .map(|pi| pi.package) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/console.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | .filter(|&&pi| pi.is_valid) [INFO] [stdout] | ^^-- [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `pi` has type `PackageInfo`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 76 - .filter(|&&pi| pi.is_valid) [INFO] [stdout] 76 + .filter(|&pi| pi.is_valid) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/console.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | .map(|&pi| pi.package) [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `pi` has type `PackageInfo`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 77 - .map(|&pi| pi.package) [INFO] [stdout] 77 + .map(|pi| pi.package) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/console.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | .filter(|&&pi| pi.is_installed) [INFO] [stdout] | ^^-- [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `pi` has type `PackageInfo`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 84 - .filter(|&&pi| pi.is_installed) [INFO] [stdout] 84 + .filter(|&pi| pi.is_installed) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/console.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | .map(|&pi| pi.package) [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `pi` has type `PackageInfo`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 85 - .map(|&pi| pi.package) [INFO] [stdout] 85 + .map(|pi| pi.package) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/console.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | .filter(|&&pi| pi.is_updatable) [INFO] [stdout] | ^^-- [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `pi` has type `PackageInfo`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 93 - .filter(|&&pi| pi.is_updatable) [INFO] [stdout] 93 + .filter(|&pi| pi.is_updatable) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/console.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | .filter(|&&pi| pi.is_updatable) [INFO] [stdout] | ^^-- [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `pi` has type `PackageInfo`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 93 - .filter(|&&pi| pi.is_updatable) [INFO] [stdout] 93 + .filter(|&pi| pi.is_updatable) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `package_infos` [INFO] [stdout] --> src/console.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn show_summary(package_infos: Vec) { [INFO] [stdout] | ------------- move occurs because `package_infos` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] 71 | let i = package_infos.len(); [INFO] [stdout] 72 | let s = entry_or_entries(package_infos); [INFO] [stdout] | ------------- value moved here [INFO] [stdout] 73 | println!("{i} package-file {s} processed."); [INFO] [stdout] 74 | let valid_packages = package_infos [INFO] [stdout] | ^^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `entry_or_entries` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/console.rs:167:29 [INFO] [stdout] | [INFO] [stdout] 167 | fn entry_or_entries(vec: Vec) -> String { [INFO] [stdout] | ---------------- ^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] = note: borrow occurs due to deref coercion to `[PackageInfo]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `package_infos` [INFO] [stdout] --> src/console.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn show_summary(package_infos: Vec) { [INFO] [stdout] | ------------- move occurs because `package_infos` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] 71 | let i = package_infos.len(); [INFO] [stdout] 72 | let s = entry_or_entries(package_infos); [INFO] [stdout] | ------------- value moved here [INFO] [stdout] 73 | println!("{i} package-file {s} processed."); [INFO] [stdout] 74 | let valid_packages = package_infos [INFO] [stdout] | ^^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `entry_or_entries` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/console.rs:167:29 [INFO] [stdout] | [INFO] [stdout] 167 | fn entry_or_entries(vec: Vec) -> String { [INFO] [stdout] | ---------------- ^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] = note: borrow occurs due to deref coercion to `[PackageInfo]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `installed_packages` [INFO] [stdout] --> src/console.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 82 | let installed_packages = package_infos [INFO] [stdout] | ------------------ move occurs because `installed_packages` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 88 | let s = package_or_packages(installed_packages); [INFO] [stdout] | ------------------ value moved here [INFO] [stdout] 89 | println!("{i} {s} installed:"); [INFO] [stdout] 90 | list_packages(installed_packages); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `package_or_packages` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/console.rs:171:32 [INFO] [stdout] | [INFO] [stdout] 171 | fn package_or_packages(vec: Vec) -> String { [INFO] [stdout] | ------------------- ^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 88 | let s = package_or_packages(installed_packages.clone()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `installed_packages` [INFO] [stdout] --> src/console.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 82 | let installed_packages = package_infos [INFO] [stdout] | ------------------ move occurs because `installed_packages` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 88 | let s = package_or_packages(installed_packages); [INFO] [stdout] | ------------------ value moved here [INFO] [stdout] 89 | println!("{i} {s} installed:"); [INFO] [stdout] 90 | list_packages(installed_packages); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `package_or_packages` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/console.rs:171:32 [INFO] [stdout] | [INFO] [stdout] 171 | fn package_or_packages(vec: Vec) -> String { [INFO] [stdout] | ------------------- ^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 88 | let s = package_or_packages(installed_packages.clone()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `updatable_packages` [INFO] [stdout] --> src/console.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 91 | let updatable_packages = package_infos [INFO] [stdout] | ------------------ move occurs because `updatable_packages` has type `Vec<&PackageInfo>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 96 | let s = package_or_packages(updatable_packages); [INFO] [stdout] | ------------------ value moved here [INFO] [stdout] 97 | println!("{i} {s} updatable"); [INFO] [stdout] 98 | if updatable_packages.len() != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `package_or_packages` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/console.rs:171:32 [INFO] [stdout] | [INFO] [stdout] 171 | fn package_or_packages(vec: Vec) -> String { [INFO] [stdout] | ------------------- ^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 96 | let s = package_or_packages(updatable_packages.clone()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/console.rs:185:20 [INFO] [stdout] | [INFO] [stdout] 185 | .for_each(|&package| println!(" - {package}")) [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `package` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 185 - .for_each(|&package| println!(" - {package}")) [INFO] [stdout] 185 + .for_each(|package| println!(" - {package}")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/console.rs:189:36 [INFO] [stdout] | [INFO] [stdout] 189 | package_infos.iter().for_each(|&&pi| { [INFO] [stdout] | ^^-- [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `pi` has type `PackageInfo`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 189 - package_infos.iter().for_each(|&&pi| { [INFO] [stdout] 189 + package_infos.iter().for_each(|&pi| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/packages.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | .map(|&package| { [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `package` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 25 - .map(|&package| { [INFO] [stdout] 25 + .map(|package| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/packages.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | .filter(|&&package_info| filter_predicate(package_info)) [INFO] [stdout] | ^^------------ [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `package_info` has type `PackageInfo`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 85 - .filter(|&&package_info| filter_predicate(package_info)) [INFO] [stdout] 85 + .filter(|&package_info| filter_predicate(package_info)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/packages.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | .map(|&package_info| package_info.package) [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `package_info` has type `PackageInfo`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 86 - .map(|&package_info| package_info.package) [INFO] [stdout] 86 + .map(|package_info| package_info.package) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `updatable_packages` [INFO] [stdout] --> src/console.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 91 | let updatable_packages = package_infos [INFO] [stdout] | ------------------ move occurs because `updatable_packages` has type `Vec<&PackageInfo>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 96 | let s = package_or_packages(updatable_packages); [INFO] [stdout] | ------------------ value moved here [INFO] [stdout] 97 | println!("{i} {s} updatable"); [INFO] [stdout] 98 | if updatable_packages.len() != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `package_or_packages` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/console.rs:171:32 [INFO] [stdout] | [INFO] [stdout] 171 | fn package_or_packages(vec: Vec) -> String { [INFO] [stdout] | ------------------- ^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 96 | let s = package_or_packages(updatable_packages.clone()); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/console.rs:185:20 [INFO] [stdout] | [INFO] [stdout] 185 | .for_each(|&package| println!(" - {package}")) [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `package` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 185 - .for_each(|&package| println!(" - {package}")) [INFO] [stdout] 185 + .for_each(|package| println!(" - {package}")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/console.rs:189:36 [INFO] [stdout] | [INFO] [stdout] 189 | package_infos.iter().for_each(|&&pi| { [INFO] [stdout] | ^^-- [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `pi` has type `PackageInfo`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 189 - package_infos.iter().for_each(|&&pi| { [INFO] [stdout] 189 + package_infos.iter().for_each(|&pi| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/packages.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | .map(|&package| { [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `package` has type `String`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 25 - .map(|&package| { [INFO] [stdout] 25 + .map(|package| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/packages.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | .filter(|&&package_info| filter_predicate(package_info)) [INFO] [stdout] | ^^------------ [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `package_info` has type `PackageInfo`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 85 - .filter(|&&package_info| filter_predicate(package_info)) [INFO] [stdout] 85 + .filter(|&package_info| filter_predicate(package_info)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/packages.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | .map(|&package_info| package_info.package) [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `package_info` has type `PackageInfo`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 86 - .map(|&package_info| package_info.package) [INFO] [stdout] 86 + .map(|package_info| package_info.package) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `vec` [INFO] [stdout] --> src/packages.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 88 | let slice = &vec[..]; [INFO] [stdout] | --- `vec` is borrowed here [INFO] [stdout] 89 | slice [INFO] [stdout] | ^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `vec` [INFO] [stdout] --> src/packages.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 88 | let slice = &vec[..]; [INFO] [stdout] | --- `vec` is borrowed here [INFO] [stdout] 89 | slice [INFO] [stdout] | ^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0382, E0432, E0433, E0507, E0515, E0583, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0382, E0432, E0433, E0507, E0515, E0583, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wingetupd` (bin "wingetupd" test) due to 21 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wingetupd` (bin "wingetupd") due to 21 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0837a1a0e032a7a3cc88f66c1ffdc101a30ef6c4e453eb20d9432798747cdc91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0837a1a0e032a7a3cc88f66c1ffdc101a30ef6c4e453eb20d9432798747cdc91", kill_on_drop: false }` [INFO] [stdout] 0837a1a0e032a7a3cc88f66c1ffdc101a30ef6c4e453eb20d9432798747cdc91