[INFO] cloning repository https://github.com/gopik/btree
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gopik/btree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgopik%2Fbtree", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgopik%2Fbtree'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 59ee7607631d96d93220afe01bccac86c9bc0af9
[INFO] testing gopik/btree against 1.99.0-beta.8 for beta-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgopik%2Fbtree" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gopik/btree
[INFO] finished tweaking git repo https://github.com/gopik/btree
[INFO] tweaked toml for git repo https://github.com/gopik/btree written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gopik/btree 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 git repo https://github.com/gopik/btree 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]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded test-env-log v0.2.7
[INFO] [stderr]   Downloaded serde_json v1.0.67
[INFO] [stderr]   Downloaded libc v0.2.101
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5f36843801785b809fcbdc50f18646577722cf9a17cce3acd1d500c29be11233
[INFO] running `Command { std: "docker" "start" "5f36843801785b809fcbdc50f18646577722cf9a17cce3acd1d500c29be11233", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5f36843801785b809fcbdc50f18646577722cf9a17cce3acd1d500c29be11233", 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" "5f36843801785b809fcbdc50f18646577722cf9a17cce3acd1d500c29be11233" "/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" "5f36843801785b809fcbdc50f18646577722cf9a17cce3acd1d500c29be11233", 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" "5f36843801785b809fcbdc50f18646577722cf9a17cce3acd1d500c29be11233" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.76
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling libc v0.2.101
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde_json v1.0.67
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling test-env-log v0.2.7
[INFO] [stderr]    Compiling btree v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `NodeUnderflow` is never constructed
[INFO] [stdout]   --> src/main.rs:82:5
[INFO] [stdout]    |
[INFO] [stdout] 79 | enum BtreeError<K, V> {
[INFO] [stdout]    |      ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 82 |     NodeUnderflow(V),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BtreeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `KV` is never used
[INFO] [stdout]   --> src/main.rs:89:6
[INFO] [stdout]    |
[INFO] [stdout] 89 | enum KV<K, V> {
[INFO] [stdout]    |      ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `remove_key`, `num_keys`, `remove_max`, and `remove_min` are never used
[INFO] [stdout]    --> src/main.rs:113:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl<K: NodeKeyType, V> Node<K, V> {
[INFO] [stdout]     | ---------------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 113 |     fn remove_key(&mut self, key: &K) -> Result<V, BtreeError<K, V>> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     fn num_keys(&self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     fn remove_max(&mut self) -> KV<K, V> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     fn remove_min(&mut self) -> KV<K, V> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `remove_min`, `remove_max`, `remove_key`, and `num_keys` are never used
[INFO] [stdout]    --> src/main.rs:171:8
[INFO] [stdout]     |
[INFO] [stdout] 170 | impl<K: NodeKeyType, V> LeafNode<K, V> {
[INFO] [stdout]     | -------------------------------------- methods in this implementation
[INFO] [stdout] 171 |     fn remove_min(&mut self) -> (K, V) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 |     fn remove_max(&mut self) -> (K, V) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 221 |     fn remove_key(&mut self, key: &K) -> Result<V, BtreeError<K, V>> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 236 |     fn num_keys(&self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/main.rs:267:8
[INFO] [stdout]     |
[INFO] [stdout] 266 | impl<K: NodeKeyType, V> BranchNode<K, V> {
[INFO] [stdout]     | ---------------------------------------- methods in this implementation
[INFO] [stdout] 267 |     fn remove_min(&mut self) -> (K, Node<K, V>) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 270 |     fn remove_max(&mut self) -> (K, Node<K, V>) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 273 |     fn num_keys(&self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 343 |     fn leaf_borrow_from_left(&mut self, left: usize, key: usize, right: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 359 |     fn leaf_merge(&mut self, left: usize, key: usize, right: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 375 |     fn leaf_borrow_from_right(&mut self, left: usize, key: usize, right: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 386 |     fn handle_leaf_undeflow(&mut self, index: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 410 |     fn branch_borrow_from_left(&mut self, left: usize, key: usize, right: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 435 |     fn branch_merge(&mut self, left: usize, key: usize, right: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 451 |     fn branch_borrow_from_right(&mut self, left: usize, key: usize, right: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 472 |     fn handle_branch_underflow(&mut self, index: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 491 |     fn handle_underflow(&mut self, index: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 498 |     fn remove_key(&mut self, key: &K) -> Result<V, BtreeError<K, V>> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.52s
[INFO] running `Command { std: "docker" "inspect" "5f36843801785b809fcbdc50f18646577722cf9a17cce3acd1d500c29be11233", 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" "5f36843801785b809fcbdc50f18646577722cf9a17cce3acd1d500c29be11233" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling btree v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: enum `KV` is never used
[INFO] [stdout]   --> src/main.rs:89:6
[INFO] [stdout]    |
[INFO] [stdout] 89 | enum KV<K, V> {
[INFO] [stdout]    |      ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `remove_max` and `remove_min` are never used
[INFO] [stdout]    --> src/main.rs:134:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl<K: NodeKeyType, V> Node<K, V> {
[INFO] [stdout]     | ---------------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 134 |     fn remove_max(&mut self) -> KV<K, V> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     fn remove_min(&mut self) -> KV<K, V> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.74s
[INFO] running `Command { std: "docker" "inspect" "5f36843801785b809fcbdc50f18646577722cf9a17cce3acd1d500c29be11233", 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" "5f36843801785b809fcbdc50f18646577722cf9a17cce3acd1d500c29be11233" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: enum `KV` is never used
[INFO] [stderr]   --> src/main.rs:89:6
[INFO] [stderr]    |
[INFO] [stderr] 89 | enum KV<K, V> {
[INFO] [stderr]    |      ^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: methods `remove_max` and `remove_min` are never used
[INFO] [stderr]    --> src/main.rs:134:8
[INFO] [stderr]     |
[INFO] [stderr] 100 | impl<K: NodeKeyType, V> Node<K, V> {
[INFO] [stderr]     | ---------------------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 134 |     fn remove_max(&mut self) -> KV<K, V> {
[INFO] [stderr]     |        ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 147 |     fn remove_min(&mut self) -> KV<K, V> {
[INFO] [stderr]     |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `btree` (bin "btree" test) generated 2 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/btree-c33b6b2c4e20c496)
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test branch_handle_underflow_left_child ... ok
[INFO] [stdout] test leaf_remove_key_underflow ... ok
[INFO] [stdout] test leaf_find_key ... ok
[INFO] [stdout] test leaf_remove_key ... ok
[INFO] [stdout] test leaf_split ... ok
[INFO] [stdout] test vec_binary_search ... ok
[INFO] [stdout] test branch_handle_underflow_right_child ... ok
[INFO] [stdout] test branch_find ... ok
[INFO] [stdout] test branch_split ... ok
[INFO] [stdout] test btree_branch_split ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5f36843801785b809fcbdc50f18646577722cf9a17cce3acd1d500c29be11233", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f36843801785b809fcbdc50f18646577722cf9a17cce3acd1d500c29be11233", kill_on_drop: false }`
[INFO] [stdout] 5f36843801785b809fcbdc50f18646577722cf9a17cce3acd1d500c29be11233
