[INFO] updating cached repository https://github.com/Reignbeaux/tower-of-hanoi [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ece4193ed3347c7a1e224c89267694a4d8394125 [INFO] checking Reignbeaux/tower-of-hanoi against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FReignbeaux%2Ftower-of-hanoi" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Reignbeaux/tower-of-hanoi on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [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-7/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 `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-7/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 `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0ae8a75c851d0fc94360d4cece7903d87b13e9b686f7addfb3c96902342762f6 [INFO] running `"docker" "start" "-a" "0ae8a75c851d0fc94360d4cece7903d87b13e9b686f7addfb3c96902342762f6"` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking tower_of_hanoi v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unknown lint: `unstable` [INFO] [stderr] --> src/main.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | #[allow(unstable)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unknown_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unknown lint: `unstable` [INFO] [stderr] --> src/main.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | #[allow(unstable)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unknown_lints)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::old_io` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::old_io; [INFO] [stderr] | ^^^^^^^^^^^ no `old_io` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::old_io` [INFO] [stderr] --> src/main.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | use std::old_io::File; [INFO] [stderr] | ^^^^^^ could not find `old_io` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::time::duration` [INFO] [stderr] --> src/main.rs:8:16 [INFO] [stderr] | [INFO] [stderr] 8 | use std::time::duration::Duration; [INFO] [stderr] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::num::Float` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::num::Float; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:74:31 [INFO] [stderr] | [INFO] [stderr] 74 | let mut f = File::create(&Path::new("moves")); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `args` in module `os` [INFO] [stderr] --> src/main.rs:33:20 [INFO] [stderr] | [INFO] [stderr] 33 | let args = os::args(); [INFO] [stderr] | ^^^^ not found in `os` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 4 | use std::env::args; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JoinGuard` in module `std::thread` [INFO] [stderr] --> src/main.rs:112:38 [INFO] [stderr] | [INFO] [stderr] 112 | let mut guard1: std::thread::JoinGuard>; [INFO] [stderr] | ^^^^^^^^^ not found in `std::thread` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JoinGuard` in module `std::thread` [INFO] [stderr] --> src/main.rs:113:38 [INFO] [stderr] | [INFO] [stderr] 113 | let mut guard2: std::thread::JoinGuard>; [INFO] [stderr] | ^^^^^^^^^ not found in `std::thread` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JoinGuard` in module `std::thread` [INFO] [stderr] --> src/main.rs:147:100 [INFO] [stderr] | [INFO] [stderr] 147 | fn start_thread<'a>(height: i32, sequence: (i32, i32, i32), threads_to_start: i32) -> std::thread::JoinGuard<'a, Vec<(i32, i32)>> { [INFO] [stderr] | ^^^^^^^^^ not found in `std::thread` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::old_io` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::old_io; [INFO] [stderr] | ^^^^^^^^^^^ no `old_io` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::old_io` [INFO] [stderr] --> src/main.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | use std::old_io::File; [INFO] [stderr] | ^^^^^^ could not find `old_io` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::time::duration` [INFO] [stderr] --> src/main.rs:8:16 [INFO] [stderr] | [INFO] [stderr] 8 | use std::time::duration::Duration; [INFO] [stderr] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::num::Float` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::num::Float; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:74:31 [INFO] [stderr] | [INFO] [stderr] 74 | let mut f = File::create(&Path::new("moves")); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `args` in module `os` [INFO] [stderr] --> src/main.rs:33:20 [INFO] [stderr] | [INFO] [stderr] 33 | let args = os::args(); [INFO] [stderr] | ^^^^ not found in `os` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 4 | use std::env::args; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JoinGuard` in module `std::thread` [INFO] [stderr] --> src/main.rs:112:38 [INFO] [stderr] | [INFO] [stderr] 112 | let mut guard1: std::thread::JoinGuard>; [INFO] [stderr] | ^^^^^^^^^ not found in `std::thread` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JoinGuard` in module `std::thread` [INFO] [stderr] --> src/main.rs:113:38 [INFO] [stderr] | [INFO] [stderr] 113 | let mut guard2: std::thread::JoinGuard>; [INFO] [stderr] | ^^^^^^^^^ not found in `std::thread` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JoinGuard` in module `std::thread` [INFO] [stderr] --> src/main.rs:147:100 [INFO] [stderr] | [INFO] [stderr] 147 | fn start_thread<'a>(height: i32, sequence: (i32, i32, i32), threads_to_start: i32) -> std::thread::JoinGuard<'a, Vec<(i32, i32)>> { [INFO] [stderr] | ^^^^^^^^^ not found in `std::thread` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:80:38 [INFO] [stderr] | [INFO] [stderr] 80 | f.write_str(from.to_string().as_slice()); [INFO] [stderr] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:82:36 [INFO] [stderr] | [INFO] [stderr] 82 | f.write_str(to.to_string().as_slice()); [INFO] [stderr] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `push_all` found for struct `std::vec::Vec<(i32, i32)>` in the current scope [INFO] [stderr] --> src/main.rs:139:15 [INFO] [stderr] | [INFO] [stderr] 139 | moves.push_all(moves1.as_slice()); [INFO] [stderr] | ^^^^^^^^ method not found in `std::vec::Vec<(i32, i32)>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `push_all` found for struct `std::vec::Vec<(i32, i32)>` in the current scope [INFO] [stderr] --> src/main.rs:141:15 [INFO] [stderr] | [INFO] [stderr] 141 | moves.push_all(moves2.as_slice()); [INFO] [stderr] | ^^^^^^^^ method not found in `std::vec::Vec<(i32, i32)>` [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> src/main.rs:128:58 [INFO] [stderr] | [INFO] [stderr] 128 | guard1 = start_thread(height - 1, (a, c, b), (((threads_to_start as f64) / 2.0).ceil() - 1.0) as i32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> src/main.rs:129:58 [INFO] [stderr] | [INFO] [stderr] 129 | guard2 = start_thread(height - 1, (b, a, c), (((threads_to_start as f64) / 2.0).floor() - 1.0) as i32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `scoped` found for struct `std::thread::Thread` in the current scope [INFO] [stderr] --> src/main.rs:148:13 [INFO] [stderr] | [INFO] [stderr] 148 | Thread::scoped(move || { [INFO] [stderr] | ^^^^^^ function or associated item not found in `std::thread::Thread` [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599, E0606. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `tower_of_hanoi`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:80:38 [INFO] [stderr] | [INFO] [stderr] 80 | f.write_str(from.to_string().as_slice()); [INFO] [stderr] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:82:36 [INFO] [stderr] | [INFO] [stderr] 82 | f.write_str(to.to_string().as_slice()); [INFO] [stderr] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `push_all` found for struct `std::vec::Vec<(i32, i32)>` in the current scope [INFO] [stderr] --> src/main.rs:139:15 [INFO] [stderr] | [INFO] [stderr] 139 | moves.push_all(moves1.as_slice()); [INFO] [stderr] | ^^^^^^^^ method not found in `std::vec::Vec<(i32, i32)>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `push_all` found for struct `std::vec::Vec<(i32, i32)>` in the current scope [INFO] [stderr] --> src/main.rs:141:15 [INFO] [stderr] | [INFO] [stderr] 141 | moves.push_all(moves2.as_slice()); [INFO] [stderr] | ^^^^^^^^ method not found in `std::vec::Vec<(i32, i32)>` [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> src/main.rs:128:58 [INFO] [stderr] | [INFO] [stderr] 128 | guard1 = start_thread(height - 1, (a, c, b), (((threads_to_start as f64) / 2.0).ceil() - 1.0) as i32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> src/main.rs:129:58 [INFO] [stderr] | [INFO] [stderr] 129 | guard2 = start_thread(height - 1, (b, a, c), (((threads_to_start as f64) / 2.0).floor() - 1.0) as i32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `scoped` found for struct `std::thread::Thread` in the current scope [INFO] [stderr] --> src/main.rs:148:13 [INFO] [stderr] | [INFO] [stderr] 148 | Thread::scoped(move || { [INFO] [stderr] | ^^^^^^ function or associated item not found in `std::thread::Thread` [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599, E0606. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `tower_of_hanoi`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "0ae8a75c851d0fc94360d4cece7903d87b13e9b686f7addfb3c96902342762f6"` [INFO] running `"docker" "rm" "-f" "0ae8a75c851d0fc94360d4cece7903d87b13e9b686f7addfb3c96902342762f6"` [INFO] [stdout] 0ae8a75c851d0fc94360d4cece7903d87b13e9b686f7addfb3c96902342762f6