[INFO] cloning repository https://github.com/gmorenz/photon_correlation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gmorenz/photon_correlation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmorenz%2Fphoton_correlation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmorenz%2Fphoton_correlation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2cbe29b6cb8f06abea83918538993f30edfba4c0 [INFO] testing gmorenz/photon_correlation against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmorenz%2Fphoton_correlation" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gmorenz/photon_correlation on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gmorenz/photon_correlation [INFO] finished tweaking git repo https://github.com/gmorenz/photon_correlation [INFO] tweaked toml for git repo https://github.com/gmorenz/photon_correlation written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/gmorenz/photon_correlation already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e7fe69020c1ad7f86223472d6eb6a0dbf0530fcc50c67679c622c8ef88a00430 [INFO] running `Command { std: "docker" "start" "-a" "e7fe69020c1ad7f86223472d6eb6a0dbf0530fcc50c67679c622c8ef88a00430", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7fe69020c1ad7f86223472d6eb6a0dbf0530fcc50c67679c622c8ef88a00430", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7fe69020c1ad7f86223472d6eb6a0dbf0530fcc50c67679c622c8ef88a00430", kill_on_drop: false }` [INFO] [stdout] e7fe69020c1ad7f86223472d6eb6a0dbf0530fcc50c67679c622c8ef88a00430 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2d2d301b4b0b05dd39f9befe4ef246ad8a5c9351920da9cfa1203d6689a9c260 [INFO] running `Command { std: "docker" "start" "-a" "2d2d301b4b0b05dd39f9befe4ef246ad8a5c9351920da9cfa1203d6689a9c260", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.47 [INFO] [stderr] Compiling proc-macro2 v0.4.25 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.3 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling structopt-derive v0.2.14 [INFO] [stderr] Compiling structopt v0.2.14 [INFO] [stderr] Compiling photon_correlation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `parallel_asymmetric_cross_correlation` in this scope [INFO] [stdout] --> src/main.rs:751:29 [INFO] [stdout] | [INFO] [stdout] 340 | fn approximate_asymmetric_cross_correlation(bin_count: u64, bin_step: u64, photons: impl Iterator, first_photon: u64) -> (Vec, Vec... [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------- similarly named function `approximate_asymmetric_cross_correlation` defined here [INFO] [stdout] ... [INFO] [stdout] 751 | parallel_asymmetric_cross_correlation(&mut bins_forward, &mut bins_backwards, bin_size, photons.clone(), first_photon) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `approximate_asymmetric_cross_correlation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VecDeque` is imported redundantly [INFO] [stdout] --> src/main.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::VecDeque; [INFO] [stdout] | -------------------------- the item `VecDeque` is already imported here [INFO] [stdout] ... [INFO] [stdout] 203 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VecDeque` is imported redundantly [INFO] [stdout] --> src/main.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::VecDeque; [INFO] [stdout] | -------------------------- the item `VecDeque` is already imported here [INFO] [stdout] ... [INFO] [stdout] 241 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VecDeque` is imported redundantly [INFO] [stdout] --> src/main.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::VecDeque; [INFO] [stdout] | -------------------------- the item `VecDeque` is already imported here [INFO] [stdout] ... [INFO] [stdout] 417 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:565:38 [INFO] [stdout] | [INFO] [stdout] 565 | fn get_output(path: &PathBuf) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 565 - fn get_output(path: &PathBuf) -> Box { [INFO] [stdout] 565 + fn get_output(path: &PathBuf) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn write_header(output: &mut std::io::Write, headers: Header) { [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 - pub fn write_header(output: &mut std::io::Write, headers: Header) { [INFO] [stdout] 138 + pub fn write_header(output: &mut dyn std::io::Write, headers: Header) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 5 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 `photon_correlation` due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2d2d301b4b0b05dd39f9befe4ef246ad8a5c9351920da9cfa1203d6689a9c260", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d2d301b4b0b05dd39f9befe4ef246ad8a5c9351920da9cfa1203d6689a9c260", kill_on_drop: false }` [INFO] [stdout] 2d2d301b4b0b05dd39f9befe4ef246ad8a5c9351920da9cfa1203d6689a9c260