[INFO] fetching crate rml 0.1.1... [INFO] testing rml-0.1.1 against 1.55.0 for beta-1.56-1 [INFO] extracting crate rml 0.1.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate rml 0.1.1 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rml 0.1.1 [INFO] removed 1 missing examples [INFO] finished tweaking crates.io crate rml 0.1.1 [INFO] tweaked toml for crates.io crate rml 0.1.1 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate crates.io crate rml 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ed24d64513b0a15f3360c6772642402adc7212f9a4a7451747fa7a37f5205b4 [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" "1ed24d64513b0a15f3360c6772642402adc7212f9a4a7451747fa7a37f5205b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ed24d64513b0a15f3360c6772642402adc7212f9a4a7451747fa7a37f5205b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ed24d64513b0a15f3360c6772642402adc7212f9a4a7451747fa7a37f5205b4", kill_on_drop: false }` [INFO] [stdout] 1ed24d64513b0a15f3360c6772642402adc7212f9a4a7451747fa7a37f5205b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.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] 2d63cffd602e26d5c32fee53c7b96f97a27eb2930090651d0a73b68a8f02a656 [INFO] running `Command { std: "docker" "start" "-a" "2d63cffd602e26d5c32fee53c7b96f97a27eb2930090651d0a73b68a8f02a656", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling rml v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.89s [INFO] running `Command { std: "docker" "inspect" "2d63cffd602e26d5c32fee53c7b96f97a27eb2930090651d0a73b68a8f02a656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d63cffd602e26d5c32fee53c7b96f97a27eb2930090651d0a73b68a8f02a656", kill_on_drop: false }` [INFO] [stdout] 2d63cffd602e26d5c32fee53c7b96f97a27eb2930090651d0a73b68a8f02a656 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8e8f3010360d0f6a0b0ba2ebd0f568bbffdef43bd679669db8c01dd41c1d429 [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" "b8e8f3010360d0f6a0b0ba2ebd0f568bbffdef43bd679669db8c01dd41c1d429", kill_on_drop: false }` [INFO] [stderr] Compiling rml v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.83s [INFO] running `Command { std: "docker" "inspect" "b8e8f3010360d0f6a0b0ba2ebd0f568bbffdef43bd679669db8c01dd41c1d429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8e8f3010360d0f6a0b0ba2ebd0f568bbffdef43bd679669db8c01dd41c1d429", kill_on_drop: false }` [INFO] [stdout] b8e8f3010360d0f6a0b0ba2ebd0f568bbffdef43bd679669db8c01dd41c1d429 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1f7e5b1e29cc677df8c1d63758e689d82064d95e8a748a51f850b2883c66c14d [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" "1f7e5b1e29cc677df8c1d63758e689d82064d95e8a748a51f850b2883c66c14d", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rml-4a6ab3c66136e297) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test math::distance::tests::manhattan_distance_test ... ok [INFO] [stdout] test knn::tests::normalize_data_test ... ok [INFO] [stdout] test math::norm::tests::l2_norm_test ... ok [INFO] [stdout] test knn::tests::calculate_distances_test ... ok [INFO] [stdout] test math::norm::tests::l1_norm_test ... ok [INFO] [stdout] test math::norm::tests::normalize_vector_test ... ok [INFO] [stdout] test math::distance::tests::euclidean_distance_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests rml [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/math/distance.rs - math::distance::euclidean_distance (line 31) ... FAILED [INFO] [stdout] test src/math/norm.rs - math::norm::l1_norm (line 41) ... FAILED [INFO] [stdout] test src/math/norm.rs - math::norm::l2_norm (line 29) ... FAILED [INFO] [stdout] test src/math/distance.rs - math::distance::manhattan_distance (line 48) ... FAILED [INFO] [stdout] test src/math/norm.rs - math::norm::normalize_vector (line 53) ... FAILED [INFO] [stdout] test src/knn.rs - knn (line 23) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] [INFO] [stdout] ---- src/math/distance.rs - math::distance::euclidean_distance (line 31) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `euclidean_distance` in this scope [INFO] [stdout] --> src/math/distance.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 5 | println!("{}", euclidean_distance(&x, &y)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use rml::math::distance::euclidean_distance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/math/norm.rs - math::norm::l1_norm (line 41) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `l1_norm` in this scope [INFO] [stdout] --> src/math/norm.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 4 | println!("{}", l1_norm(&p)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use rml::math::norm::l1_norm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/math/norm.rs - math::norm::l2_norm (line 29) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `l2_norm` in this scope [INFO] [stdout] --> src/math/norm.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 4 | println!("{}", l2_norm(&p)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use rml::math::norm::l2_norm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/math/distance.rs - math::distance::manhattan_distance (line 48) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `manhattan_distance` in this scope [INFO] [stdout] --> src/math/distance.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 5 | println!("{}", manhattan_distance(&x, &y)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use rml::math::distance::manhattan_distance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/math/norm.rs - math::norm::normalize_vector (line 53) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Norm` [INFO] [stdout] --> src/math/norm.rs:55:44 [INFO] [stdout] | [INFO] [stdout] 4 | println!("{:?}", normalize_vector(&mut p, &Norm::L2)); [INFO] [stdout] | ^^^^ use of undeclared type `Norm` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `normalize_vector` in this scope [INFO] [stdout] --> src/math/norm.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 4 | println!("{:?}", normalize_vector(&mut p, &Norm::L2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use rml::math::norm::normalize_vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/knn.rs - knn (line 23) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `math` [INFO] [stdout] --> src/knn.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 15 | Some(math::norm::Norm::L2), // L2 Normalization [INFO] [stdout] | ^^^^ use of undeclared crate or module `math` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CSVOutput` in this scope [INFO] [stdout] --> src/knn.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 6 | let training_data: CSVOutput = (Vec::new, Vec::new); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CSVOutput` in this scope [INFO] [stdout] --> src/knn.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 7 | let testing_data: CSVOutput = (Vec::new, Vec::new); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `knn` [INFO] [stdout] --> src/knn.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 10 | let knn = knn::KNN::new( [INFO] [stdout] | ^^^ not found in `knn` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use rml::knn::KNN; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/knn.rs - knn (line 23) [INFO] [stdout] src/math/distance.rs - math::distance::euclidean_distance (line 31) [INFO] [stdout] src/math/distance.rs - math::distance::manhattan_distance (line 48) [INFO] [stdout] src/math/norm.rs - math::norm::l1_norm (line 41) [INFO] [stdout] src/math/norm.rs - math::norm::l2_norm (line 29) [INFO] [stdout] src/math/norm.rs - math::norm::normalize_vector (line 53) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.82s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1f7e5b1e29cc677df8c1d63758e689d82064d95e8a748a51f850b2883c66c14d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f7e5b1e29cc677df8c1d63758e689d82064d95e8a748a51f850b2883c66c14d", kill_on_drop: false }` [INFO] [stdout] 1f7e5b1e29cc677df8c1d63758e689d82064d95e8a748a51f850b2883c66c14d