[INFO] cloning repository https://github.com/sanjayyepuri/fluids2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sanjayyepuri/fluids2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanjayyepuri%2Ffluids2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanjayyepuri%2Ffluids2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d35cc845b15574ed7ad90856a7fcbccd80f660bd [INFO] checking sanjayyepuri/fluids2 against master#be181dd75c83d72fcc95538e235768bc367b76b9 for pr-140208 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanjayyepuri%2Ffluids2" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sanjayyepuri/fluids2 on toolchain be181dd75c83d72fcc95538e235768bc367b76b9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+be181dd75c83d72fcc95538e235768bc367b76b9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sanjayyepuri/fluids2 [INFO] finished tweaking git repo https://github.com/sanjayyepuri/fluids2 [INFO] tweaked toml for git repo https://github.com/sanjayyepuri/fluids2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sanjayyepuri/fluids2 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" "+be181dd75c83d72fcc95538e235768bc367b76b9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.33 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+be181dd75c83d72fcc95538e235768bc367b76b9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33fa16129a27effe9f2153362f9d653365ecf2cf63ccf892e9b039b2d731b325 [INFO] running `Command { std: "docker" "start" "-a" "33fa16129a27effe9f2153362f9d653365ecf2cf63ccf892e9b039b2d731b325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33fa16129a27effe9f2153362f9d653365ecf2cf63ccf892e9b039b2d731b325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33fa16129a27effe9f2153362f9d653365ecf2cf63ccf892e9b039b2d731b325", kill_on_drop: false }` [INFO] [stdout] 33fa16129a27effe9f2153362f9d653365ecf2cf63ccf892e9b039b2d731b325 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+be181dd75c83d72fcc95538e235768bc367b76b9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffc7d9d5ff0295b5b7916561c90136f72f098f288f388c2d9084c1e3ea5572e8 [INFO] running `Command { std: "docker" "start" "-a" "ffc7d9d5ff0295b5b7916561c90136f72f098f288f388c2d9084c1e3ea5572e8", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling bumpalo v3.11.1 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.33 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking js-sys v0.3.60 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking web-sys v0.3.60 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.33 [INFO] [stderr] Checking wasm-bindgen-test v0.3.33 [INFO] [stderr] Checking fluids2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/barnes_hut.rs:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | for i in 0..num_particles { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `height` is never used [INFO] [stdout] --> src/barnes_hut.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl BoundingBox { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | fn height(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_position`, `set_position`, and `size` are never used [INFO] [stdout] --> src/barnes_hut.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 87 | impl ParticleBuffer { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | fn get_position(&self, index: usize) -> PointView { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn set_position(&mut self, index: usize, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/barnes_hut.rs:737:30 [INFO] [stdout] | [INFO] [stdout] 737 | let mut barnes_hut = BarnesHut::new(buffer, 1.0, 1, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^------------------- [INFO] [stdout] | || [INFO] [stdout] | |expected `usize`, found `ParticleBuffer` [INFO] [stdout] | argument #5 of type `f32` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/barnes_hut.rs:355:12 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 356 | num_particles: usize, [INFO] [stdout] | -------------------- [INFO] [stdout] ... [INFO] [stdout] 360 | gravitational_constant: f32, [INFO] [stdout] | --------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 737 - let mut barnes_hut = BarnesHut::new(buffer, 1.0, 1, 1); [INFO] [stdout] 737 + let mut barnes_hut = BarnesHut::new(/* usize */, 1.0, 1, 1, /* f32 */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/barnes_hut.rs:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | for i in 0..num_particles { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/barnes_hut.rs:737:30 [INFO] [stdout] | [INFO] [stdout] 737 | let mut barnes_hut = BarnesHut::new(buffer, 1.0, 1, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^------------------- [INFO] [stdout] | || [INFO] [stdout] | |expected `usize`, found `ParticleBuffer` [INFO] [stdout] | argument #5 of type `f32` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/barnes_hut.rs:355:12 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 356 | num_particles: usize, [INFO] [stdout] | -------------------- [INFO] [stdout] ... [INFO] [stdout] 360 | gravitational_constant: f32, [INFO] [stdout] | --------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 737 - let mut barnes_hut = BarnesHut::new(buffer, 1.0, 1, 1); [INFO] [stdout] 737 + let mut barnes_hut = BarnesHut::new(/* usize */, 1.0, 1, 1, /* f32 */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/fluid_simulation.rs:271:53 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn compute_particle_interactions(&mut self, t: f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/fluid_simulation.rs:271:53 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn compute_particle_interactions(&mut self, t: f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/barnes_hut.rs:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | for i in 0..num_particles { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fluids2` (bin "fluids2" test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `mass_` is never read [INFO] [stdout] --> src/fluid_simulation.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ParticleProperties { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub mass_: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/barnes_hut.rs:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | for i in 0..num_particles { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply_centroid_gravity` is never used [INFO] [stdout] --> src/fluid_simulation.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl ParticleBuffer { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn apply_centroid_gravity(&mut self, gravity: f32, t: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `height` is never used [INFO] [stdout] --> src/barnes_hut.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl BoundingBox { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | fn height(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_position`, `set_position`, and `size` are never used [INFO] [stdout] --> src/barnes_hut.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 87 | impl ParticleBuffer { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | fn get_position(&self, index: usize) -> PointView { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn set_position(&mut self, index: usize, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_panic_hook` is never used [INFO] [stdout] --> src/utils.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn set_panic_hook() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fluids2` (lib test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ffc7d9d5ff0295b5b7916561c90136f72f098f288f388c2d9084c1e3ea5572e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffc7d9d5ff0295b5b7916561c90136f72f098f288f388c2d9084c1e3ea5572e8", kill_on_drop: false }` [INFO] [stdout] ffc7d9d5ff0295b5b7916561c90136f72f098f288f388c2d9084c1e3ea5572e8