[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 beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 13ad26d603b7522e0abad503f25712c33bcf1bbe7dc3884aa892920825c6c49a [INFO] running `"docker" "start" "-a" "13ad26d603b7522e0abad503f25712c33bcf1bbe7dc3884aa892920825c6c49a"` [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] error[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] error[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] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0505`. [INFO] [stderr] error: Could not compile `collection`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "13ad26d603b7522e0abad503f25712c33bcf1bbe7dc3884aa892920825c6c49a"` [INFO] running `"docker" "rm" "-f" "13ad26d603b7522e0abad503f25712c33bcf1bbe7dc3884aa892920825c6c49a"` [INFO] [stdout] 13ad26d603b7522e0abad503f25712c33bcf1bbe7dc3884aa892920825c6c49a