[INFO] fetching crate gbdt 0.1.1... [INFO] testing gbdt-0.1.1 against 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "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] 436748fe3cb1c89733c9c935b0cde12e6817c57a36ccbc57e634b23a4f1cece1 [INFO] running `Command { std: "docker" "start" "-a" "436748fe3cb1c89733c9c935b0cde12e6817c57a36ccbc57e634b23a4f1cece1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "436748fe3cb1c89733c9c935b0cde12e6817c57a36ccbc57e634b23a4f1cece1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "436748fe3cb1c89733c9c935b0cde12e6817c57a36ccbc57e634b23a4f1cece1", kill_on_drop: false }` [INFO] [stdout] 436748fe3cb1c89733c9c935b0cde12e6817c57a36ccbc57e634b23a4f1cece1 [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" "+1.60.0" "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] 471f8c378d0aa5c766b6d8cc07576f71311a32b841b2036a212ca6d1c0a90be6 [INFO] running `Command { std: "docker" "start" "-a" "471f8c378d0aa5c766b6d8cc07576f71311a32b841b2036a212ca6d1c0a90be6", 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" "471f8c378d0aa5c766b6d8cc07576f71311a32b841b2036a212ca6d1c0a90be6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "471f8c378d0aa5c766b6d8cc07576f71311a32b841b2036a212ca6d1c0a90be6", kill_on_drop: false }` [INFO] [stdout] 471f8c378d0aa5c766b6d8cc07576f71311a32b841b2036a212ca6d1c0a90be6 [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50eedac867cb4639b60e2c9a5a2f9a92279637b29567aff9f983e9ffff478dc3 [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" "50eedac867cb4639b60e2c9a5a2f9a92279637b29567aff9f983e9ffff478dc3", 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.98s [INFO] running `Command { std: "docker" "inspect" "50eedac867cb4639b60e2c9a5a2f9a92279637b29567aff9f983e9ffff478dc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50eedac867cb4639b60e2c9a5a2f9a92279637b29567aff9f983e9ffff478dc3", kill_on_drop: false }` [INFO] [stdout] 50eedac867cb4639b60e2c9a5a2f9a92279637b29567aff9f983e9ffff478dc3 [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" "+1.60.0" "test" "--frozen", 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] c89d528962bb797075d5ca1fa482f16b9b4586d55a5dcc375ff204243a2ae130 [INFO] running `Command { std: "docker" "start" "-a" "c89d528962bb797075d5ca1fa482f16b9b4586d55a5dcc375ff204243a2ae130", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [stdout] [INFO] [stderr] | ^^^^^^^ [INFO] [stdout] running 6 tests [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.49s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gbdt-fef89376dc7fa506) [INFO] [stdout] test tests::build_decision_tree ... ok [INFO] [stdout] test tests::config_express ... ok [INFO] [stdout] test tests::loss_type ... ok [INFO] [stdout] test tests::decision_tree ... ok [INFO] [stdout] test tests::walk_tree ... ok [INFO] [stdout] test tests::fitness ... 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-77abc38cc38d84d4.rlib --extern gbdt=/opt/rustwide/target/debug/deps/libgbdt-a1d6ab9a07d73ed9.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-51bc00f10f0b03c5.rlib --extern regex=/opt/rustwide/target/debug/deps/libregex-17f271d2d4d7a3b5.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-3470883e27ae10a4.rlib --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-ad67c4f1270cdf22.so --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-00ba47f61690855c.rlib --extern time=/opt/rustwide/target/debug/deps/libtime-146967e375d5efe7.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" "c89d528962bb797075d5ca1fa482f16b9b4586d55a5dcc375ff204243a2ae130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c89d528962bb797075d5ca1fa482f16b9b4586d55a5dcc375ff204243a2ae130", kill_on_drop: false }` [INFO] [stdout] c89d528962bb797075d5ca1fa482f16b9b4586d55a5dcc375ff204243a2ae130