[INFO] cloning repository https://github.com/malibu-cola/rjava_data_analysis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/malibu-cola/rjava_data_analysis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalibu-cola%2Frjava_data_analysis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalibu-cola%2Frjava_data_analysis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7462083dfc0241bebba1b229d978f6f487dd2e9c [INFO] testing malibu-cola/rjava_data_analysis against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmalibu-cola%2Frjava_data_analysis" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/malibu-cola/rjava_data_analysis on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/malibu-cola/rjava_data_analysis [INFO] finished tweaking git repo https://github.com/malibu-cola/rjava_data_analysis [INFO] tweaked toml for git repo https://github.com/malibu-cola/rjava_data_analysis written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/malibu-cola/rjava_data_analysis 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" "+552a959051cebf8f88a8f558399baf733bec9ce0" "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-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5db339d73cadb8511efcec3e1ff811250272c98723889c80b3d1925eda81fcc [INFO] running `Command { std: "docker" "start" "-a" "c5db339d73cadb8511efcec3e1ff811250272c98723889c80b3d1925eda81fcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5db339d73cadb8511efcec3e1ff811250272c98723889c80b3d1925eda81fcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5db339d73cadb8511efcec3e1ff811250272c98723889c80b3d1925eda81fcc", kill_on_drop: false }` [INFO] [stdout] c5db339d73cadb8511efcec3e1ff811250272c98723889c80b3d1925eda81fcc [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7edac6ed8c8e70775383b1eedb55dda8078c7682aaf7f04c3c8c0977643cba11 [INFO] running `Command { std: "docker" "start" "-a" "7edac6ed8c8e70775383b1eedb55dda8078c7682aaf7f04c3c8c0977643cba11", kill_on_drop: false }` [INFO] [stderr] Compiling sample2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/main.rs:67:57 [INFO] [stdout] | [INFO] [stdout] 67 | let mu_e = (3. * pi * pi * Ye * rho).powf(1./3.) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 68 | let S_deg = mu_e.powf(2.) * T / (3 * rho) [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/main.rs:68:50 [INFO] [stdout] | [INFO] [stdout] 68 | let S_deg = mu_e.powf(2.) * T / (3 * rho) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 69 | [INFO] [stdout] 70 | let S_ideal = 5./(2. * m_N) + (2 * (2 * pi * m_N * k_B * T).powf(3./2.) / ) [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `)` [INFO] [stdout] --> src/main.rs:70:83 [INFO] [stdout] | [INFO] [stdout] 70 | let S_ideal = 5./(2. * m_N) + (2 * (2 * pi * m_N * k_B * T).powf(3./2.) / ) [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/main.rs:70:84 [INFO] [stdout] | [INFO] [stdout] 70 | let S_ideal = 5./(2. * m_N) + (2 * (2 * pi * m_N * k_B * T).powf(3./2.) / ) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 71 | [INFO] [stdout] 72 | let data = Elementdata.profile; [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `return` [INFO] [stdout] --> src/main.rs:152:22 [INFO] [stdout] | [INFO] [stdout] 152 | ) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] ... [INFO] [stdout] 162 | return [INFO] [stdout] | ------ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Elementdata` in this scope [INFO] [stdout] --> src/main.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | let data = Elementdata.profile; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:180:74 [INFO] [stdout] | [INFO] [stdout] 180 | fn load_data (filename: &str, status: String) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 180 | fn load_data (filename: &str, status: String) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `{integer}` by `f64` [INFO] [stdout] --> src/main.rs:68:44 [INFO] [stdout] | [INFO] [stdout] 68 | let S_deg = mu_e.powf(2.) * T / (3 * rho) [INFO] [stdout] | ^ no implementation for `{integer} * f64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul` is not implemented for `{integer}` [INFO] [stdout] = help: the following other types implement trait `Mul`: [INFO] [stdout] `&f128` implements `Mul` [INFO] [stdout] `&f128` implements `Mul` [INFO] [stdout] `&f16` implements `Mul` [INFO] [stdout] `&f16` implements `Mul` [INFO] [stdout] `&f32` implements `Mul` [INFO] [stdout] `&f32` implements `Mul` [INFO] [stdout] `&f64` implements `Mul` [INFO] [stdout] `&f64` implements `Mul` [INFO] [stdout] and 57 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:193:10 [INFO] [stdout] | [INFO] [stdout] 193 | for (i, line) in lines.iter().enumerate() { [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] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sample2` (bin "sample2") due to 7 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7edac6ed8c8e70775383b1eedb55dda8078c7682aaf7f04c3c8c0977643cba11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7edac6ed8c8e70775383b1eedb55dda8078c7682aaf7f04c3c8c0977643cba11", kill_on_drop: false }` [INFO] [stdout] 7edac6ed8c8e70775383b1eedb55dda8078c7682aaf7f04c3c8c0977643cba11