[INFO] cloning repository https://github.com/fritzprix/rust_study [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fritzprix/rust_study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffritzprix%2Frust_study", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffritzprix%2Frust_study'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 47b2ac13b9ff3ed295a290ae1be13f901ff391dd [INFO] checking fritzprix/rust_study against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffritzprix%2Frust_study" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fritzprix/rust_study on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-7/source/Cargo.toml [INFO] crate git repo https://github.com/fritzprix/rust_study already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8188e2c2a251f60d2304ead72bff6ecc4c1098efa6530de70e80bf9d6b6ec55d [INFO] running `Command { std: "docker" "start" "-a" "8188e2c2a251f60d2304ead72bff6ecc4c1098efa6530de70e80bf9d6b6ec55d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8188e2c2a251f60d2304ead72bff6ecc4c1098efa6530de70e80bf9d6b6ec55d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8188e2c2a251f60d2304ead72bff6ecc4c1098efa6530de70e80bf9d6b6ec55d", kill_on_drop: false }` [INFO] [stdout] 8188e2c2a251f60d2304ead72bff6ecc4c1098efa6530de70e80bf9d6b6ec55d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73588cdea71e56af0e4702148601e8f8c7e4d3b0aef6cffbb05d6d53eda26454 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "73588cdea71e56af0e4702148601e8f8c7e4d3b0aef6cffbb05d6d53eda26454", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.37 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking collection v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::PartialOrd` [INFO] [stdout] --> src/map/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp::PartialOrd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::PartialOrd` [INFO] [stdout] --> src/map/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp::PartialOrd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_hash` [INFO] [stdout] --> src/map/tree.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | let key_hash = Self::hash(key); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_hash` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `another` [INFO] [stdout] --> src/map/tree.rs:336:19 [INFO] [stdout] | [INFO] [stdout] 336 | fn join(self, another: Self) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_another` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/map/tree.rs:364:60 [INFO] [stdout] | [INFO] [stdout] 364 | fn locate(link : &mut Option>>, key: u64) -> &mut Option>> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `link` because it is borrowed [INFO] [stdout] --> src/map/tree.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 188 | fn right_leaf(link : &mut Link) -> &mut Link { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 189 | / match link { [INFO] [stdout] 190 | | &mut Some(ref mut current) if current.right.is_some() => BinaryTreeNode::right_leaf(&mut current.right), [INFO] [stdout] | | --------------- borrow of `link.0` occurs here [INFO] [stdout] 191 | | other => return other [INFO] [stdout] | | ^^^^^ move out of `link` occurs here [INFO] [stdout] 192 | | } [INFO] [stdout] | |_________- returning this value requires that `link.0` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `link` because it is borrowed [INFO] [stdout] --> src/map/tree.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 210 | fn left_leaf(link : &mut Link) -> &mut Link { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 211 | / match link { [INFO] [stdout] 212 | | &mut Some(ref mut current) if current.left.is_some() => BinaryTreeNode::left_leaf(&mut current.left), [INFO] [stdout] | | --------------- borrow of `link.0` occurs here [INFO] [stdout] 213 | | other => return other [INFO] [stdout] | | ^^^^^ move out of `link` occurs here [INFO] [stdout] 214 | | } [INFO] [stdout] | |_________- returning this value requires that `link.0` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0505`. [INFO] [stdout] [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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/map/mod.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | assert_ne!(name_tree.remove(*name), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "73588cdea71e56af0e4702148601e8f8c7e4d3b0aef6cffbb05d6d53eda26454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73588cdea71e56af0e4702148601e8f8c7e4d3b0aef6cffbb05d6d53eda26454", kill_on_drop: false }` [INFO] [stdout] 73588cdea71e56af0e4702148601e8f8c7e4d3b0aef6cffbb05d6d53eda26454