[INFO] updating cached repository fritzprix/rust_study [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/fritzprix/rust_study [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/fritzprix/rust_study" "work/ex/beta-1.38-1/sources/1.37.0/gh/fritzprix/rust_study"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/fritzprix/rust_study'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/fritzprix/rust_study" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/fritzprix/rust_study"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/fritzprix/rust_study'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 47b2ac13b9ff3ed295a290ae1be13f901ff391dd [INFO] sha for GitHub repo fritzprix/rust_study: 47b2ac13b9ff3ed295a290ae1be13f901ff391dd [INFO] validating manifest of fritzprix/rust_study on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of fritzprix/rust_study on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing fritzprix/rust_study [INFO] finished frobbing fritzprix/rust_study [INFO] frobbed toml for fritzprix/rust_study written to work/ex/beta-1.38-1/sources/1.37.0/gh/fritzprix/rust_study/Cargo.toml [INFO] started frobbing fritzprix/rust_study [INFO] finished frobbing fritzprix/rust_study [INFO] frobbed toml for fritzprix/rust_study written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/fritzprix/rust_study/Cargo.toml [INFO] crate fritzprix/rust_study already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing fritzprix/rust_study against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/fritzprix/rust_study:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 5a458da520cd78c74756283162dfec198aedcc6e677521e90ffe73a9923ec6c7 [INFO] running `"docker" "start" "-a" "5a458da520cd78c74756283162dfec198aedcc6e677521e90ffe73a9923ec6c7"` [INFO] [stderr] Compiling collection v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `std::cmp::PartialOrd` [INFO] [stderr] --> src/map/mod.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::cmp::PartialOrd; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key_hash` [INFO] [stderr] --> src/map/tree.rs:328:13 [INFO] [stderr] | [INFO] [stderr] 328 | let key_hash = Self::hash(key); [INFO] [stderr] | ^^^^^^^^ help: consider prefixing with an underscore: `_key_hash` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `another` [INFO] [stderr] --> src/map/tree.rs:336:19 [INFO] [stderr] | [INFO] [stderr] 336 | fn join(self, another: Self) -> Self { [INFO] [stderr] | ^^^^^^^ help: consider prefixing with an underscore: `_another` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/map/tree.rs:364:60 [INFO] [stderr] | [INFO] [stderr] 364 | fn locate(link : &mut Option>>, key: u64) -> &mut Option>> [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning[E0505]: cannot move out of `link` because it is borrowed [INFO] [stderr] --> src/map/tree.rs:191:13 [INFO] [stderr] | [INFO] [stderr] 188 | fn right_leaf(link : &mut Link) -> &mut Link { [INFO] [stderr] | - let's call the lifetime of this reference `'1` [INFO] [stderr] 189 | / match link { [INFO] [stderr] 190 | | &mut Some(ref mut current) if current.right.is_some() => BinaryTreeNode::right_leaf(&mut current.right), [INFO] [stderr] | | --------------- borrow of `link.0` occurs here [INFO] [stderr] 191 | | other => return other [INFO] [stderr] | | ^^^^^ move out of `link` occurs here [INFO] [stderr] 192 | | } [INFO] [stderr] | |_________- returning this value requires that `link.0` is borrowed for `'1` [INFO] [stderr] | [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] warning[E0505]: cannot move out of `link` because it is borrowed [INFO] [stderr] --> src/map/tree.rs:213:13 [INFO] [stderr] | [INFO] [stderr] 210 | fn left_leaf(link : &mut Link) -> &mut Link { [INFO] [stderr] | - let's call the lifetime of this reference `'1` [INFO] [stderr] 211 | / match link { [INFO] [stderr] 212 | | &mut Some(ref mut current) if current.left.is_some() => BinaryTreeNode::left_leaf(&mut current.left), [INFO] [stderr] | | --------------- borrow of `link.0` occurs here [INFO] [stderr] 213 | | other => return other [INFO] [stderr] | | ^^^^^ move out of `link` occurs here [INFO] [stderr] 214 | | } [INFO] [stderr] | |_________- returning this value requires that `link.0` is borrowed for `'1` [INFO] [stderr] | [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] warning: method is never used: `locate` [INFO] [stderr] --> src/map/tree.rs:364:5 [INFO] [stderr] | [INFO] [stderr] 364 | fn locate(link : &mut Option>>, key: u64) -> &mut Option>> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.31s [INFO] running `"docker" "inspect" "5a458da520cd78c74756283162dfec198aedcc6e677521e90ffe73a9923ec6c7"` [INFO] running `"docker" "rm" "-f" "5a458da520cd78c74756283162dfec198aedcc6e677521e90ffe73a9923ec6c7"` [INFO] [stdout] 5a458da520cd78c74756283162dfec198aedcc6e677521e90ffe73a9923ec6c7 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/fritzprix/rust_study:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 43dfe72f3bbcb062c2841982c8b70b15ca9a51d307abec04a90e5bb330b63dc6 [INFO] running `"docker" "start" "-a" "43dfe72f3bbcb062c2841982c8b70b15ca9a51d307abec04a90e5bb330b63dc6"` [INFO] [stderr] Compiling collection v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `std::cmp::PartialOrd` [INFO] [stderr] --> src/map/mod.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::cmp::PartialOrd; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/map/mod.rs:63:13 [INFO] [stderr] | [INFO] [stderr] 63 | assert_ne!(name_tree.remove(*name), None); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected bool, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `bool` [INFO] [stderr] found type `std::option::Option<_>` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `collection`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "43dfe72f3bbcb062c2841982c8b70b15ca9a51d307abec04a90e5bb330b63dc6"` [INFO] running `"docker" "rm" "-f" "43dfe72f3bbcb062c2841982c8b70b15ca9a51d307abec04a90e5bb330b63dc6"` [INFO] [stdout] 43dfe72f3bbcb062c2841982c8b70b15ca9a51d307abec04a90e5bb330b63dc6