[INFO] cloning repository https://github.com/nifey/urp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nifey/urp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnifey%2Furp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnifey%2Furp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7cb9787317e253e1fcc7da1ef6ab29a2cccd127e [INFO] checking nifey/urp against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnifey%2Furp" "/workspace/builds/worker-61/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-61/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nifey/urp on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nifey/urp [INFO] finished tweaking git repo https://github.com/nifey/urp [INFO] tweaked toml for git repo https://github.com/nifey/urp written to /workspace/builds/worker-61/source/Cargo.toml [INFO] crate git repo https://github.com/nifey/urp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd536c5bf20918c61f21478de97a860921cca70dd468c1d5b7498470a264dbe1 [INFO] running `Command { std: "docker" "start" "-a" "fd536c5bf20918c61f21478de97a860921cca70dd468c1d5b7498470a264dbe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd536c5bf20918c61f21478de97a860921cca70dd468c1d5b7498470a264dbe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd536c5bf20918c61f21478de97a860921cca70dd468c1d5b7498470a264dbe1", kill_on_drop: false }` [INFO] [stdout] fd536c5bf20918c61f21478de97a860921cca70dd468c1d5b7498470a264dbe1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 571b760effe39422d64ed4d8b1baa5cd8da2b20951ec03fe1c36c4310a476401 [INFO] running `Command { std: "docker" "start" "-a" "571b760effe39422d64ed4d8b1baa5cd8da2b20951ec03fe1c36c4310a476401", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking urp v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/cube.rs (3 fixes) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CubeList` [INFO] [stdout] --> src/cubelist.rs:297:24 [INFO] [stdout] | [INFO] [stdout] 297 | let cubelist = CubeList::from(vec![vec![1, 0, -1], vec![1, 1, 0], vec![0, 0, 1]]); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 296 | use crate::CubeList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cube` [INFO] [stdout] --> src/cubelist.rs:299:44 [INFO] [stdout] | [INFO] [stdout] 299 | assert_eq!(cubelist.contains_cube(&Cube::from(vec![1, 0, -1])), true); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 296 | use crate::cubelist::Cube; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cube` [INFO] [stdout] --> src/cubelist.rs:300:44 [INFO] [stdout] | [INFO] [stdout] 300 | assert_eq!(cubelist.contains_cube(&Cube::from(vec![1, 1, 0])), true); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 296 | use crate::cubelist::Cube; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cube` [INFO] [stdout] --> src/cubelist.rs:301:44 [INFO] [stdout] | [INFO] [stdout] 301 | assert_eq!(cubelist.contains_cube(&Cube::from(vec![0, 0, 1])), true); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 296 | use crate::cubelist::Cube; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CubeList` [INFO] [stdout] --> src/cubelist.rs:306:24 [INFO] [stdout] | [INFO] [stdout] 306 | let cubelist = CubeList::from(vec![vec![1, -1, -1], vec![-1, 1, -1], vec![0, 1, 1]]); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 296 | use crate::CubeList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cube` [INFO] [stdout] --> src/cubelist.rs:310:41 [INFO] [stdout] | [INFO] [stdout] 310 | pos_cubelist.contains_cube(&Cube::from(vec![0, -1, -1])), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 296 | use crate::cubelist::Cube; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cube` [INFO] [stdout] --> src/cubelist.rs:313:48 [INFO] [stdout] | [INFO] [stdout] 313 | assert_eq!(pos_cubelist.contains_cube(&Cube::from(vec![0, 1, 1])), true); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 296 | use crate::cubelist::Cube; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cube` [INFO] [stdout] --> src/cubelist.rs:316:41 [INFO] [stdout] | [INFO] [stdout] 316 | neg_cubelist.contains_cube(&Cube::from(vec![0, 1, -1])), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 296 | use crate::cubelist::Cube; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cube` [INFO] [stdout] --> src/cubelist.rs:319:48 [INFO] [stdout] | [INFO] [stdout] 319 | assert_eq!(neg_cubelist.contains_cube(&Cube::from(vec![0, 1, 1])), true); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 296 | use crate::cubelist::Cube; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CubeList` [INFO] [stdout] --> src/cubelist.rs:324:29 [INFO] [stdout] | [INFO] [stdout] 324 | let mut cubelist1 = CubeList::from(vec![vec![0, 1, 1], vec![1, 0, 0]]); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 296 | use crate::CubeList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cube` [INFO] [stdout] --> src/cubelist.rs:326:28 [INFO] [stdout] | [INFO] [stdout] 326 | cubelist1.add_cube(Cube::from(vec![0, 0, 0])); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 296 | use crate::cubelist::Cube; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CubeList` [INFO] [stdout] --> src/cubelist.rs:329:29 [INFO] [stdout] | [INFO] [stdout] 329 | let mut cubelist2 = CubeList::from(vec![vec![1, 0, 0]]); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 296 | use crate::CubeList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cube` [INFO] [stdout] --> src/cubelist.rs:331:28 [INFO] [stdout] | [INFO] [stdout] 331 | cubelist2.add_cube(Cube::from(vec![-1, 0, 0])); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 296 | use crate::cubelist::Cube; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/cubelist.rs (1 fix) [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `urp` due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: cannot borrow `*index` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 102 | if let Some(cubelist_2) = index.get(&input2) { [INFO] [stdout] | ----- immutable borrow occurs here [INFO] [stdout] 103 | index.insert(output, cubelist_1.and(cubelist_2)); [INFO] [stdout] | ^^^^^ mutable borrow occurs here ---------- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*index` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(cubelist_1) = index.get(&input) { [INFO] [stdout] | ----- immutable borrow occurs here [INFO] [stdout] 87 | index.insert(output, cubelist_1.complement()); [INFO] [stdout] | ^^^^^ ---------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*index` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 121 | if let Some(cubelist_2) = index.get(&input2) { [INFO] [stdout] | ----- immutable borrow occurs here [INFO] [stdout] 122 | index.insert(output, cubelist_1.or(cubelist_2)); [INFO] [stdout] | ^^^^^ mutable borrow occurs here ---------- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | file.read_to_string(&mut contents); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cube.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | write!(f, "{} ", non_dont_care_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cube.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | write!(f, "{} ", (i + 1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cube.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | write!(f, "{} ", -((i + 1) as i32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cubelist.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | reader.read_line(&mut buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cubelist.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | reader.read_line(&mut buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cubelist.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | reader.read_line(&mut buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cubelist.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | write!(output_file, "{}", self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cubelist.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | writeln!(f, "{}", self.0[0].len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cubelist.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | writeln!(f, "{}", self.0.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cubelist.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | writeln!(f, "{}", cube); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "571b760effe39422d64ed4d8b1baa5cd8da2b20951ec03fe1c36c4310a476401", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "571b760effe39422d64ed4d8b1baa5cd8da2b20951ec03fe1c36c4310a476401", kill_on_drop: false }` [INFO] [stdout] 571b760effe39422d64ed4d8b1baa5cd8da2b20951ec03fe1c36c4310a476401