[INFO] cloning repository https://github.com/mythosmystery/routegen-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mythosmystery/routegen-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmythosmystery%2Froutegen-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmythosmystery%2Froutegen-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 57ecb8f4b220acebb027a503ee4e0d6cfcdfe4a2 [INFO] checking mythosmystery/routegen-rust against master#8f08b3a32478b8d0507732800ecb548a76e0fd0c for pr-144157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmythosmystery%2Froutegen-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mythosmystery/routegen-rust [INFO] finished tweaking git repo https://github.com/mythosmystery/routegen-rust [INFO] tweaked toml for git repo https://github.com/mythosmystery/routegen-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mythosmystery/routegen-rust on toolchain 8f08b3a32478b8d0507732800ecb548a76e0fd0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f08b3a32478b8d0507732800ecb548a76e0fd0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mythosmystery/routegen-rust 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" "+8f08b3a32478b8d0507732800ecb548a76e0fd0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+8f08b3a32478b8d0507732800ecb548a76e0fd0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13e161c65cd18fde9052b1cd004b5d333e009f517592a65c8a2af2b19e53b0aa [INFO] running `Command { std: "docker" "start" "-a" "13e161c65cd18fde9052b1cd004b5d333e009f517592a65c8a2af2b19e53b0aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13e161c65cd18fde9052b1cd004b5d333e009f517592a65c8a2af2b19e53b0aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13e161c65cd18fde9052b1cd004b5d333e009f517592a65c8a2af2b19e53b0aa", kill_on_drop: false }` [INFO] [stdout] 13e161c65cd18fde9052b1cd004b5d333e009f517592a65c8a2af2b19e53b0aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+8f08b3a32478b8d0507732800ecb548a76e0fd0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcbd34333bcc088a552ab040165c97ee135b1eb46da45e1442e2127e5930eb14 [INFO] running `Command { std: "docker" "start" "-a" "dcbd34333bcc088a552ab040165c97ee135b1eb46da45e1442e2127e5930eb14", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking routegen-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/mutations.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | swap( [INFO] [stdout] | ---- arguments to this function are incorrect [INFO] [stdout] 36 | route, [INFO] [stdout] | ^^^^^ expected `&mut Vec`, found `&mut Vec<(f64, f64)>` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec` [INFO] [stdout] found mutable reference `&mut Vec<(f64, f64)>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/utils/array_manipulation.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn swap(vector: &mut Vec, i: usize, j: usize) { [INFO] [stdout] | ^^^^ --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/mutations.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | while mapping.contains_key(format!("{:?}", &insert)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `&_`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `String` [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: Borrow<(f64, f64)>` is not satisfied [INFO] [stdout] --> src/utils/mutations.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | insert = mapping[&insert]; [INFO] [stdout] | ^^^^^^^ the trait `Borrow<(f64, f64)>` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Borrow<(f64, f64)>` is not implemented for `String` [INFO] [stdout] but trait `Borrow` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `str`, found `(f64, f64)` [INFO] [stdout] = note: required for `HashMap` to implement `Index<&(f64, f64)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/mutations.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | swap( [INFO] [stdout] | ---- arguments to this function are incorrect [INFO] [stdout] 36 | route, [INFO] [stdout] | ^^^^^ expected `&mut Vec`, found `&mut Vec<(f64, f64)>` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec` [INFO] [stdout] found mutable reference `&mut Vec<(f64, f64)>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/utils/array_manipulation.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn swap(vector: &mut Vec, i: usize, j: usize) { [INFO] [stdout] | ^^^^ --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f64: Eq` is not satisfied [INFO] [stdout] --> src/utils/mutations.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | insert = mapping[&insert]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Eq` is not implemented for `f64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Eq`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] = note: required for `(f64, f64)` to implement `Eq` [INFO] [stdout] = note: required for `HashMap` to implement `Index<&(f64, f64)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f64: Hash` is not satisfied [INFO] [stdout] --> src/utils/mutations.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | insert = mapping[&insert]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `f64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Hash`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] = note: required for `(f64, f64)` to implement `Hash` [INFO] [stdout] = note: required for `HashMap` to implement `Index<&(f64, f64)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils/mutations.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | while mapping.contains_key(format!("{:?}", &insert)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `&_`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `String` [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: Borrow<(f64, f64)>` is not satisfied [INFO] [stdout] --> src/utils/mutations.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | insert = mapping[&insert]; [INFO] [stdout] | ^^^^^^^ the trait `Borrow<(f64, f64)>` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Borrow<(f64, f64)>` is not implemented for `String` [INFO] [stdout] but trait `Borrow` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `str`, found `(f64, f64)` [INFO] [stdout] = note: required for `HashMap` to implement `Index<&(f64, f64)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f64: Eq` is not satisfied [INFO] [stdout] --> src/utils/mutations.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | insert = mapping[&insert]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Eq` is not implemented for `f64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Eq`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] = note: required for `(f64, f64)` to implement `Eq` [INFO] [stdout] = note: required for `HashMap` to implement `Index<&(f64, f64)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f64: Hash` is not satisfied [INFO] [stdout] --> src/utils/mutations.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | insert = mapping[&insert]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `f64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Hash`: [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] isize [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] = note: required for `(f64, f64)` to implement `Hash` [INFO] [stdout] = note: required for `HashMap` to implement `Index<&(f64, f64)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `routegen-rust` (bin "routegen-rust") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `routegen-rust` (bin "routegen-rust" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "dcbd34333bcc088a552ab040165c97ee135b1eb46da45e1442e2127e5930eb14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcbd34333bcc088a552ab040165c97ee135b1eb46da45e1442e2127e5930eb14", kill_on_drop: false }` [INFO] [stdout] dcbd34333bcc088a552ab040165c97ee135b1eb46da45e1442e2127e5930eb14