[INFO] fetching crate forester 0.0.3... [INFO] checking forester-0.0.3 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate forester 0.0.3 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate forester 0.0.3 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate forester 0.0.3 [INFO] finished tweaking crates.io crate forester 0.0.3 [INFO] tweaked toml for crates.io crate forester 0.0.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 25 packages to latest compatible versions [INFO] [stderr] Adding cpuprofiler v0.0.3 (available: v0.0.4) [INFO] [stderr] Adding rand v0.5.6 (available: v0.8.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded error-chain v0.5.0 [INFO] [stderr] Downloaded cpuprofiler v0.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a73b9150ba329e7bd9125568c2748329727c5bc317be882313daa37bd216b977 [INFO] running `Command { std: "docker" "start" "-a" "a73b9150ba329e7bd9125568c2748329727c5bc317be882313daa37bd216b977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a73b9150ba329e7bd9125568c2748329727c5bc317be882313daa37bd216b977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a73b9150ba329e7bd9125568c2748329727c5bc317be882313daa37bd216b977", kill_on_drop: false }` [INFO] [stdout] a73b9150ba329e7bd9125568c2748329727c5bc317be882313daa37bd216b977 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4973c19c884757486928c19dca671ceb156f99cb73d34afb28159e786baaeb6 [INFO] running `Command { std: "docker" "start" "-a" "c4973c19c884757486928c19dca671ceb156f99cb73d34afb28159e786baaeb6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking forester v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `criterion` [INFO] [stdout] --> benches/treepredict.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate criterion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `criterion` [INFO] [stdout] --> benches/benchmark.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate criterion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `criterion` [INFO] [stdout] --> benches/partition.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate criterion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `forester::d_tree` [INFO] [stdout] --> benches/treepredict.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use forester::d_tree::{DeterministicTree, Node}; [INFO] [stdout] | ^^^^^^ could not find `d_tree` in `forester` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `forester::splitters` [INFO] [stdout] --> benches/treepredict.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use forester::splitters::ThresholdSplitter; [INFO] [stdout] | ^^^^^^^^^ could not find `splitters` in `forester` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `forester::predictors` [INFO] [stdout] --> benches/treepredict.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use forester::predictors::ConstMean; [INFO] [stdout] | ^^^^^^^^^^ could not find `predictors` in `forester` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `forester::features` [INFO] [stdout] --> benches/treepredict.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use forester::features::ColumnSelect; [INFO] [stdout] | ^^^^^^^^ could not find `features` in `forester` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `forester::datasets` [INFO] [stdout] --> benches/treepredict.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use forester::datasets::TupleSample; [INFO] [stdout] | ^^^^^^^^ could not find `datasets` in `forester` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `criterion_main` in this scope [INFO] [stdout] --> benches/partition.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | criterion_main!(benches); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `forester::traits` [INFO] [stdout] --> benches/treepredict.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use forester::traits::Side; [INFO] [stdout] | ^^^^^^ could not find `traits` in `forester` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `forester::LearnerMut` [INFO] [stdout] --> benches/benchmark.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use forester::LearnerMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `LearnerMut` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `criterion_main` in this scope [INFO] [stdout] --> benches/benchmark.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | criterion_main!(benches); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `criterion_group` in this scope [INFO] [stdout] --> benches/partition.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | criterion_group!(benches, bench_partition); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `criterion_group` in this scope [INFO] [stdout] --> benches/benchmark.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | criterion_group!(benches, array_data, ref_data, vec_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `forester::DeterministicSplitter`, `forester::LeafPredictor`, `forester::Predictor` [INFO] [stdout] --> benches/treepredict.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use forester::{DeterministicSplitter, LeafPredictor, Predictor as PT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `Predictor` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `LeafPredictor` in the root [INFO] [stdout] | no `DeterministicSplitter` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> benches/benchmark.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | fn gen_data_array() -> Vec> { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static`, or if you will only have owned values [INFO] [stdout] | [INFO] [stdout] 35 | fn gen_data_array() -> Vec> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> benches/benchmark.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | fn gen_data_vec() -> Vec, f64>> { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static`, or if you will only have owned values [INFO] [stdout] | [INFO] [stdout] 48 | fn gen_data_vec() -> Vec, f64>> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> benches/benchmark.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | fn gen_data_ref() -> Vec> { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static`, or if you will only have owned values [INFO] [stdout] | [INFO] [stdout] 58 | fn gen_data_ref() -> Vec> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `criterion_group` in this scope [INFO] [stdout] --> benches/treepredict.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | criterion_group!(benches, bench_partition); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `criterion_main` in this scope [INFO] [stdout] --> benches/treepredict.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | criterion_main!(benches); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `forester` (bench "partition") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `forester` (bench "treepredict") due to 10 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/benchmark.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | data.push(Sample::new(x, y)) [INFO] [stdout] | ----------- ^ expected `&[_]`, found `[f64; 30]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[_]` [INFO] [stdout] found array `[f64; 30]` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(x: &'a[X], y: Y) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 43 | data.push(Sample::new(&x, y)) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/benchmark.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | data.push(Sample::new(x, y)) [INFO] [stdout] | ----------- ^ expected `&[_]`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[_]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(x: &'a[X], y: Y) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 53 | data.push(Sample::new(&x, y)) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/benchmark.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 58 | fn gen_data_ref() -> Vec> { [INFO] [stdout] | -------------------------------- expected `Vec>` because of return type [INFO] [stdout] ... [INFO] [stdout] 62 | data.push(Sample::new(x, y)) [INFO] [stdout] | ---- ----------------- this argument has type `forester::api::extra_trees_regressor::Sample<'_, f64, f64>`... [INFO] [stdout] | | [INFO] [stdout] | ... which causes `data` to have type `Vec>` [INFO] [stdout] 63 | } [INFO] [stdout] 64 | data [INFO] [stdout] | ^^^^ expected `Vec>`, found `Vec>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec>` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TreeBuilder` [INFO] [stdout] --> benches/benchmark.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | let model = TreeBuilder::default().fit(&mut data); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `TreeBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TreeBuilder` [INFO] [stdout] --> benches/benchmark.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | let model = TreeBuilder::default().fit(&mut data); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `TreeBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TreeBuilder` [INFO] [stdout] --> benches/benchmark.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | let model = TreeBuilder::default().fit(&mut data); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `TreeBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0308, E0432, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `forester` (bench "benchmark") due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "c4973c19c884757486928c19dca671ceb156f99cb73d34afb28159e786baaeb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4973c19c884757486928c19dca671ceb156f99cb73d34afb28159e786baaeb6", kill_on_drop: false }` [INFO] [stdout] c4973c19c884757486928c19dca671ceb156f99cb73d34afb28159e786baaeb6