[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] checking gmorenz/photon_correlation against try#969026c535f4240ff7866ef11207dfda18a26af6 for pr-146504 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmorenz%2Fphoton_correlation" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gmorenz/photon_correlation 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/gmorenz/photon_correlation 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] 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 structopt v0.2.14 [INFO] [stderr] Downloaded textwrap v0.10.0 [INFO] [stderr] Downloaded proc-macro2 v0.4.25 [INFO] [stderr] Downloaded structopt-derive v0.2.14 [INFO] [stderr] Downloaded redox_syscall v0.1.50 [INFO] [stderr] Downloaded clap v2.32.0 [INFO] [stderr] Downloaded unicode-segmentation v1.2.1 [INFO] [stderr] Downloaded nom v4.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 4f6234abd4a3bb6a5a72d5a0e054a62235913a1d2f13b7f560bab725a75258d4 [INFO] running `Command { std: "docker" "start" "-a" "4f6234abd4a3bb6a5a72d5a0e054a62235913a1d2f13b7f560bab725a75258d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f6234abd4a3bb6a5a72d5a0e054a62235913a1d2f13b7f560bab725a75258d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f6234abd4a3bb6a5a72d5a0e054a62235913a1d2f13b7f560bab725a75258d4", kill_on_drop: false }` [INFO] [stdout] 4f6234abd4a3bb6a5a72d5a0e054a62235913a1d2f13b7f560bab725a75258d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 6fc4c64f7142bbd20e7fc305f54411667faffea6b5d7729382d0cd79a08594cb [INFO] running `Command { std: "docker" "start" "-a" "6fc4c64f7142bbd20e7fc305f54411667faffea6b5d7729382d0cd79a08594cb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.47 [INFO] [stderr] Compiling proc-macro2 v0.4.25 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking crossbeam-utils v0.6.3 [INFO] [stderr] Checking arrayref v0.3.5 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking nom v4.1.1 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling structopt-derive v0.2.14 [INFO] [stderr] Checking structopt v0.2.14 [INFO] [stderr] Checking photon_correlation v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn write_header(output: &mut dyn std::io::Write, headers: Header) { [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] = 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn write_header(output: &mut dyn std::io::Write, headers: Header) { [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] = 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 565 | fn get_output(path: &PathBuf) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/header.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / named!(parse_tag_value<&[u8], TagValue>, [INFO] [stdout] 44 | | alt!( [INFO] [stdout] 45 | | do_parse!( [INFO] [stdout] 46 | | tag!(b"\x08\x00\xFF\xFF") >> [INFO] [stdout] ... | [INFO] [stdout] 103 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | expected `Result<(&[u8], !), _>`, found `Result<(&[u8], TagValue<'_>), Err<...>>` [INFO] [stdout] | |_this is found to be of type `Result<(&[u8], !), _>` [INFO] [stdout] | `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(&_, !), _>` [INFO] [stdout] found enum `Result<(&_, TagValue<'_>), nom::Err<&[u8]>>` [INFO] [stdout] = note: this error originates in the macro `alt` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/header.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / named!(parse_tag_value<&[u8], TagValue>, [INFO] [stdout] 44 | | alt!( [INFO] [stdout] 45 | | do_parse!( [INFO] [stdout] 46 | | tag!(b"\x08\x00\xFF\xFF") >> [INFO] [stdout] ... | [INFO] [stdout] 103 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | expected `Result<(&[u8], !), _>`, found `Result<(&[u8], TagValue<'_>), Err<...>>` [INFO] [stdout] | |_this is found to be of type `Result<(&[u8], !), _>` [INFO] [stdout] | `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(&_, !), _>` [INFO] [stdout] found enum `Result<(&_, TagValue<'_>), nom::Err<&[u8]>>` [INFO] [stdout] = note: this error originates in the macro `alt` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 148 | #[cfg(target_feature="avx2")] [INFO] [stdout] | --------------------- the item is gated behind the `avx2` feature [INFO] [stdout] 149 | fn parallel_asymmetric_cross_correlation(bins_forward: &mut [u64], bins_backwards: &mut [u64], bin_step: u64, photons: impl Iterator 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] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 148 | #[cfg(target_feature="avx2")] [INFO] [stdout] | --------------------- the item is gated behind the `avx2` feature [INFO] [stdout] 149 | fn parallel_asymmetric_cross_correlation(bins_forward: &mut [u64], bins_backwards: &mut [u64], bin_step: u64, photons: impl Iterator