[INFO] cloning repository https://github.com/unnamedplay-r/copod_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/unnamedplay-r/copod_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funnamedplay-r%2Fcopod_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funnamedplay-r%2Fcopod_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4e1aeb72a5b343469c9d4c92a59064ee53fd7ae [INFO] checking unnamedplay-r/copod_rs against try#e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funnamedplay-r%2Fcopod_rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/unnamedplay-r/copod_rs [INFO] finished tweaking git repo https://github.com/unnamedplay-r/copod_rs [INFO] tweaked toml for git repo https://github.com/unnamedplay-r/copod_rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/unnamedplay-r/copod_rs on toolchain e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/unnamedplay-r/copod_rs 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" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d627b3a72ae037d81b0c8eac5676828dd379182dfefa6bf4cf1cebaab13bdee2 [INFO] running `Command { std: "docker" "start" "-a" "d627b3a72ae037d81b0c8eac5676828dd379182dfefa6bf4cf1cebaab13bdee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d627b3a72ae037d81b0c8eac5676828dd379182dfefa6bf4cf1cebaab13bdee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d627b3a72ae037d81b0c8eac5676828dd379182dfefa6bf4cf1cebaab13bdee2", kill_on_drop: false }` [INFO] [stdout] d627b3a72ae037d81b0c8eac5676828dd379182dfefa6bf4cf1cebaab13bdee2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+e658ebe4ffa1b515cd2ef06dd428d0d063e2ae6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 243bdb218b593b6986dd7178a9e7013c4a05e31d732e8e54851b0a49b6db712c [INFO] running `Command { std: "docker" "start" "-a" "243bdb218b593b6986dd7178a9e7013c4a05e31d732e8e54851b0a49b6db712c", kill_on_drop: false }` [INFO] [stderr] Checking copod_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0423]: expected value, found macro `column` [INFO] [stdout] --> src/copod_model.rs:108:39 [INFO] [stdout] | [INFO] [stdout] 108 | .calculate_ecdf_value(column, value) [INFO] [stdout] | ^^^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/copod_model.rs:108:47 [INFO] [stdout] | [INFO] [stdout] 108 | .calculate_ecdf_value(column, value) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ECDF` [INFO] [stdout] --> src/internals.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::types::{BTreeFloat, CopodError, ECDF, FittedState, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/internals.rs:40:54 [INFO] [stdout] | [INFO] [stdout] 40 | let residuals: Vec = column.iter().map(|&x| (x - mean)).collect(); // Use sample variance n-1 [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - let residuals: Vec = column.iter().map(|&x| (x - mean)).collect(); // Use sample variance n-1 [INFO] [stdout] 40 + let residuals: Vec = column.iter().map(|&x| x - mean).collect(); // Use sample variance n-1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `column` [INFO] [stdout] --> src/copod_model.rs:108:39 [INFO] [stdout] | [INFO] [stdout] 108 | .calculate_ecdf_value(column, value) [INFO] [stdout] | ^^^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/copod_model.rs:108:47 [INFO] [stdout] | [INFO] [stdout] 108 | .calculate_ecdf_value(column, value) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ECDF` [INFO] [stdout] --> src/internals.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::types::{BTreeFloat, CopodError, ECDF, FittedState, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/internals.rs:40:54 [INFO] [stdout] | [INFO] [stdout] 40 | let residuals: Vec = column.iter().map(|&x| (x - mean)).collect(); // Use sample variance n-1 [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - let residuals: Vec = column.iter().map(|&x| (x - mean)).collect(); // Use sample variance n-1 [INFO] [stdout] 40 + let residuals: Vec = column.iter().map(|&x| x - mean).collect(); // Use sample variance n-1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/copod_model.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | / copula_state [INFO] [stdout] 107 | | .left_tail_ecdf [INFO] [stdout] 108 | | .calculate_ecdf_value(column, value) [INFO] [stdout] | | ^- help: consider using a semicolon here: `;` [INFO] [stdout] | |____________________________________________________| [INFO] [stdout] | expected `()`, found `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `ECDF` has no field named `unique_values` [INFO] [stdout] --> src/types.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | unique_values, [INFO] [stdout] | ^^^^^^^^^^^^^ `ECDF` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/copod_model.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | / copula_state [INFO] [stdout] 107 | | .left_tail_ecdf [INFO] [stdout] 108 | | .calculate_ecdf_value(column, value) [INFO] [stdout] | | ^- help: consider using a semicolon here: `;` [INFO] [stdout] | |____________________________________________________| [INFO] [stdout] | expected `()`, found `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column` [INFO] [stdout] --> src/types.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 200 | fn get_approx_cdf(column: &[f64]) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_column` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0423, E0425, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `ECDF` has no field named `unique_values` [INFO] [stdout] --> src/types.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | unique_values, [INFO] [stdout] | ^^^^^^^^^^^^^ `ECDF` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | let mut model = Copod::new(CopodVariant::SkewnessCorrected); [INFO] [stdout] | ^^^^^^^^^^--------------------------------- argument #2 of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/copod_model.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(variant: CopodVariant, ecdf_approx: bool) -> Self { [INFO] [stdout] | ^^^ ----------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 119 | let mut model = Copod::new(CopodVariant::SkewnessCorrected, /* bool */); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `copod_rs` (lib) due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `column` [INFO] [stdout] --> src/types.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 200 | fn get_approx_cdf(column: &[f64]) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_column` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0423, E0425, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `copod_rs` (lib test) due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "243bdb218b593b6986dd7178a9e7013c4a05e31d732e8e54851b0a49b6db712c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "243bdb218b593b6986dd7178a9e7013c4a05e31d732e8e54851b0a49b6db712c", kill_on_drop: false }` [INFO] [stdout] 243bdb218b593b6986dd7178a9e7013c4a05e31d732e8e54851b0a49b6db712c