[INFO] cloning repository https://github.com/binshengliu/rforests [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/binshengliu/rforests" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinshengliu%2Frforests", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinshengliu%2Frforests'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40a73e30640d99db67db94435f2361758a7ea949 [INFO] testing binshengliu/rforests against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinshengliu%2Frforests" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/binshengliu/rforests on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/binshengliu/rforests [INFO] finished tweaking git repo https://github.com/binshengliu/rforests [INFO] tweaked toml for git repo https://github.com/binshengliu/rforests written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/binshengliu/rforests already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v2.27.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "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] 323c0f3b121cc16a03c6b463cd36a187f5a7f0a624a8f9cd028b1e336d3d8c70 [INFO] running `Command { std: "docker" "start" "-a" "323c0f3b121cc16a03c6b463cd36a187f5a7f0a624a8f9cd028b1e336d3d8c70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "323c0f3b121cc16a03c6b463cd36a187f5a7f0a624a8f9cd028b1e336d3d8c70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "323c0f3b121cc16a03c6b463cd36a187f5a7f0a624a8f9cd028b1e336d3d8c70", kill_on_drop: false }` [INFO] [stdout] 323c0f3b121cc16a03c6b463cd36a187f5a7f0a624a8f9cd028b1e336d3d8c70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b677e41cd96ca27a36337c5aa45bc0754f3c2dec870fefac418be275963522a6 [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" "b677e41cd96ca27a36337c5aa45bc0754f3c2dec870fefac418be275963522a6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.32 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazy_static v0.2.9 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.8 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.3 [INFO] [stderr] Compiling num_cpus v1.7.0 [INFO] [stderr] Compiling clap v2.27.0 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling rforests v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:1:51 [INFO] [stdout] | [INFO] [stdout] 1 | pub type Result = ::std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/metric/mod.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(name: &str, k: usize) -> Option> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/train/dataset.rs:326:22 [INFO] [stdout] | [INFO] [stdout] 326 | metric: &Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/train/validate_set.rs:24:40 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn measure(&self, metric: &Box) -> f64 { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/train/lambdamart/training_set.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | metric: &Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/train/lambdamart/training_set.rs:351:70 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn update_lambdas_weights<'a, 'b>(&'a mut self, metric: &Box) { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/train/lambdamart/training_set.rs:392:40 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn measure(&self, metric: &Box) -> f64 { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/train/lambdamart/lambdamart.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | pub metric: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/util.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | pub static ref POOL: Mutex = Mutex::new(Pool::new(num_cpus::get() as u32)); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/util.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | pub static ref POOL: Mutex = Mutex::new(Pool::new(num_cpus::get() as u32)); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/metric/ndcg.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | static ref DISCOUNT: Vec = (0..128).map(|i| 1.0 / (i as f64 + 2.0).log2()).collect(); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/metric/ndcg.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | static ref DISCOUNT: Vec = (0..128).map(|i| 1.0 / (i as f64 + 2.0).log2()).collect(); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/format/svmlight.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 217 | .map_err(|e| e.description().into()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ord_max_min` has been stable since 1.21.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(ord_max_min)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.77s [INFO] running `Command { std: "docker" "inspect" "b677e41cd96ca27a36337c5aa45bc0754f3c2dec870fefac418be275963522a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b677e41cd96ca27a36337c5aa45bc0754f3c2dec870fefac418be275963522a6", kill_on_drop: false }` [INFO] [stdout] b677e41cd96ca27a36337c5aa45bc0754f3c2dec870fefac418be275963522a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b7c6f48c9e7da8208903604c8ef186228d807c8896a615ea801ebc5431c653a [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" "6b7c6f48c9e7da8208903604c8ef186228d807c8896a615ea801ebc5431c653a", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:1:51 [INFO] [stdout] | [INFO] [stdout] 1 | pub type Result = ::std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/metric/mod.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(name: &str, k: usize) -> Option> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/train/dataset.rs:326:22 [INFO] [stdout] | [INFO] [stdout] 326 | metric: &Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/train/validate_set.rs:24:40 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn measure(&self, metric: &Box) -> f64 { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/train/lambdamart/training_set.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | metric: &Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/train/lambdamart/training_set.rs:351:70 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn update_lambdas_weights<'a, 'b>(&'a mut self, metric: &Box) { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/train/lambdamart/training_set.rs:392:40 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn measure(&self, metric: &Box) -> f64 { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/train/lambdamart/lambdamart.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | pub metric: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/util.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | pub static ref POOL: Mutex = Mutex::new(Pool::new(num_cpus::get() as u32)); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/util.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | pub static ref POOL: Mutex = Mutex::new(Pool::new(num_cpus::get() as u32)); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/metric/ndcg.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | static ref DISCOUNT: Vec = (0..128).map(|i| 1.0 / (i as f64 + 2.0).log2()).collect(); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/metric/ndcg.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | static ref DISCOUNT: Vec = (0..128).map(|i| 1.0 / (i as f64 + 2.0).log2()).collect(); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/format/svmlight.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 217 | .map_err(|e| e.description().into()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ord_max_min` has been stable since 1.21.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(ord_max_min)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rforests v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:1:51 [INFO] [stdout] | [INFO] [stdout] 1 | pub type Result = ::std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/metric/mod.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(name: &str, k: usize) -> Option> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/train/dataset.rs:326:22 [INFO] [stdout] | [INFO] [stdout] 326 | metric: &Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/train/validate_set.rs:24:40 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn measure(&self, metric: &Box) -> f64 { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/train/lambdamart/training_set.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | metric: &Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/train/lambdamart/training_set.rs:351:70 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn update_lambdas_weights<'a, 'b>(&'a mut self, metric: &Box) { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/train/lambdamart/training_set.rs:392:40 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn measure(&self, metric: &Box) -> f64 { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/train/lambdamart/lambdamart.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | pub metric: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/util.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | pub static ref POOL: Mutex = Mutex::new(Pool::new(num_cpus::get() as u32)); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/util.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | pub static ref POOL: Mutex = Mutex::new(Pool::new(num_cpus::get() as u32)); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/metric/ndcg.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | static ref DISCOUNT: Vec = (0..128).map(|i| 1.0 / (i as f64 + 2.0).log2()).collect(); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/metric/ndcg.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | static ref DISCOUNT: Vec = (0..128).map(|i| 1.0 / (i as f64 + 2.0).log2()).collect(); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/format/svmlight.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 217 | .map_err(|e| e.description().into()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ord_max_min` has been stable since 1.21.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(ord_max_min)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.89s [INFO] running `Command { std: "docker" "inspect" "6b7c6f48c9e7da8208903604c8ef186228d807c8896a615ea801ebc5431c653a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b7c6f48c9e7da8208903604c8ef186228d807c8896a615ea801ebc5431c653a", kill_on_drop: false }` [INFO] [stdout] 6b7c6f48c9e7da8208903604c8ef186228d807c8896a615ea801ebc5431c653a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "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] 05c453f9d58c598bce3c4c590c3c93776f82338c0427a603423368bca8145f39 [INFO] running `Command { std: "docker" "start" "-a" "05c453f9d58c598bce3c4c590c3c93776f82338c0427a603423368bca8145f39", 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/util.rs:1:51 [INFO] [stderr] | [INFO] [stderr] 1 | pub type Result = ::std::result::Result>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/metric/mod.rs:18:48 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn new(name: &str, k: usize) -> Option> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/train/dataset.rs:326:22 [INFO] [stderr] | [INFO] [stderr] 326 | metric: &Box, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/train/validate_set.rs:24:40 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn measure(&self, metric: &Box) -> f64 { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/train/lambdamart/training_set.rs:174:18 [INFO] [stderr] | [INFO] [stderr] 174 | metric: &Box, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/train/lambdamart/training_set.rs:351:70 [INFO] [stderr] | [INFO] [stderr] 351 | pub fn update_lambdas_weights<'a, 'b>(&'a mut self, metric: &Box) { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/train/lambdamart/training_set.rs:392:40 [INFO] [stderr] | [INFO] [stderr] 392 | pub fn measure(&self, metric: &Box) -> f64 { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/train/lambdamart/lambdamart.rs:20:21 [INFO] [stderr] | [INFO] [stderr] 20 | pub metric: Box, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/util.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / lazy_static! { [INFO] [stderr] 13 | | pub static ref POOL: Mutex = Mutex::new(Pool::new(num_cpus::get() as u32)); [INFO] [stderr] 14 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/util.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / lazy_static! { [INFO] [stderr] 13 | | pub static ref POOL: Mutex = Mutex::new(Pool::new(num_cpus::get() as u32)); [INFO] [stderr] 14 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/metric/ndcg.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / lazy_static! { [INFO] [stderr] 5 | | static ref DISCOUNT: Vec = (0..128).map(|i| 1.0 / (i as f64 + 2.0).log2()).collect(); [INFO] [stderr] 6 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/metric/ndcg.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / lazy_static! { [INFO] [stderr] 5 | | static ref DISCOUNT: Vec = (0..128).map(|i| 1.0 / (i as f64 + 2.0).log2()).collect(); [INFO] [stderr] 6 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/format/svmlight.rs:217:32 [INFO] [stderr] | [INFO] [stderr] 217 | .map_err(|e| e.description().into()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `ord_max_min` has been stable since 1.21.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(ord_max_min)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 15 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util.rs:1:51 [INFO] [stderr] | [INFO] [stderr] 1 | pub type Result = ::std::result::Result>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/metric/mod.rs:18:48 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn new(name: &str, k: usize) -> Option> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/train/dataset.rs:326:22 [INFO] [stderr] | [INFO] [stderr] 326 | metric: &Box, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/train/validate_set.rs:24:40 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn measure(&self, metric: &Box) -> f64 { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/train/lambdamart/training_set.rs:174:18 [INFO] [stderr] | [INFO] [stderr] 174 | metric: &Box, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/train/lambdamart/training_set.rs:351:70 [INFO] [stderr] | [INFO] [stderr] 351 | pub fn update_lambdas_weights<'a, 'b>(&'a mut self, metric: &Box) { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/train/lambdamart/training_set.rs:392:40 [INFO] [stderr] | [INFO] [stderr] 392 | pub fn measure(&self, metric: &Box) -> f64 { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/train/lambdamart/lambdamart.rs:20:21 [INFO] [stderr] | [INFO] [stderr] 20 | pub metric: Box, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Measure` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/util.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / lazy_static! { [INFO] [stderr] 13 | | pub static ref POOL: Mutex = Mutex::new(Pool::new(num_cpus::get() as u32)); [INFO] [stderr] 14 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/util.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / lazy_static! { [INFO] [stderr] 13 | | pub static ref POOL: Mutex = Mutex::new(Pool::new(num_cpus::get() as u32)); [INFO] [stderr] 14 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/metric/ndcg.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / lazy_static! { [INFO] [stderr] 5 | | static ref DISCOUNT: Vec = (0..128).map(|i| 1.0 / (i as f64 + 2.0).log2()).collect(); [INFO] [stderr] 6 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/metric/ndcg.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / lazy_static! { [INFO] [stderr] 5 | | static ref DISCOUNT: Vec = (0..128).map(|i| 1.0 / (i as f64 + 2.0).log2()).collect(); [INFO] [stderr] 6 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/format/svmlight.rs:217:32 [INFO] [stderr] | [INFO] [stderr] 217 | .map_err(|e| e.description().into()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `ord_max_min` has been stable since 1.21.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(ord_max_min)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 15 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.66s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rforests-e059d423af8f0c43 [INFO] [stdout] running 17 tests [INFO] [stdout] test metric::dcg::test::test_dcg_score_k_is_2 ... ok [INFO] [stdout] test metric::dcg::test::test_dcg_score ... ok [INFO] [stdout] test metric::ndcg::test::test_ndcg_score ... ok [INFO] [stdout] test metric::ndcg::test::test_ndcg_score_zeros ... ok [INFO] [stdout] test format::svmlight::tests::test_line_parse ... ok [INFO] [stdout] test train::dataset::test::test_generate_queries ... ok [INFO] [stdout] test metric::dcg::test::test_dcg_swap_changes ... ok [INFO] [stdout] test train::lambdamart::training_set::tests::test_threshold_map ... ok [INFO] [stdout] test metric::ndcg::test::test_ndcg_swap_changes ... ok [INFO] [stdout] test metric::ndcg::test::test_ndcg_score_k_is_2 ... ok [INFO] [stdout] test train::lambdamart::training_set::tests::test_instance_interface ... ok [INFO] [stdout] test train::lambdamart::training_set::tests::test_data_set_sample_non_split ... ok [INFO] [stdout] test train::lambdamart::training_set::tests::test_data_set_lambda_weight ... ok [INFO] [stdout] test train::lambdamart::training_set::tests::test_data_set_sample_split ... ok [INFO] [stdout] test train::lambdamart::regression_tree::test::test_tree_fitting ... ok [INFO] [stdout] test train::lambdamart::training_set::tests::bench_split ... ok [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rforests-efc9fb3f8a0df4de [INFO] [stdout] test train::lambdamart::lambdamart::test::test_lambda_mart ... ok [INFO] [stderr] Doc-tests rforests [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/train/lambdamart/training_set.rs - train::lambdamart::training_set::ThresholdMap::map (line 25) ... FAILED [INFO] [stdout] test src/train/lambdamart/lambdamart.rs - train::lambdamart::lambdamart::LambdaMART::new (line 94) ... ok [INFO] [stdout] test src/train/dataset.rs - train::dataset::DataSet::query_iter (line 294) ... ok [INFO] [stdout] test src/train/dataset.rs - train::dataset::DataSet::from_iter (line 124) ... ok [INFO] [stdout] test src/train/dataset.rs - train::dataset::DataSet::fid_iter (line 238) ... ok [INFO] [stdout] test src/train/dataset.rs - train::dataset::DataSet::label_iter (line 261) ... ok [INFO] [stdout] test src/train/dataset.rs - train::dataset::DataSet::load (line 180) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/train/lambdamart/training_set.rs - train::lambdamart::training_set::ThresholdMap::map (line 25) stdout ---- [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/train/lambdamart/training_set.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(map.len(), 100,000); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(map.len(), 100,"{}", 000); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `map` in this scope [INFO] [stdout] --> src/train/lambdamart/training_set.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!(map.len(), 100,000); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `map` in this scope [INFO] [stdout] --> src/train/lambdamart/training_set.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 4 | assert!(map.iter().all(|&i| i <= 256)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/train/lambdamart/training_set.rs - train::lambdamart::training_set::ThresholdMap::map (line 25) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 6 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "05c453f9d58c598bce3c4c590c3c93776f82338c0427a603423368bca8145f39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05c453f9d58c598bce3c4c590c3c93776f82338c0427a603423368bca8145f39", kill_on_drop: false }` [INFO] [stdout] 05c453f9d58c598bce3c4c590c3c93776f82338c0427a603423368bca8145f39