[INFO] cloning repository https://github.com/EiseZ/pws-cdf
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EiseZ/pws-cdf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEiseZ%2Fpws-cdf", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEiseZ%2Fpws-cdf'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7d125fdc4e8c86f9e7a4f9cb5945d2febacd0572
[INFO] checking EiseZ/pws-cdf against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEiseZ%2Fpws-cdf" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/EiseZ/pws-cdf
[INFO] finished tweaking git repo https://github.com/EiseZ/pws-cdf
[INFO] tweaked toml for git repo https://github.com/EiseZ/pws-cdf written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/EiseZ/pws-cdf on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/EiseZ/pws-cdf 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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 23dbe45e44a45283ff645fa13eba1e104e2db573b30373a13a0fc92bbad5a1af
[INFO] running `Command { std: "docker" "start" "-a" "23dbe45e44a45283ff645fa13eba1e104e2db573b30373a13a0fc92bbad5a1af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "23dbe45e44a45283ff645fa13eba1e104e2db573b30373a13a0fc92bbad5a1af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "23dbe45e44a45283ff645fa13eba1e104e2db573b30373a13a0fc92bbad5a1af", kill_on_drop: false }`
[INFO] [stdout] 23dbe45e44a45283ff645fa13eba1e104e2db573b30373a13a0fc92bbad5a1af
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e3cdb736e4879cf0db33a0a6f00e55a41a97c1458a52e69c76b647529795cb01
[INFO] running `Command { std: "docker" "start" "-a" "e3cdb736e4879cf0db33a0a6f00e55a41a97c1458a52e69c76b647529795cb01", kill_on_drop: false }`
[INFO] [stderr]     Checking pws-cfd v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the usage of Script Group `Greek` in this crate consists solely of mixed script confusables
[INFO] [stdout]   --> src/main.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const PRESSURE_CONSTANT_γ: u8 = 1; // TODO: Find right value for this
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the usage includes 'γ' (U+03B3)
[INFO] [stdout]    = note: please recheck to make sure their usages are indeed what you want
[INFO] [stdout]    = note: `#[warn(mixed_script_confusables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the usage of Script Group `Greek` in this crate consists solely of mixed script confusables
[INFO] [stdout]   --> src/main.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const PRESSURE_CONSTANT_γ: u8 = 1; // TODO: Find right value for this
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the usage includes 'γ' (U+03B3)
[INFO] [stdout]    = note: please recheck to make sure their usages are indeed what you want
[INFO] [stdout]    = note: `#[warn(mixed_script_confusables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot divide `f32` by `u8`
[INFO] [stdout]   --> src/main.rs:65:76
[INFO] [stdout]    |
[INFO] [stdout] 65 | ...   let mut pressure: f32 = ((pressure_constant_k * reference_density) / pressure_constant_γ) * ((density / reference_density).powi(pre...
[INFO] [stdout]    |                                                                          ^ no implementation for `f32 / u8`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Div<u8>` is not implemented for `f32`
[INFO] [stdout]    = help: the following other types implement trait `Div<Rhs>`:
[INFO] [stdout]              `&f32` implements `Div<f32>`
[INFO] [stdout]              `&f32` implements `Div`
[INFO] [stdout]              `f32` implements `Div<&f32>`
[INFO] [stdout]              `f32` implements `Div`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot divide `f32` by `u8`
[INFO] [stdout]   --> src/main.rs:65:76
[INFO] [stdout]    |
[INFO] [stdout] 65 | ...   let mut pressure: f32 = ((pressure_constant_k * reference_density) / pressure_constant_γ) * ((density / reference_density).powi(pre...
[INFO] [stdout]    |                                                                          ^ no implementation for `f32 / u8`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Div<u8>` is not implemented for `f32`
[INFO] [stdout]    = help: the following other types implement trait `Div<Rhs>`:
[INFO] [stdout]              `&f32` implements `Div<f32>`
[INFO] [stdout]              `&f32` implements `Div`
[INFO] [stdout]              `f32` implements `Div<&f32>`
[INFO] [stdout]              `f32` implements `Div`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:65:137
[INFO] [stdout]    |
[INFO] [stdout] 65 | ...tant_γ) * ((density / reference_density).powi(pressure_constant_γ) - 1);
[INFO] [stdout]    |                                             ---- ^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u8`
[INFO] [stdout]    |                                             |
[INFO] [stdout]    |                                             arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/num/f32.rs:315:12
[INFO] [stdout] help: you can convert a `u8` to an `i32`
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let mut pressure: f32 = ((pressure_constant_k * reference_density) / pressure_constant_γ) * ((density / reference_density).powi(pressure_constant_γ.into()) - 1);
[INFO] [stdout]    |                                                                                                                                                            +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot subtract `{integer}` from `f32`
[INFO] [stdout]   --> src/main.rs:65:158
[INFO] [stdout]    |
[INFO] [stdout] 65 | ... reference_density).powi(pressure_constant_γ) - 1);
[INFO] [stdout]    |                                                  ^ no implementation for `f32 - {integer}`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sub<{integer}>` is not implemented for `f32`
[INFO] [stdout]    = help: the following other types implement trait `Sub<Rhs>`:
[INFO] [stdout]              `&f32` implements `Sub<f32>`
[INFO] [stdout]              `&f32` implements `Sub`
[INFO] [stdout]              `f32` implements `Sub<&f32>`
[INFO] [stdout]              `f32` implements `Sub`
[INFO] [stdout] help: consider using a floating-point literal by writing it with `.0`
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let mut pressure: f32 = ((pressure_constant_k * reference_density) / pressure_constant_γ) * ((density / reference_density).powi(pressure_constant_γ) - 1.0);
[INFO] [stdout]    |                                                                                                                                                                 ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:65:137
[INFO] [stdout]    |
[INFO] [stdout] 65 | ...tant_γ) * ((density / reference_density).powi(pressure_constant_γ) - 1);
[INFO] [stdout]    |                                             ---- ^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u8`
[INFO] [stdout]    |                                             |
[INFO] [stdout]    |                                             arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/std/src/num/f32.rs:315:12
[INFO] [stdout] help: you can convert a `u8` to an `i32`
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let mut pressure: f32 = ((pressure_constant_k * reference_density) / pressure_constant_γ) * ((density / reference_density).powi(pressure_constant_γ.into()) - 1);
[INFO] [stdout]    |                                                                                                                                                            +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot subtract `{integer}` from `f32`
[INFO] [stdout]   --> src/main.rs:65:158
[INFO] [stdout]    |
[INFO] [stdout] 65 | ... reference_density).powi(pressure_constant_γ) - 1);
[INFO] [stdout]    |                                                  ^ no implementation for `f32 - {integer}`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sub<{integer}>` is not implemented for `f32`
[INFO] [stdout]    = help: the following other types implement trait `Sub<Rhs>`:
[INFO] [stdout]              `&f32` implements `Sub<f32>`
[INFO] [stdout]              `&f32` implements `Sub`
[INFO] [stdout]              `f32` implements `Sub<&f32>`
[INFO] [stdout]              `f32` implements `Sub`
[INFO] [stdout] help: consider using a floating-point literal by writing it with `.0`
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let mut pressure: f32 = ((pressure_constant_k * reference_density) / pressure_constant_γ) * ((density / reference_density).powi(pressure_constant_γ) - 1.0);
[INFO] [stdout]    |                                                                                                                                                                 ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pressures`
[INFO] [stdout]   --> src/main.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let pressures = calculate_pressures(&densities, &particles, PRESSURE_CONSTANT_K, PRESSURE_CONSTANT_γ, REFERENCE_DENSITY);
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pressures`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pressures`
[INFO] [stdout]   --> src/main.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let pressures = calculate_pressures(&densities, &particles, PRESSURE_CONSTANT_K, PRESSURE_CONSTANT_γ, REFERENCE_DENSITY);
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pressures`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut particles = vec![Particle { position: Vector { x: 1., y: 0., z: 0. }, velocity: 1., density: 1. }];
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut particles = vec![Particle { position: Vector { x: 1., y: 0., z: 0. }, velocity: 1., density: 1. }];
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `res` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> src/main.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         res.push(density);
[INFO] [stdout]    |         ^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let mut res: Vec<f32> = Vec::new();
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `res` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> src/main.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         res.push(density);
[INFO] [stdout]    |         ^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let mut res: Vec<f32> = Vec::new();
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0596.
[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, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pws-cfd` (bin "pws-cfd" test) due to 4 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `pws-cfd` (bin "pws-cfd") due to 4 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e3cdb736e4879cf0db33a0a6f00e55a41a97c1458a52e69c76b647529795cb01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e3cdb736e4879cf0db33a0a6f00e55a41a97c1458a52e69c76b647529795cb01", kill_on_drop: false }`
[INFO] [stdout] e3cdb736e4879cf0db33a0a6f00e55a41a97c1458a52e69c76b647529795cb01
