[INFO] cloning repository https://github.com/InvalidName662/tutel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/InvalidName662/tutel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInvalidName662%2Ftutel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInvalidName662%2Ftutel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] caf001f9d4a79a07df19b86c9ee817db62948568 [INFO] checking InvalidName662/tutel/caf001f9d4a79a07df19b86c9ee817db62948568 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInvalidName662%2Ftutel" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/InvalidName662/tutel on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/InvalidName662/tutel [INFO] finished tweaking git repo https://github.com/InvalidName662/tutel [INFO] tweaked toml for git repo https://github.com/InvalidName662/tutel written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 30 packages to latest compatible versions [INFO] [stderr] Adding bpaf v0.7.10 (available: v0.9.14) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding owo-colors v3.5.0 (available: v4.1.0) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7c3acd4f28fec2d1a2d9cc12d1adbe7f7e78e3996060601c10cd7c97a918f47 [INFO] running `Command { std: "docker" "start" "-a" "d7c3acd4f28fec2d1a2d9cc12d1adbe7f7e78e3996060601c10cd7c97a918f47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7c3acd4f28fec2d1a2d9cc12d1adbe7f7e78e3996060601c10cd7c97a918f47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7c3acd4f28fec2d1a2d9cc12d1adbe7f7e78e3996060601c10cd7c97a918f47", kill_on_drop: false }` [INFO] [stdout] d7c3acd4f28fec2d1a2d9cc12d1adbe7f7e78e3996060601c10cd7c97a918f47 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d987e3231e81b5ac3c0948eddd03a6b70866deb05ed6c7130a59408454fa3f0c [INFO] running `Command { std: "docker" "start" "-a" "d987e3231e81b5ac3c0948eddd03a6b70866deb05ed6c7130a59408454fa3f0c", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking bpaf v0.7.10 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking tutel v0.2.10 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `pretty_assertions` [INFO] [stdout] --> src/project.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | use pretty_assertions::assert_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pretty_assertions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pretty_assertions` [INFO] [stdout] --> src/lib.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | use pretty_assertions::assert_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pretty_assertions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `load_project_rec` [INFO] [stdout] --> src/lib.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | use crate::{load_project_rec, Project, PROJECT_FILE_NAME}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/project.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | for mut t in &mut self.data.tasks { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/project.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | for mut t in &mut self.data.tasks { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tutel` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(project_file) = tutel::has_project(path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------ this expression has type `bool` [INFO] [stdout] | | [INFO] [stdout] | expected `bool`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | tutel::new_project(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------ argument #2 of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new_project(name: String, is_child: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 154 | tutel::new_project(name, /* bool */)?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `steps` of struct `Project` is private [INFO] [stdout] --> src/main.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 172 | let steps = if project.steps == 0 { [INFO] [stdout] | ^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `steps` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 172 | let steps = if project.steps() == 0 { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `steps` of struct `Project` is private [INFO] [stdout] --> src/main.rs:175:35 [INFO] [stdout] | [INFO] [stdout] 175 | format!(" [-{}]", project.steps).blue().bold().to_string() [INFO] [stdout] | ^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `steps` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 175 | format!(" [-{}]", project.steps()).blue().bold().to_string() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(project_file) = tutel::has_project(path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------ this expression has type `bool` [INFO] [stdout] | | [INFO] [stdout] | expected `bool`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | tutel::new_project(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------ argument #2 of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new_project(name: String, is_child: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 154 | tutel::new_project(name, /* bool */)?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `steps` of struct `Project` is private [INFO] [stdout] --> src/main.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 172 | let steps = if project.steps == 0 { [INFO] [stdout] | ^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `steps` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 172 | let steps = if project.steps() == 0 { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `steps` of struct `Project` is private [INFO] [stdout] --> src/main.rs:175:35 [INFO] [stdout] | [INFO] [stdout] 175 | format!(" [-{}]", project.steps).blue().bold().to_string() [INFO] [stdout] | ^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `steps` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 175 | format!(" [-{}]", project.steps()).blue().bold().to_string() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0616. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tutel` (bin "tutel") due to 5 previous errors [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0616. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tutel` (bin "tutel" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "d987e3231e81b5ac3c0948eddd03a6b70866deb05ed6c7130a59408454fa3f0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d987e3231e81b5ac3c0948eddd03a6b70866deb05ed6c7130a59408454fa3f0c", kill_on_drop: false }` [INFO] [stdout] d987e3231e81b5ac3c0948eddd03a6b70866deb05ed6c7130a59408454fa3f0c