[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/40914609b57face75851683bcb90dfe44f4076fb against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThePianoDentist%2Fsimple-relativistic-jet-black-hole" "/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/ThePianoDentist/simple-relativistic-jet-black-hole on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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 2021 [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-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2b4d1fc96a644b2956566fb136f039eec25d51cd62bc2c614109a998985ca94 [INFO] running `Command { std: "docker" "start" "-a" "f2b4d1fc96a644b2956566fb136f039eec25d51cd62bc2c614109a998985ca94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2b4d1fc96a644b2956566fb136f039eec25d51cd62bc2c614109a998985ca94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2b4d1fc96a644b2956566fb136f039eec25d51cd62bc2c614109a998985ca94", kill_on_drop: false }` [INFO] [stdout] f2b4d1fc96a644b2956566fb136f039eec25d51cd62bc2c614109a998985ca94 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53d3112bf208b498a66e6d250484b94b90af9ad963d581d0e627cde5ee9d923d [INFO] running `Command { std: "docker" "start" "-a" "53d3112bf208b498a66e6d250484b94b90af9ad963d581d0e627cde5ee9d923d", 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 2021 [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] 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)]` 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: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)]` 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] 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] 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] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_bin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_bin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [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 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `relativistic-jets` (bin "relativisticjets" test) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "53d3112bf208b498a66e6d250484b94b90af9ad963d581d0e627cde5ee9d923d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53d3112bf208b498a66e6d250484b94b90af9ad963d581d0e627cde5ee9d923d", kill_on_drop: false }` [INFO] [stdout] 53d3112bf208b498a66e6d250484b94b90af9ad963d581d0e627cde5ee9d923d