[INFO] fetching crate hora-new 0.0.3...
[INFO] testing hora-new-0.0.3 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate hora-new 0.0.3 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate hora-new 0.0.3
[INFO] finished tweaking crates.io crate hora-new 0.0.3
[INFO] tweaked toml for crates.io crate hora-new 0.0.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate hora-new 0.0.3 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate hora-new 0.0.3 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num v0.4.0
[INFO] [stderr]   Downloaded ahash v0.8.3
[INFO] [stderr]   Downloaded ciborium-ll v0.2.0
[INFO] [stderr]   Downloaded ciborium-io v0.2.0
[INFO] [stderr]   Downloaded os_str_bytes v6.5.0
[INFO] [stderr]   Downloaded ciborium v0.2.0
[INFO] [stderr]   Downloaded textwrap v0.16.0
[INFO] [stderr]   Downloaded bumpalo v3.12.1
[INFO] [stderr]   Downloaded regex-syntax v0.7.1
[INFO] [stderr]   Downloaded clap v3.2.24
[INFO] [stderr]   Downloaded regex v1.8.1
[INFO] [stderr]   Downloaded libc v0.2.142
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9ef93abb47df6622be4fee67384fa8502570789129a576707bea492bb4d00f80
[INFO] running `Command { std: "docker" "start" "9ef93abb47df6622be4fee67384fa8502570789129a576707bea492bb4d00f80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9ef93abb47df6622be4fee67384fa8502570789129a576707bea492bb4d00f80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9ef93abb47df6622be4fee67384fa8502570789129a576707bea492bb4d00f80" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9ef93abb47df6622be4fee67384fa8502570789129a576707bea492bb4d00f80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9ef93abb47df6622be4fee67384fa8502570789129a576707bea492bb4d00f80" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling proc-macro2 v1.0.56
[INFO] [stderr]    Compiling crossbeam-utils v0.8.15
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling unicode-ident v1.0.8
[INFO] [stderr]    Compiling serde_derive v1.0.160
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]    Compiling serde v1.0.160
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling memoffset v0.8.0
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.14
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling crossbeam-channel v0.5.8
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling getrandom v0.2.9
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num-complex v0.4.3
[INFO] [stderr]    Compiling rayon v1.7.0
[INFO] [stderr]    Compiling num v0.4.0
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling hora-new v0.0.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 19.26s
[INFO] running `Command { std: "docker" "inspect" "9ef93abb47df6622be4fee67384fa8502570789129a576707bea492bb4d00f80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9ef93abb47df6622be4fee67384fa8502570789129a576707bea492bb4d00f80" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling serde v1.0.160
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]    Compiling itoa v1.0.6
[INFO] [stderr]    Compiling ciborium-io v0.2.0
[INFO] [stderr]    Compiling os_str_bytes v6.5.0
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling half v1.8.2
[INFO] [stderr]    Compiling plotters-backend v0.3.4
[INFO] [stderr]    Compiling ryu v1.0.13
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling regex-syntax v0.7.1
[INFO] [stderr]    Compiling textwrap v0.16.0
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling oorandom v11.1.3
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling walkdir v2.3.3
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling rayon v1.7.0
[INFO] [stderr]    Compiling plotters-svg v0.3.3
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling ciborium-ll v0.2.0
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-complex v0.4.3
[INFO] [stderr]    Compiling plotters v0.3.4
[INFO] [stderr]    Compiling clap v3.2.24
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling regex v1.8.1
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling num v0.4.0
[INFO] [stderr]    Compiling ciborium v0.2.0
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling hora-new v0.0.3 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion v0.4.0
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 53.11s
[INFO] running `Command { std: "docker" "inspect" "9ef93abb47df6622be4fee67384fa8502570789129a576707bea492bb4d00f80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9ef93abb47df6622be4fee67384fa8502570789129a576707bea492bb4d00f80" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/deps/hora_new-05daa4529751bb0f)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test core::node::node_test ... ok
[INFO] [stdout] test core::calc::tests::test_dot ... ok
[INFO] [stdout] test core::kmeans::tests::test_general_kmeans ... ok
[INFO] [stdout] test tests::test_all_index ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 19.41s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests hora_new
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/core/ann_index.rs - core::ann_index::ANNIndex (line 18) ... FAILED
[INFO] [stdout] test src/core/ann_index.rs - core::ann_index::SerializableIndex (line 135) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/core/ann_index.rs - core::ann_index::ANNIndex (line 18) stdout ----
[INFO] [stdout] error: invalid format string: expected `}`, found `{`
[INFO] [stdout]   --> src/core/ann_index.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 24 | println!("{embedding {}'s nearest neighbor is {}}", 0, bf_idx.search(embs[0]));
[INFO] [stdout]    |           -          ^ expected `}` in format string
[INFO] [stdout]    |           |
[INFO] [stdout]    |           because of this opening brace
[INFO] [stdout]    |
[INFO] [stdout]    = note: if you intended to print `{`, you can escape it using `{{`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bf` in this scope
[INFO] [stdout]   --> src/core/ann_index.rs:19:27
[INFO] [stdout]    |
[INFO] [stdout] 19 | let mut bf_idx = Box::new(bf::bf::BruteForceIndex::<f32, usize>::new()); // use BruteForceIndex
[INFO] [stdout]    |                           ^^ use of unresolved module or unlinked crate `bf`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bf`, use `cargo add bf` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `node` in `core`
[INFO] [stdout]   --> src/core/ann_index.rs:21:27
[INFO] [stdout]    |
[INFO] [stdout] 21 |    bf_idx.add_node(&core::node::Node::<E, usize>::new_with_idx(&embs[i], i)); // add index
[INFO] [stdout]    |                           ^^^^ could not find `node` in `core`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `metrics` in `core`
[INFO] [stdout]   --> src/core/ann_index.rs:23:20
[INFO] [stdout]    |
[INFO] [stdout] 23 | bf_idx.build(core::metrics::Metric::Euclidean).unwrap(); // build up index
[INFO] [stdout]    |                    ^^^^^^^ could not find `metrics` in `core`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `embs` in this scope
[INFO] [stdout]   --> src/core/ann_index.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 | for i in 0..embs.len() {
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `E` in this scope
[INFO] [stdout]   --> src/core/ann_index.rs:21:40
[INFO] [stdout]    |
[INFO] [stdout] 21 |    bf_idx.add_node(&core::node::Node::<E, usize>::new_with_idx(&embs[i], i)); // add index
[INFO] [stdout]    |                                        ^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/cmp.rs:350:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Eq` defined here
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 21 |    bf_idx.add_node(&core::node::Node::<Eq, usize>::new_with_idx(&embs[i], i)); // add index
[INFO] [stdout]    |                                         +
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_ann_index_rs_18_0<E>() {
[INFO] [stdout]    |                                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `embs` in this scope
[INFO] [stdout]   --> src/core/ann_index.rs:21:65
[INFO] [stdout]    |
[INFO] [stdout] 21 |    bf_idx.add_node(&core::node::Node::<E, usize>::new_with_idx(&embs[i], i)); // add index
[INFO] [stdout]    |                                                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 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/core/ann_index.rs - core::ann_index::SerializableIndex (line 135) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `bf` in this scope
[INFO] [stdout]    --> src/core/ann_index.rs:136:27
[INFO] [stdout]     |
[INFO] [stdout] 136 | let mut bf_idx = Box::new(bf::bf::BruteForceIndex::<f32, usize>::new()); // use BruteForceIndex
[INFO] [stdout]     |                           ^^ use of unresolved module or unlinked crate `bf`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `bf`, use `cargo add bf` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `node` in `core`
[INFO] [stdout]    --> src/core/ann_index.rs:138:27
[INFO] [stdout]     |
[INFO] [stdout] 138 |    bf_idx.add_node(&core::node::Node::<E, usize>::new_with_idx(&embs[i], i)); // add index
[INFO] [stdout]     |                           ^^^^ could not find `node` in `core`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `bf` in this scope
[INFO] [stdout]    --> src/core/ann_index.rs:141:24
[INFO] [stdout]     |
[INFO] [stdout] 141 | let bf_idx2 = Box::new(bf::bf::BruteForceIndex::<f32, usize>::load("bf_idx.idx", &argument).unwrap());
[INFO] [stdout]     |                        ^^ use of unresolved module or unlinked crate `bf`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `bf`, use `cargo add bf` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `embs` in this scope
[INFO] [stdout]    --> src/core/ann_index.rs:137:13
[INFO] [stdout]     |
[INFO] [stdout] 137 | for i in 0..embs.len() {
[INFO] [stdout]     |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `E` in this scope
[INFO] [stdout]    --> src/core/ann_index.rs:138:40
[INFO] [stdout]     |
[INFO] [stdout] 138 |    bf_idx.add_node(&core::node::Node::<E, usize>::new_with_idx(&embs[i], i)); // add index
[INFO] [stdout]     |                                        ^
[INFO] [stdout]     |
[INFO] [stdout]    --> /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/cmp.rs:350:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named trait `Eq` defined here
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 138 |    bf_idx.add_node(&core::node::Node::<Eq, usize>::new_with_idx(&embs[i], i)); // add index
[INFO] [stdout]     |                                         +
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 135 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_ann_index_rs_135_0<E>() {
[INFO] [stdout]     |                                                                                  +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `embs` in this scope
[INFO] [stdout]    --> src/core/ann_index.rs:138:65
[INFO] [stdout]     |
[INFO] [stdout] 138 |    bf_idx.add_node(&core::node::Node::<E, usize>::new_with_idx(&embs[i], i)); // add index
[INFO] [stdout]     |                                                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `arguments` in this scope
[INFO] [stdout]    --> src/core/ann_index.rs:140:28
[INFO] [stdout]     |
[INFO] [stdout] 140 | bf_idx.dump("bf_idx.idx", &arguments::Args::new());
[INFO] [stdout]     |                            ^^^^^^^^^ use of unresolved module or unlinked crate `arguments`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `arguments`, use `cargo add arguments` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 135 + use std::env::Args;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Args`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 140 - bf_idx.dump("bf_idx.idx", &arguments::Args::new());
[INFO] [stdout] 140 + bf_idx.dump("bf_idx.idx", &Args::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `argument` in this scope
[INFO] [stdout]    --> src/core/ann_index.rs:141:83
[INFO] [stdout]     |
[INFO] [stdout] 141 | let bf_idx2 = Box::new(bf::bf::BruteForceIndex::<f32, usize>::load("bf_idx.idx", &argument).unwrap());
[INFO] [stdout]     |                                                                                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/core/ann_index.rs - core::ann_index::ANNIndex (line 18)
[INFO] [stdout]     src/core/ann_index.rs - core::ann_index::SerializableIndex (line 135)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "9ef93abb47df6622be4fee67384fa8502570789129a576707bea492bb4d00f80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ef93abb47df6622be4fee67384fa8502570789129a576707bea492bb4d00f80", kill_on_drop: false }`
[INFO] [stdout] 9ef93abb47df6622be4fee67384fa8502570789129a576707bea492bb4d00f80
