[INFO] cloning repository https://github.com/frnsys/garch.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frnsys/garch.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrnsys%2Fgarch.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrnsys%2Fgarch.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 66b205825ba37af97dfc9c1c420ee8e13c8d531f [INFO] testing frnsys/garch.rs against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrnsys%2Fgarch.rs" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/frnsys/garch.rs on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/frnsys/garch.rs [INFO] finished tweaking git repo https://github.com/frnsys/garch.rs [INFO] tweaked toml for git repo https://github.com/frnsys/garch.rs written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/frnsys/garch.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/frnsys/rustimization` [INFO] [stderr] Updating git repository `https://github.com/noshu/lbfgsb-sys` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cg-sys v0.1.0 [INFO] [stderr] Downloaded finitediff v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e0fcb7dc6be117aa8c6b78e2dca63543019bd58d5f76cf4d4a1121699455bf4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8e0fcb7dc6be117aa8c6b78e2dca63543019bd58d5f76cf4d4a1121699455bf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e0fcb7dc6be117aa8c6b78e2dca63543019bd58d5f76cf4d4a1121699455bf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e0fcb7dc6be117aa8c6b78e2dca63543019bd58d5f76cf4d4a1121699455bf4", kill_on_drop: false }` [INFO] [stdout] 8e0fcb7dc6be117aa8c6b78e2dca63543019bd58d5f76cf4d4a1121699455bf4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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] fc76da2494c6b45a72e3244575dcf3c8700b65c9b0baa33417318e04d1549cae [INFO] running `Command { std: "docker" "start" "-a" "fc76da2494c6b45a72e3244575dcf3c8700b65c9b0baa33417318e04d1549cae", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling cg-sys v0.1.0 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling lbfgsb-sys v0.1.1 (https://github.com/noshu/lbfgsb-sys#ed4451d9) [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling finitediff v0.1.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling thread_local v1.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling rustimization v0.1.1 (https://github.com/frnsys/rustimization#0075d852) [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling garch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Distribution`, `Normal` [INFO] [stdout] --> src/garch.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use rand_distr::{Normal, Distribution}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.33s [INFO] running `Command { std: "docker" "inspect" "fc76da2494c6b45a72e3244575dcf3c8700b65c9b0baa33417318e04d1549cae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc76da2494c6b45a72e3244575dcf3c8700b65c9b0baa33417318e04d1549cae", kill_on_drop: false }` [INFO] [stdout] fc76da2494c6b45a72e3244575dcf3c8700b65c9b0baa33417318e04d1549cae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a235a507a2721926dc6038915c81bbdae03ebb76ef1b7c97cb7ae5996d07c88b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a235a507a2721926dc6038915c81bbdae03ebb76ef1b7c97cb7ae5996d07c88b", kill_on_drop: false }` [INFO] [stderr] Compiling garch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Distribution`, `Normal` [INFO] [stdout] --> src/garch.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use rand_distr::{Normal, Distribution}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Distribution`, `Normal` [INFO] [stdout] --> src/garch.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use rand_distr::{Normal, Distribution}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Forecaster` in `garch` [INFO] [stdout] --> tests/garch.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | let mut forecaster = garch::Forecaster::new( [INFO] [stdout] | ^^^^^^^^^^ could not find `Forecaster` in `garch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> tests/garch.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | let forecast = garch::forecast( [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 60 | &ts, [INFO] [stdout] | --- [INFO] [stdout] 61 | 100, [INFO] [stdout] | --- [INFO] [stdout] 62 | omega, [INFO] [stdout] | ----- [INFO] [stdout] 63 | &alpha, [INFO] [stdout] | ------ [INFO] [stdout] 64 | &beta, [INFO] [stdout] | ----- [INFO] [stdout] 65 | &mut rng [INFO] [stdout] | -------- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/garch.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn forecast f64, T: Rng>(ts: &[f64], n: usize, omega: f64, alpha: &[f64], beta: &[f64], noise: &F, rng: &mut ... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for tuple `(Vec, Vec)` in the current scope [INFO] [stdout] --> tests/garch.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(forecast.len(), 100); [INFO] [stdout] | ^^^ method not found in `(Vec, Vec)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/garch.rs:73:39 [INFO] [stdout] | [INFO] [stdout] 73 | let mean_ = garch::util::mean(&forecast); [INFO] [stdout] | ^^^^^^^^^ expected slice `[f64]`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[f64]` [INFO] [stdout] found reference `&(Vec, Vec)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/garch.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | let std_ = garch::util::std(&forecast); [INFO] [stdout] | ^^^^^^^^^ expected slice `[f64]`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[f64]` [INFO] [stdout] found reference `&(Vec, Vec)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `garch` due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a235a507a2721926dc6038915c81bbdae03ebb76ef1b7c97cb7ae5996d07c88b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a235a507a2721926dc6038915c81bbdae03ebb76ef1b7c97cb7ae5996d07c88b", kill_on_drop: false }` [INFO] [stdout] a235a507a2721926dc6038915c81bbdae03ebb76ef1b7c97cb7ae5996d07c88b