[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] testing fritzprix/rust_study against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffritzprix%2Frust_study" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fritzprix/rust_study on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-2/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" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b7e8eff970cb1a852d96ba813792b4abcc018b30d1a96d308a0049a9b8755797 [INFO] running `"docker" "start" "-a" "b7e8eff970cb1a852d96ba813792b4abcc018b30d1a96d308a0049a9b8755797"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.37 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling 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] 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: build failed [INFO] running `"docker" "inspect" "b7e8eff970cb1a852d96ba813792b4abcc018b30d1a96d308a0049a9b8755797"` [INFO] running `"docker" "rm" "-f" "b7e8eff970cb1a852d96ba813792b4abcc018b30d1a96d308a0049a9b8755797"` [INFO] [stdout] b7e8eff970cb1a852d96ba813792b4abcc018b30d1a96d308a0049a9b8755797