[INFO] fetching crate gbdt 0.1.1... [INFO] testing gbdt-0.1.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate gbdt 0.1.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate gbdt 0.1.1 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 crates.io crate gbdt 0.1.1 [INFO] finished tweaking crates.io crate gbdt 0.1.1 [INFO] tweaked toml for crates.io crate gbdt 0.1.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] eb703f8f86f65142aac6cb2c28f15205a15fcdb8750de1c50430f134411e9606 [INFO] running `Command { std: "docker" "start" "-a" "eb703f8f86f65142aac6cb2c28f15205a15fcdb8750de1c50430f134411e9606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb703f8f86f65142aac6cb2c28f15205a15fcdb8750de1c50430f134411e9606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb703f8f86f65142aac6cb2c28f15205a15fcdb8750de1c50430f134411e9606", kill_on_drop: false }` [INFO] [stdout] eb703f8f86f65142aac6cb2c28f15205a15fcdb8750de1c50430f134411e9606 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 12339c24f463f2936dbd5fd1879d44c26d9eba5ed6fa39fe945b730e4eff19b0 [INFO] running `Command { std: "docker" "start" "-a" "12339c24f463f2936dbd5fd1879d44c26d9eba5ed6fa39fe945b730e4eff19b0", kill_on_drop: false }` [INFO] [stderr] Compiling gbdt v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/decision_tree.rs:1749:75 [INFO] [stdout] | [INFO] [stdout] 1749 | pub fn get_from_xgboost(node: &serde_json::Value) -> Result> { [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] 1749 - pub fn get_from_xgboost(node: &serde_json::Value) -> Result> { [INFO] [stdout] 1749 + pub fn get_from_xgboost(node: &serde_json::Value) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/decision_tree.rs:1762:25 [INFO] [stdout] | [INFO] [stdout] 1762 | ) -> Result<(), 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1762 - ) -> Result<(), Box> { [INFO] [stdout] 1762 + ) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gradient_boost.rs:710:64 [INFO] [stdout] | [INFO] [stdout] 710 | pub fn save_model(&self, filename: &str) -> Result<(), 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 710 - pub fn save_model(&self, filename: &str) -> Result<(), Box> { [INFO] [stdout] 710 + pub fn save_model(&self, filename: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gradient_boost.rs:729:59 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn load_model(filename: &str) -> Result> { [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] 729 - pub fn load_model(filename: &str) -> Result> { [INFO] [stdout] 729 + pub fn load_model(filename: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gradient_boost.rs:749:84 [INFO] [stdout] | [INFO] [stdout] 749 | pub fn from_xgoost_dump(model_file: &str, objective: &str) -> Result> { [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] 749 - pub fn from_xgoost_dump(model_file: &str, objective: &str) -> Result> { [INFO] [stdout] 749 + pub fn from_xgoost_dump(model_file: &str, objective: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input.rs:289:84 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn load_csv(file: &mut File, input_format: InputFormat) -> Result> { [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] 289 - pub fn load_csv(file: &mut File, input_format: InputFormat) -> Result> { [INFO] [stdout] 289 + pub fn load_csv(file: &mut File, input_format: InputFormat) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input.rs:340:84 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn load_txt(file: &mut File, input_format: InputFormat) -> Result> { [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] 340 - pub fn load_txt(file: &mut File, input_format: InputFormat) -> Result> { [INFO] [stdout] 340 + pub fn load_txt(file: &mut File, input_format: InputFormat) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input.rs:417:80 [INFO] [stdout] | [INFO] [stdout] 417 | pub fn load(file_name: &str, input_format: InputFormat) -> Result> { [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] 417 - pub fn load(file_name: &str, input_format: InputFormat) -> Result> { [INFO] [stdout] 417 + pub fn load(file_name: &str, input_format: InputFormat) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/decision_tree.rs:1801:34 [INFO] [stdout] | [INFO] [stdout] 1801 | let err: Box = From::from("not support extra missing node".to_string()); [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] 1801 - let err: Box = From::from("not support extra missing node".to_string()); [INFO] [stdout] 1801 + let err: Box = From::from("not support extra missing node".to_string()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/decision_tree.rs:1838:26 [INFO] [stdout] | [INFO] [stdout] 1838 | let err: Box = From::from("children not found".to_string()); [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] 1838 - let err: Box = From::from("children not found".to_string()); [INFO] [stdout] 1838 + let err: Box = From::from("children not found".to_string()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.48s [INFO] running `Command { std: "docker" "inspect" "12339c24f463f2936dbd5fd1879d44c26d9eba5ed6fa39fe945b730e4eff19b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12339c24f463f2936dbd5fd1879d44c26d9eba5ed6fa39fe945b730e4eff19b0", kill_on_drop: false }` [INFO] [stdout] 12339c24f463f2936dbd5fd1879d44c26d9eba5ed6fa39fe945b730e4eff19b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0149d8ec19368fe51caa08415d16f5a42611696b774834575a820f7ef7d6e57b [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" "0149d8ec19368fe51caa08415d16f5a42611696b774834575a820f7ef7d6e57b", kill_on_drop: false }` [INFO] [stderr] Compiling gbdt v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/decision_tree.rs:1749:75 [INFO] [stdout] | [INFO] [stdout] 1749 | pub fn get_from_xgboost(node: &serde_json::Value) -> Result> { [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] 1749 - pub fn get_from_xgboost(node: &serde_json::Value) -> Result> { [INFO] [stdout] 1749 + pub fn get_from_xgboost(node: &serde_json::Value) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/decision_tree.rs:1762:25 [INFO] [stdout] | [INFO] [stdout] 1762 | ) -> Result<(), 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1762 - ) -> Result<(), Box> { [INFO] [stdout] 1762 + ) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gradient_boost.rs:710:64 [INFO] [stdout] | [INFO] [stdout] 710 | pub fn save_model(&self, filename: &str) -> Result<(), 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 710 - pub fn save_model(&self, filename: &str) -> Result<(), Box> { [INFO] [stdout] 710 + pub fn save_model(&self, filename: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gradient_boost.rs:729:59 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn load_model(filename: &str) -> Result> { [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] 729 - pub fn load_model(filename: &str) -> Result> { [INFO] [stdout] 729 + pub fn load_model(filename: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gradient_boost.rs:749:84 [INFO] [stdout] | [INFO] [stdout] 749 | pub fn from_xgoost_dump(model_file: &str, objective: &str) -> Result> { [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] 749 - pub fn from_xgoost_dump(model_file: &str, objective: &str) -> Result> { [INFO] [stdout] 749 + pub fn from_xgoost_dump(model_file: &str, objective: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input.rs:289:84 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn load_csv(file: &mut File, input_format: InputFormat) -> Result> { [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] 289 - pub fn load_csv(file: &mut File, input_format: InputFormat) -> Result> { [INFO] [stdout] 289 + pub fn load_csv(file: &mut File, input_format: InputFormat) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input.rs:340:84 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn load_txt(file: &mut File, input_format: InputFormat) -> Result> { [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] 340 - pub fn load_txt(file: &mut File, input_format: InputFormat) -> Result> { [INFO] [stdout] 340 + pub fn load_txt(file: &mut File, input_format: InputFormat) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input.rs:417:80 [INFO] [stdout] | [INFO] [stdout] 417 | pub fn load(file_name: &str, input_format: InputFormat) -> Result> { [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] 417 - pub fn load(file_name: &str, input_format: InputFormat) -> Result> { [INFO] [stdout] 417 + pub fn load(file_name: &str, input_format: InputFormat) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/decision_tree.rs:1801:34 [INFO] [stdout] | [INFO] [stdout] 1801 | let err: Box = From::from("not support extra missing node".to_string()); [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] 1801 - let err: Box = From::from("not support extra missing node".to_string()); [INFO] [stdout] 1801 + let err: Box = From::from("not support extra missing node".to_string()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/decision_tree.rs:1838:26 [INFO] [stdout] | [INFO] [stdout] 1838 | let err: Box = From::from("children not found".to_string()); [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] 1838 - let err: Box = From::from("children not found".to_string()); [INFO] [stdout] 1838 + let err: Box = From::from("children not found".to_string()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PredVec` [INFO] [stdout] --> examples/test-batch.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use gbdt::decision_tree::{PredVec, ValueType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/decision_tree.rs:1749:75 [INFO] [stdout] | [INFO] [stdout] 1749 | pub fn get_from_xgboost(node: &serde_json::Value) -> Result> { [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] 1749 - pub fn get_from_xgboost(node: &serde_json::Value) -> Result> { [INFO] [stdout] 1749 + pub fn get_from_xgboost(node: &serde_json::Value) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/decision_tree.rs:1762:25 [INFO] [stdout] | [INFO] [stdout] 1762 | ) -> Result<(), 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1762 - ) -> Result<(), Box> { [INFO] [stdout] 1762 + ) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gradient_boost.rs:710:64 [INFO] [stdout] | [INFO] [stdout] 710 | pub fn save_model(&self, filename: &str) -> Result<(), 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 710 - pub fn save_model(&self, filename: &str) -> Result<(), Box> { [INFO] [stdout] 710 + pub fn save_model(&self, filename: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gradient_boost.rs:729:59 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn load_model(filename: &str) -> Result> { [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] 729 - pub fn load_model(filename: &str) -> Result> { [INFO] [stdout] 729 + pub fn load_model(filename: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gradient_boost.rs:749:84 [INFO] [stdout] | [INFO] [stdout] 749 | pub fn from_xgoost_dump(model_file: &str, objective: &str) -> Result> { [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] 749 - pub fn from_xgoost_dump(model_file: &str, objective: &str) -> Result> { [INFO] [stdout] 749 + pub fn from_xgoost_dump(model_file: &str, objective: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input.rs:289:84 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn load_csv(file: &mut File, input_format: InputFormat) -> Result> { [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] 289 - pub fn load_csv(file: &mut File, input_format: InputFormat) -> Result> { [INFO] [stdout] 289 + pub fn load_csv(file: &mut File, input_format: InputFormat) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input.rs:340:84 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn load_txt(file: &mut File, input_format: InputFormat) -> Result> { [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] 340 - pub fn load_txt(file: &mut File, input_format: InputFormat) -> Result> { [INFO] [stdout] 340 + pub fn load_txt(file: &mut File, input_format: InputFormat) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input.rs:417:80 [INFO] [stdout] | [INFO] [stdout] 417 | pub fn load(file_name: &str, input_format: InputFormat) -> Result> { [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] 417 - pub fn load(file_name: &str, input_format: InputFormat) -> Result> { [INFO] [stdout] 417 + pub fn load(file_name: &str, input_format: InputFormat) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/decision_tree.rs:1801:34 [INFO] [stdout] | [INFO] [stdout] 1801 | let err: Box = From::from("not support extra missing node".to_string()); [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] 1801 - let err: Box = From::from("not support extra missing node".to_string()); [INFO] [stdout] 1801 + let err: Box = From::from("not support extra missing node".to_string()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/decision_tree.rs:1838:26 [INFO] [stdout] | [INFO] [stdout] 1838 | let err: Box = From::from("children not found".to_string()); [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] 1838 - let err: Box = From::from("children not found".to_string()); [INFO] [stdout] 1838 + let err: Box = From::from("children not found".to_string()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.26s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/gbdt-0e3cab5ccc87c02d) [INFO] running `Command { std: "docker" "inspect" "0149d8ec19368fe51caa08415d16f5a42611696b774834575a820f7ef7d6e57b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0149d8ec19368fe51caa08415d16f5a42611696b774834575a820f7ef7d6e57b", kill_on_drop: false }` [INFO] [stdout] 0149d8ec19368fe51caa08415d16f5a42611696b774834575a820f7ef7d6e57b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f4add78f01463b746f59080dc01a888825b80215af0bc5e4cad0233b3373942c [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" "f4add78f01463b746f59080dc01a888825b80215af0bc5e4cad0233b3373942c", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/decision_tree.rs:1749:75 [INFO] [stderr] | [INFO] [stderr] 1749 | pub fn get_from_xgboost(node: &serde_json::Value) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1749 - pub fn get_from_xgboost(node: &serde_json::Value) -> Result> { [INFO] [stderr] 1749 + pub fn get_from_xgboost(node: &serde_json::Value) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/decision_tree.rs:1762:25 [INFO] [stderr] | [INFO] [stderr] 1762 | ) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1762 - ) -> Result<(), Box> { [INFO] [stderr] 1762 + ) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gradient_boost.rs:710:64 [INFO] [stderr] | [INFO] [stderr] 710 | pub fn save_model(&self, filename: &str) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 710 - pub fn save_model(&self, filename: &str) -> Result<(), Box> { [INFO] [stderr] 710 + pub fn save_model(&self, filename: &str) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gradient_boost.rs:729:59 [INFO] [stderr] | [INFO] [stderr] 729 | pub fn load_model(filename: &str) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 729 - pub fn load_model(filename: &str) -> Result> { [INFO] [stderr] 729 + pub fn load_model(filename: &str) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gradient_boost.rs:749:84 [INFO] [stderr] | [INFO] [stderr] 749 | pub fn from_xgoost_dump(model_file: &str, objective: &str) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 749 - pub fn from_xgoost_dump(model_file: &str, objective: &str) -> Result> { [INFO] [stderr] 749 + pub fn from_xgoost_dump(model_file: &str, objective: &str) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/input.rs:289:84 [INFO] [stderr] | [INFO] [stderr] 289 | pub fn load_csv(file: &mut File, input_format: InputFormat) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 289 - pub fn load_csv(file: &mut File, input_format: InputFormat) -> Result> { [INFO] [stderr] 289 + pub fn load_csv(file: &mut File, input_format: InputFormat) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/input.rs:340:84 [INFO] [stderr] | [INFO] [stderr] 340 | pub fn load_txt(file: &mut File, input_format: InputFormat) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 340 - pub fn load_txt(file: &mut File, input_format: InputFormat) -> Result> { [INFO] [stderr] 340 + pub fn load_txt(file: &mut File, input_format: InputFormat) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/input.rs:417:80 [INFO] [stderr] | [INFO] [stderr] 417 | pub fn load(file_name: &str, input_format: InputFormat) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 417 - pub fn load(file_name: &str, input_format: InputFormat) -> Result> { [INFO] [stderr] 417 + pub fn load(file_name: &str, input_format: InputFormat) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/decision_tree.rs:1801:34 [INFO] [stderr] | [INFO] [stderr] 1801 | let err: Box = From::from("not support extra missing node".to_string()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1801 - let err: Box = From::from("not support extra missing node".to_string()); [INFO] [stderr] 1801 + let err: Box = From::from("not support extra missing node".to_string()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/decision_tree.rs:1838:26 [INFO] [stderr] | [INFO] [stderr] 1838 | let err: Box = From::from("children not found".to_string()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1838 - let err: Box = From::from("children not found".to_string()); [INFO] [stderr] 1838 + let err: Box = From::from("children not found".to_string()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `gbdt` (lib) generated 10 warnings [INFO] [stderr] warning: `gbdt` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] warning: unused import: `PredVec` [INFO] [stderr] --> examples/test-batch.rs:3:27 [INFO] [stderr] | [INFO] [stderr] 3 | use gbdt::decision_tree::{PredVec, ValueType}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `gbdt` (example "test-batch") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gbdt-0e3cab5ccc87c02d) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::build_decision_tree ... ok [INFO] [stdout] test tests::config_express ... ok [INFO] [stdout] test tests::fitness ... ok [INFO] [stdout] test tests::loss_type ... ok [INFO] [stdout] test tests::walk_tree ... ok [INFO] [stdout] test tests::decision_tree ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests gbdt [INFO] [stdout] [INFO] [stdout] running 73 tests [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type rlib --crate-type staticlib --crate-name gbdt --test /opt/rustwide/workdir/src/lib.rs -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern cfg_if=/opt/rustwide/target/debug/deps/libcfg_if-b22544e46cbb7baa.rlib --extern gbdt=/opt/rustwide/target/debug/deps/libgbdt-ac157f2d69c2c13e.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-4da081d859470107.rlib --extern regex=/opt/rustwide/target/debug/deps/libregex-dc665b958b1337b2.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-75d1aef85f509bd3.rlib --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-bdf005f1a2ed979c.so --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-1aaede3659088810.rlib --extern time=/opt/rustwide/target/debug/deps/libtime-cecf4159cbf7ae04.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="enable_training"' --cfg 'feature="input"' --cfg 'feature="regex"' --error-format human` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "f4add78f01463b746f59080dc01a888825b80215af0bc5e4cad0233b3373942c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4add78f01463b746f59080dc01a888825b80215af0bc5e4cad0233b3373942c", kill_on_drop: false }` [INFO] [stdout] f4add78f01463b746f59080dc01a888825b80215af0bc5e4cad0233b3373942c