[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffritzprix%2Frust_study" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fritzprix/rust_study on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-11/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b364bfddf3a465a4b35a19f2646182b190662b0c132f639478d7340e5f38467 [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" "3b364bfddf3a465a4b35a19f2646182b190662b0c132f639478d7340e5f38467", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b364bfddf3a465a4b35a19f2646182b190662b0c132f639478d7340e5f38467", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b364bfddf3a465a4b35a19f2646182b190662b0c132f639478d7340e5f38467", kill_on_drop: false }` [INFO] [stdout] 3b364bfddf3a465a4b35a19f2646182b190662b0c132f639478d7340e5f38467 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 303297b1c346f19831150dacdaef51dbbb1c96c76fa0703fc3b76cafd38f0555 [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" "303297b1c346f19831150dacdaef51dbbb1c96c76fa0703fc3b76cafd38f0555", kill_on_drop: false }` [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" "303297b1c346f19831150dacdaef51dbbb1c96c76fa0703fc3b76cafd38f0555", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "303297b1c346f19831150dacdaef51dbbb1c96c76fa0703fc3b76cafd38f0555", kill_on_drop: false }` [INFO] [stdout] 303297b1c346f19831150dacdaef51dbbb1c96c76fa0703fc3b76cafd38f0555