[INFO] cloning repository https://github.com/Reignbeaux/tower-of-hanoi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Reignbeaux/tower-of-hanoi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FReignbeaux%2Ftower-of-hanoi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FReignbeaux%2Ftower-of-hanoi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ece4193ed3347c7a1e224c89267694a4d8394125 [INFO] checking Reignbeaux/tower-of-hanoi against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FReignbeaux%2Ftower-of-hanoi" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Reignbeaux/tower-of-hanoi on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Reignbeaux/tower-of-hanoi [INFO] finished tweaking git repo https://github.com/Reignbeaux/tower-of-hanoi [INFO] tweaked toml for git repo https://github.com/Reignbeaux/tower-of-hanoi written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Reignbeaux/tower-of-hanoi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c176b887ff9b2ce8a0ea85dd106c4520018c4c14b559750e3356db5c93a9e24f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c176b887ff9b2ce8a0ea85dd106c4520018c4c14b559750e3356db5c93a9e24f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c176b887ff9b2ce8a0ea85dd106c4520018c4c14b559750e3356db5c93a9e24f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c176b887ff9b2ce8a0ea85dd106c4520018c4c14b559750e3356db5c93a9e24f", kill_on_drop: false }` [INFO] [stdout] c176b887ff9b2ce8a0ea85dd106c4520018c4c14b559750e3356db5c93a9e24f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d8c9f4ff5ab7e965e208fb591e2671768e7912ee8532c79104f5e0932d3f3bc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6d8c9f4ff5ab7e965e208fb591e2671768e7912ee8532c79104f5e0932d3f3bc", kill_on_drop: false }` [INFO] [stderr] Checking tower_of_hanoi v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/main.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #[allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/main.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #[allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::old_io; [INFO] [stdout] | ^^^^^^^^^^^ no `old_io` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/main.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use std::old_io::File; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::time::duration` [INFO] [stdout] --> src/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::duration::Duration; [INFO] [stdout] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::old_io; [INFO] [stdout] | ^^^^^^^^^^^ no `old_io` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/main.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use std::old_io::File; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::time::duration` [INFO] [stdout] --> src/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::duration::Duration; [INFO] [stdout] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | let mut f = File::create(&Path::new("moves")); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JoinGuard` in module `std::thread` [INFO] [stdout] --> src/main.rs:112:38 [INFO] [stdout] | [INFO] [stdout] 112 | let mut guard1: std::thread::JoinGuard>; [INFO] [stdout] | ^^^^^^^^^ not found in `std::thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JoinGuard` in module `std::thread` [INFO] [stdout] --> src/main.rs:113:38 [INFO] [stdout] | [INFO] [stdout] 113 | let mut guard2: std::thread::JoinGuard>; [INFO] [stdout] | ^^^^^^^^^ not found in `std::thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JoinGuard` in module `std::thread` [INFO] [stdout] --> src/main.rs:147:100 [INFO] [stdout] | [INFO] [stdout] 147 | fn start_thread<'a>(height: i32, sequence: (i32, i32, i32), threads_to_start: i32) -> std::thread::JoinGuard<'a, Vec<(i32, i32)>> { [INFO] [stdout] | ^^^^^^^^^ not found in `std::thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | let mut f = File::create(&Path::new("moves")); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JoinGuard` in module `std::thread` [INFO] [stdout] --> src/main.rs:112:38 [INFO] [stdout] | [INFO] [stdout] 112 | let mut guard1: std::thread::JoinGuard>; [INFO] [stdout] | ^^^^^^^^^ not found in `std::thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JoinGuard` in module `std::thread` [INFO] [stdout] --> src/main.rs:113:38 [INFO] [stdout] | [INFO] [stdout] 113 | let mut guard2: std::thread::JoinGuard>; [INFO] [stdout] | ^^^^^^^^^ not found in `std::thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JoinGuard` in module `std::thread` [INFO] [stdout] --> src/main.rs:147:100 [INFO] [stdout] | [INFO] [stdout] 147 | fn start_thread<'a>(height: i32, sequence: (i32, i32, i32), threads_to_start: i32) -> std::thread::JoinGuard<'a, Vec<(i32, i32)>> { [INFO] [stdout] | ^^^^^^^^^ not found in `std::thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | f.write_str(from.to_string().as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:82:36 [INFO] [stdout] | [INFO] [stdout] 82 | f.write_str(to.to_string().as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | f.write_str(from.to_string().as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:82:36 [INFO] [stdout] | [INFO] [stdout] 82 | f.write_str(to.to_string().as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec<(i32, i32)>` in the current scope [INFO] [stdout] --> src/main.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | moves.push_all(moves1.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec<(i32, i32)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec<(i32, i32)>` in the current scope [INFO] [stdout] --> src/main.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | moves.push_all(moves1.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec<(i32, i32)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec<(i32, i32)>` in the current scope [INFO] [stdout] --> src/main.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | moves.push_all(moves2.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec<(i32, i32)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `scoped` found for struct `Thread` in the current scope [INFO] [stdout] --> src/main.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | Thread::scoped(move || { [INFO] [stdout] | ^^^^^^ function or associated item not found in `Thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tower_of_hanoi` [INFO] [stdout] error[E0599]: no method named `push_all` found for struct `Vec<(i32, i32)>` in the current scope [INFO] [stdout] --> src/main.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | moves.push_all(moves2.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec<(i32, i32)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0599]: no function or associated item named `scoped` found for struct `Thread` in the current scope [INFO] [stdout] --> src/main.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | Thread::scoped(move || { [INFO] [stdout] | ^^^^^^ function or associated item not found in `Thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6d8c9f4ff5ab7e965e208fb591e2671768e7912ee8532c79104f5e0932d3f3bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d8c9f4ff5ab7e965e208fb591e2671768e7912ee8532c79104f5e0932d3f3bc", kill_on_drop: false }` [INFO] [stdout] 6d8c9f4ff5ab7e965e208fb591e2671768e7912ee8532c79104f5e0932d3f3bc