[INFO] cloning repository https://github.com/SaajanM/gaia [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SaajanM/gaia" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaajanM%2Fgaia", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaajanM%2Fgaia'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 33986011b7b4d03f03c266129e0d792a0174ca62 [INFO] testing SaajanM/gaia against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaajanM%2Fgaia" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SaajanM/gaia on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SaajanM/gaia [INFO] finished tweaking git repo https://github.com/SaajanM/gaia [INFO] tweaked toml for git repo https://github.com/SaajanM/gaia written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SaajanM/gaia 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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.64 [INFO] [stderr] Downloaded clap v3.2.20 [INFO] [stderr] Downloaded tokio v1.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c39fd804273f97f3dd8d7ccf153f365576a0cb82750013bd524fefeb86a830e2 [INFO] running `Command { std: "docker" "start" "-a" "c39fd804273f97f3dd8d7ccf153f365576a0cb82750013bd524fefeb86a830e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c39fd804273f97f3dd8d7ccf153f365576a0cb82750013bd524fefeb86a830e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c39fd804273f97f3dd8d7ccf153f365576a0cb82750013bd524fefeb86a830e2", kill_on_drop: false }` [INFO] [stdout] c39fd804273f97f3dd8d7ccf153f365576a0cb82750013bd524fefeb86a830e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48ebb56e9844a60eb9159c89e030592149808773a61c55a4bd18aafd7b909210 [INFO] running `Command { std: "docker" "start" "-a" "48ebb56e9844a60eb9159c89e030592149808773a61c55a4bd18aafd7b909210", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling tokio v1.21.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling os_str_bytes v6.3.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling anyhow v1.0.64 [INFO] [stderr] Compiling bytemuck v1.12.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling futures-sink v0.3.24 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling memmap2 v0.5.7 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling tokio-serde v0.8.0 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling clap v3.2.20 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling noise v0.7.0 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling tokio-scoped v0.2.0 [INFO] [stderr] Compiling gaia v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `new_rotation` in this scope [INFO] [stdout] --> src/prestart.rs:39:46 [INFO] [stdout] | [INFO] [stdout] 39 | let child_offset = Self::hash_helper(new_rotation, new_orientation, hash_vec); [INFO] [stdout] | ^^^^^^^^^^^^ help: a local variable with a similar name exists: `rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `new_orientation` in this scope [INFO] [stdout] --> src/prestart.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 39 | let child_offset = Self::hash_helper(new_rotation, new_orientation, hash_vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `orientation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `memmap2::MmapOptions` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use memmap2::MmapOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::OpenOptions` [INFO] [stdout] --> src/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::{fs::OpenOptions, runtime::Builder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/prestart.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | res += (hash >> offset & 1) << 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add-assign `u32` to `u8` [INFO] [stdout] --> src/prestart.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | res += (hash >> offset & 1) << 0; [INFO] [stdout] | ^^ no implementation for `u8 += u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `AddAssign` is not implemented for `u8` [INFO] [stdout] = help: the following other types implement trait `AddAssign`: [INFO] [stdout] `u8` implements `AddAssign<&u8>` [INFO] [stdout] `u8` implements `AddAssign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/prestart.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | res += (hash >> (offset + 1) & 1) << 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add-assign `u32` to `u8` [INFO] [stdout] --> src/prestart.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | res += (hash >> (offset + 1) & 1) << 1; [INFO] [stdout] | ^^ no implementation for `u8 += u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `AddAssign` is not implemented for `u8` [INFO] [stdout] = help: the following other types implement trait `AddAssign`: [INFO] [stdout] `u8` implements `AddAssign<&u8>` [INFO] [stdout] `u8` implements `AddAssign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/prestart.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | res += (hash >> (offset + 2) & 1) << 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add-assign `u32` to `u8` [INFO] [stdout] --> src/prestart.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | res += (hash >> (offset + 2) & 1) << 2; [INFO] [stdout] | ^^ no implementation for `u8 += u32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `AddAssign` is not implemented for `u8` [INFO] [stdout] = help: the following other types implement trait `AddAssign`: [INFO] [stdout] `u8` implements `AddAssign<&u8>` [INFO] [stdout] `u8` implements `AddAssign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/prestart.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | Self::hash_helper(0, HexOrientation::Forward, hash_vector) [INFO] [stdout] | ----------------- ^ expected `f64`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/prestart.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn hash_helper(rotation: f64, orientation: HexOrientation, hash_vec: Vec) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^ ------------- [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 30 | Self::hash_helper(0.0, HexOrientation::Forward, hash_vector) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/prestart.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | return (0, 0); [INFO] [stdout] | ^ expected `f64`, found integer [INFO] [stdout] | [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 34 | return (0.0, 0); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/prestart.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | return (0, 0); [INFO] [stdout] | ^ expected `f64`, found integer [INFO] [stdout] | [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 34 | return (0, 0.0); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/prestart.rs:37:77 [INFO] [stdout] | [INFO] [stdout] 37 | let curr_offset = Self::calculate_hex_offset(rotation, orientation, num); [INFO] [stdout] | -------------------------- ^^^ expected `u8`, found `Option` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `u8` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/prestart.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn calculate_hex_offset(rotation: f64, orientation: HexOrientation, num: u8) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ------- [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 37 | let curr_offset = Self::calculate_hex_offset(rotation, orientation, num.expect("REASON")); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/prestart.rs:32:86 [INFO] [stdout] | [INFO] [stdout] 32 | fn hash_helper(rotation: f64, orientation: HexOrientation, hash_vec: Vec) -> (f64, f64) { [INFO] [stdout] | ----------- ^^^^^^^^^^ expected `(f64, f64)`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(f64, f64)` [INFO] [stdout] found unit type `()` [INFO] [stdout] note: consider returning one of these bindings [INFO] [stdout] --> src/prestart.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let curr_offset = Self::calculate_hex_offset(rotation, orientation, num); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 38 | //Calculate new position and orientation later [INFO] [stdout] 39 | let child_offset = Self::hash_helper(new_rotation, new_orientation, hash_vec); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/prestart.rs:41:85 [INFO] [stdout] | [INFO] [stdout] 41 | fn calculate_hex_offset(rotation: f64, orientation: HexOrientation, num: u8) -> (f64, f64) { [INFO] [stdout] | -------------------- ^^^^^^^^^^ expected `(f64, f64)`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(f64, f64)` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pre_start` in this scope [INFO] [stdout] --> src/main.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | runtime.block_on(pre_start())?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/prestart.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn position_to_hash(x: f64, y: f64) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/prestart.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn position_to_hash(x: f64, y: f64) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gaia` (bin "gaia") due to 15 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "48ebb56e9844a60eb9159c89e030592149808773a61c55a4bd18aafd7b909210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48ebb56e9844a60eb9159c89e030592149808773a61c55a4bd18aafd7b909210", kill_on_drop: false }` [INFO] [stdout] 48ebb56e9844a60eb9159c89e030592149808773a61c55a4bd18aafd7b909210