[INFO] cloning repository https://github.com/websmithcode/ubuntu-setup [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/websmithcode/ubuntu-setup" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebsmithcode%2Fubuntu-setup", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebsmithcode%2Fubuntu-setup'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 226431313d7fb43e33f8a9655fba5279a606977c [INFO] testing websmithcode/ubuntu-setup against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebsmithcode%2Fubuntu-setup" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/websmithcode/ubuntu-setup [INFO] finished tweaking git repo https://github.com/websmithcode/ubuntu-setup [INFO] tweaked toml for git repo https://github.com/websmithcode/ubuntu-setup written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/websmithcode/ubuntu-setup on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/websmithcode/ubuntu-setup 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f95e4f92637305259c3d2c08106f98d25a5c2c9862d6bbf69f738301b478af3 [INFO] running `Command { std: "docker" "start" "-a" "4f95e4f92637305259c3d2c08106f98d25a5c2c9862d6bbf69f738301b478af3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f95e4f92637305259c3d2c08106f98d25a5c2c9862d6bbf69f738301b478af3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f95e4f92637305259c3d2c08106f98d25a5c2c9862d6bbf69f738301b478af3", kill_on_drop: false }` [INFO] [stdout] 4f95e4f92637305259c3d2c08106f98d25a5c2c9862d6bbf69f738301b478af3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fe3313d6cff2a4a5420414d0ba94b85542e9e026607390a05f013ba1e6565cc [INFO] running `Command { std: "docker" "start" "-a" "5fe3313d6cff2a4a5420414d0ba94b85542e9e026607390a05f013ba1e6565cc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling portable-atomic v1.9.0 [INFO] [stderr] Compiling once_cell v1.20.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling indicatif v0.17.8 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling ubuntu-setup v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `apt_install` in this scope [INFO] [stdout] --> src/main.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | println!("sudo apt install {}", apt_install.join(" ")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `using_shell` in this scope [INFO] [stdout] --> src/main.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | println!("sudo chsh -s /usr/bin/{} {}", using_shell, user.username); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `user` in this scope [INFO] [stdout] --> src/main.rs:20:58 [INFO] [stdout] | [INFO] [stdout] 20 | println!("sudo chsh -s /usr/bin/{} {}", using_shell, user.username); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Confirm` [INFO] [stdout] --> src/questions.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use dialoguer::{Confirm, Input, MultiSelect, Password, Select}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::installer::User` [INFO] [stdout] --> src/questions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::installer::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Installer` has no field named `preparation_scripts` [INFO] [stdout] --> src/installer.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | preparation_scripts: vec![], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `Installer` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `packages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Installer` has no field named `installation_scripts` [INFO] [stdout] --> src/installer.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | installation_scripts: vec![], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `Installer` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `packages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Installer` has no field named `apt_packages` [INFO] [stdout] --> src/installer.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | apt_packages, [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 27 - apt_packages, [INFO] [stdout] 27 + packages, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Installer` has no field named `post_installation_scripts` [INFO] [stdout] --> src/installer.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | post_installation_scripts: vec![], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `Installer` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `packages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `preparation_scripts` on type `&mut Installer` [INFO] [stdout] --> src/installer.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | self.preparation_scripts.push(script); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `user`, `shell`, `packages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `installation_scripts` on type `&mut Installer` [INFO] [stdout] --> src/installer.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | self.installation_scripts.push(script); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `user`, `shell`, `packages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `apt_packages` on type `&mut Installer` [INFO] [stdout] --> src/installer.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | self.apt_packages.push(package); [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 43 - self.apt_packages.push(package); [INFO] [stdout] 43 + self.packages.push(package); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `apt_packages` on type `&mut Installer` [INFO] [stdout] --> src/installer.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | self.apt_packages.extend(package); [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 47 - self.apt_packages.extend(package); [INFO] [stdout] 47 + self.packages.extend(package); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `post_installation_scripts` on type `&mut Installer` [INFO] [stdout] --> src/installer.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | self.post_installation_scripts.push(script); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `user`, `shell`, `packages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0560, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ubuntu-setup` (bin "ubuntu-setup") due to 12 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5fe3313d6cff2a4a5420414d0ba94b85542e9e026607390a05f013ba1e6565cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fe3313d6cff2a4a5420414d0ba94b85542e9e026607390a05f013ba1e6565cc", kill_on_drop: false }` [INFO] [stdout] 5fe3313d6cff2a4a5420414d0ba94b85542e9e026607390a05f013ba1e6565cc