[INFO] updating cached repository https://github.com/binshengliu/rforests [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40a73e30640d99db67db94435f2361758a7ea949 [INFO] testing binshengliu/rforests against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [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 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb19ed30e31891d487c715ef3a1f15bc91f30d9238cbf1b5d2b029d8fe118d0d [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" "bb19ed30e31891d487c715ef3a1f15bc91f30d9238cbf1b5d2b029d8fe118d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb19ed30e31891d487c715ef3a1f15bc91f30d9238cbf1b5d2b029d8fe118d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb19ed30e31891d487c715ef3a1f15bc91f30d9238cbf1b5d2b029d8fe118d0d", kill_on_drop: false }` [INFO] [stdout] bb19ed30e31891d487c715ef3a1f15bc91f30d9238cbf1b5d2b029d8fe118d0d [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] e16230c6a13da473665b050bd7023f916089d9cc3ec7480a1e1addce96dc451e [INFO] running `Command { std: "docker" "start" "-a" "e16230c6a13da473665b050bd7023f916089d9cc3ec7480a1e1addce96dc451e", 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 unicode-width v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling scoped_threadpool v0.1.8 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling textwrap v0.9.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 aho-corasick v0.6.3 [INFO] [stderr] Compiling clap v2.27.0 [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 item '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 item '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 item '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 item '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 item '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 30.77s [INFO] running `Command { std: "docker" "inspect" "e16230c6a13da473665b050bd7023f916089d9cc3ec7480a1e1addce96dc451e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e16230c6a13da473665b050bd7023f916089d9cc3ec7480a1e1addce96dc451e", kill_on_drop: false }` [INFO] [stdout] e16230c6a13da473665b050bd7023f916089d9cc3ec7480a1e1addce96dc451e [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--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] a0e7ed41fc8fe059cce39541a5b2ffb24f66527648162d815c24aed187666c63 [INFO] running `Command { std: "docker" "start" "-a" "a0e7ed41fc8fe059cce39541a5b2ffb24f66527648162d815c24aed187666c63", kill_on_drop: false }` [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 item '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 item '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 item '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 item '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 item '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] [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 item '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 item '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 item '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 item '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 item '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 5.04s [INFO] running `Command { std: "docker" "inspect" "a0e7ed41fc8fe059cce39541a5b2ffb24f66527648162d815c24aed187666c63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0e7ed41fc8fe059cce39541a5b2ffb24f66527648162d815c24aed187666c63", kill_on_drop: false }` [INFO] [stdout] a0e7ed41fc8fe059cce39541a5b2ffb24f66527648162d815c24aed187666c63 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 22c7704e40f28cacb2f40611d9d3cec77327ce331a3b75baa9f85501de4c1d0c [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" "22c7704e40f28cacb2f40611d9d3cec77327ce331a3b75baa9f85501de4c1d0c", kill_on_drop: false }` [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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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.06s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rforests-51550fb72af7e06f [INFO] [stdout] [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_k_is_2 ... ok [INFO] [stdout] test metric::ndcg::test::test_ndcg_score ... ok [INFO] [stdout] test metric::dcg::test::test_dcg_swap_changes ... ok [INFO] [stdout] test format::svmlight::tests::test_line_parse ... ok [INFO] [stdout] test metric::ndcg::test::test_ndcg_swap_changes ... ok [INFO] [stdout] test metric::ndcg::test::test_ndcg_score_zeros ... ok [INFO] [stdout] test train::dataset::test::test_generate_queries ... ok [INFO] [stdout] test train::lambdamart::training_set::tests::test_instance_interface ... ok [INFO] [stdout] test train::lambdamart::training_set::tests::test_threshold_map ... 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::test_data_set_sample_non_split ... ok [INFO] [stdout] test train::lambdamart::training_set::tests::bench_split ... ok [INFO] [stdout] test train::lambdamart::lambdamart::test::test_lambda_mart ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rforests-e5115b62476d2e26 [INFO] [stdout] [INFO] [stderr] Doc-tests rforests [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::label_iter (line 261) ... 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::load (line 180) ... 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] [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" "22c7704e40f28cacb2f40611d9d3cec77327ce331a3b75baa9f85501de4c1d0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22c7704e40f28cacb2f40611d9d3cec77327ce331a3b75baa9f85501de4c1d0c", kill_on_drop: false }` [INFO] [stdout] 22c7704e40f28cacb2f40611d9d3cec77327ce331a3b75baa9f85501de4c1d0c