[INFO] updating cached repository https://github.com/fritzprix/rust_study [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 47b2ac13b9ff3ed295a290ae1be13f901ff391dd [INFO] checking fritzprix/rust_study against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffritzprix%2Frust_study" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fritzprix/rust_study on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/fritzprix/rust_study [INFO] finished tweaking git repo https://github.com/fritzprix/rust_study [INFO] tweaked toml for git repo https://github.com/fritzprix/rust_study written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/fritzprix/rust_study already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d1a680f443fc06e6739e9a355f77941ea71b02d58491bd6e9ce5711953dd4a6f [INFO] running `"docker" "start" "-a" "d1a680f443fc06e6739e9a355f77941ea71b02d58491bd6e9ce5711953dd4a6f"` [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking collection v0.1.0 (/opt/rustwide/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: if this is intentional, prefix it 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: if this is intentional, prefix it 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: if this is intentional, prefix it 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; 4 warnings emitted [INFO] [stderr] [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] 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] [stderr] warning: build failed, waiting for other jobs to finish... [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 enum `std::option::Option<_>` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `collection`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d1a680f443fc06e6739e9a355f77941ea71b02d58491bd6e9ce5711953dd4a6f"` [INFO] running `"docker" "rm" "-f" "d1a680f443fc06e6739e9a355f77941ea71b02d58491bd6e9ce5711953dd4a6f"` [INFO] [stdout] d1a680f443fc06e6739e9a355f77941ea71b02d58491bd6e9ce5711953dd4a6f