[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] building EiseZ/pws-cdf against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[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] validating manifest of git repo https://github.com/EiseZ/pws-cdf on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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] 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" "+334963c956d25708feab489a3816ae63f639355d" "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] 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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 50a2d480397fc79b723dc45d9f4b04da658eea29b61e5e11406c8de8017e56ff
[INFO] running `Command { std: "docker" "start" "-a" "50a2d480397fc79b723dc45d9f4b04da658eea29b61e5e11406c8de8017e56ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "50a2d480397fc79b723dc45d9f4b04da658eea29b61e5e11406c8de8017e56ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50a2d480397fc79b723dc45d9f4b04da658eea29b61e5e11406c8de8017e56ff", kill_on_drop: false }`
[INFO] [stdout] 50a2d480397fc79b723dc45d9f4b04da658eea29b61e5e11406c8de8017e56ff
[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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 12b8eff3eb5cebf13d28d1053ba045b4cb1c38ee855048e94f0b67f399430d48
[INFO] running `Command { std: "docker" "start" "-a" "12b8eff3eb5cebf13d28d1053ba045b4cb1c38ee855048e94f0b67f399430d48", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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] 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/334963c956d25708feab489a3816ae63f639355d/library/std/src/f32.rs:316: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: 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] 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") due to 4 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "12b8eff3eb5cebf13d28d1053ba045b4cb1c38ee855048e94f0b67f399430d48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "12b8eff3eb5cebf13d28d1053ba045b4cb1c38ee855048e94f0b67f399430d48", kill_on_drop: false }`
[INFO] [stdout] 12b8eff3eb5cebf13d28d1053ba045b4cb1c38ee855048e94f0b67f399430d48
