[INFO] cloning repository https://github.com/ThePianoDentist/simple-relativistic-jet-black-hole [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThePianoDentist/simple-relativistic-jet-black-hole" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThePianoDentist%2Fsimple-relativistic-jet-black-hole", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThePianoDentist%2Fsimple-relativistic-jet-black-hole'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40914609b57face75851683bcb90dfe44f4076fb [INFO] checking ThePianoDentist/simple-relativistic-jet-black-hole against try#969026c535f4240ff7866ef11207dfda18a26af6 for pr-146504 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThePianoDentist%2Fsimple-relativistic-jet-black-hole" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ThePianoDentist/simple-relativistic-jet-black-hole [INFO] finished tweaking git repo https://github.com/ThePianoDentist/simple-relativistic-jet-black-hole [INFO] tweaked toml for git repo https://github.com/ThePianoDentist/simple-relativistic-jet-black-hole written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ThePianoDentist/simple-relativistic-jet-black-hole on toolchain 969026c535f4240ff7866ef11207dfda18a26af6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ThePianoDentist/simple-relativistic-jet-black-hole 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" "+969026c535f4240ff7866ef11207dfda18a26af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `src/main.rs` was erroneously implicitly accepted for binary `relativisticjets`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gnuplot v0.0.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8a9891c8aaeade9d3bf9cf6fe5439f534c409ec51371f2585f0243e86e28fa8 [INFO] running `Command { std: "docker" "start" "-a" "a8a9891c8aaeade9d3bf9cf6fe5439f534c409ec51371f2585f0243e86e28fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8a9891c8aaeade9d3bf9cf6fe5439f534c409ec51371f2585f0243e86e28fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8a9891c8aaeade9d3bf9cf6fe5439f534c409ec51371f2585f0243e86e28fa8", kill_on_drop: false }` [INFO] [stdout] a8a9891c8aaeade9d3bf9cf6fe5439f534c409ec51371f2585f0243e86e28fa8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+969026c535f4240ff7866ef11207dfda18a26af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76b95fdbd2296086af7ab3e84f9828d87a0bdc01ab153fa9fb684f808f87456d [INFO] running `Command { std: "docker" "start" "-a" "76b95fdbd2296086af7ab3e84f9828d87a0bdc01ab153fa9fb684f808f87456d", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `src/main.rs` was erroneously implicitly accepted for binary `relativisticjets`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking gnuplot v0.0.21 [INFO] [stderr] Checking relativistic-jets v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected item, found `;` [INFO] [stdout] --> src/main.rs:35:2 [INFO] [stdout] | [INFO] [stdout] 35 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: implementation declarations are not followed by a semicolon [INFO] [stdout] help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] 35 - }; [INFO] [stdout] 35 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/main.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | fn emiss_to_flux(&mut self, f64, f64) -> Vec<(f64, f64)>; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/main.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | fn emiss_to_flux(&mut self, f64, f64) -> Vec<(f64, f64)>; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `emiss_to_flux` in this scope [INFO] [stdout] --> src/main.rs:171:28 [INFO] [stdout] | [INFO] [stdout] 171 | let flux_sync = rel_boost(emiss_to_flux(binned_sync_emiss.clone()), doppler_factor, alpha); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: use the `.` operator to call the method `EmissToFlux::emiss_to_flux` on `&mut Vec<(f64, f64)>` [INFO] [stdout] | [INFO] [stdout] 171 - let flux_sync = rel_boost(emiss_to_flux(binned_sync_emiss.clone()), doppler_factor, alpha); [INFO] [stdout] 171 + let flux_sync = rel_boost(binned_sync_emiss.clone().emiss_to_flux(), doppler_factor, alpha); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_bin` [INFO] [stdout] --> src/main.rs:128:37 [INFO] [stdout] | [INFO] [stdout] 128 | fn bin_it(tuples: Vec<(f64, f64)>, min_bin: f64, max_bin: f64, step: f64) -> Vec<(f64, f64)>{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 128 | fn bin_it(tuples: Vec<(f64, f64)>, _min_bin: f64, max_bin: f64, step: f64) -> Vec<(f64, f64)>{ [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MASS_ELECTRON` [INFO] [stdout] | [INFO] [stdout] 128 - fn bin_it(tuples: Vec<(f64, f64)>, min_bin: f64, max_bin: f64, step: f64) -> Vec<(f64, f64)>{ [INFO] [stdout] 128 + fn bin_it(tuples: Vec<(f64, f64)>, MASS_ELECTRON: f64, max_bin: f64, step: f64) -> Vec<(f64, f64)>{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `relativistic-jets` (bin "relativisticjets") due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: expected item, found `;` [INFO] [stdout] --> src/main.rs:35:2 [INFO] [stdout] | [INFO] [stdout] 35 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: implementation declarations are not followed by a semicolon [INFO] [stdout] help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] 35 - }; [INFO] [stdout] 35 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/main.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | fn emiss_to_flux(&mut self, f64, f64) -> Vec<(f64, f64)>; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/main.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | fn emiss_to_flux(&mut self, f64, f64) -> Vec<(f64, f64)>; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f64` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `emiss_to_flux` in this scope [INFO] [stdout] --> src/main.rs:171:28 [INFO] [stdout] | [INFO] [stdout] 171 | let flux_sync = rel_boost(emiss_to_flux(binned_sync_emiss.clone()), doppler_factor, alpha); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: use the `.` operator to call the method `EmissToFlux::emiss_to_flux` on `&mut Vec<(f64, f64)>` [INFO] [stdout] | [INFO] [stdout] 171 - let flux_sync = rel_boost(emiss_to_flux(binned_sync_emiss.clone()), doppler_factor, alpha); [INFO] [stdout] 171 + let flux_sync = rel_boost(binned_sync_emiss.clone().emiss_to_flux(), doppler_factor, alpha); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_bin` [INFO] [stdout] --> src/main.rs:128:37 [INFO] [stdout] | [INFO] [stdout] 128 | fn bin_it(tuples: Vec<(f64, f64)>, min_bin: f64, max_bin: f64, step: f64) -> Vec<(f64, f64)>{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 128 | fn bin_it(tuples: Vec<(f64, f64)>, _min_bin: f64, max_bin: f64, step: f64) -> Vec<(f64, f64)>{ [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MASS_ELECTRON` [INFO] [stdout] | [INFO] [stdout] 128 - fn bin_it(tuples: Vec<(f64, f64)>, min_bin: f64, max_bin: f64, step: f64) -> Vec<(f64, f64)>{ [INFO] [stdout] 128 + fn bin_it(tuples: Vec<(f64, f64)>, MASS_ELECTRON: f64, max_bin: f64, step: f64) -> Vec<(f64, f64)>{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `relativistic-jets` (bin "relativisticjets" test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "76b95fdbd2296086af7ab3e84f9828d87a0bdc01ab153fa9fb684f808f87456d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76b95fdbd2296086af7ab3e84f9828d87a0bdc01ab153fa9fb684f808f87456d", kill_on_drop: false }` [INFO] [stdout] 76b95fdbd2296086af7ab3e84f9828d87a0bdc01ab153fa9fb684f808f87456d