[INFO] cloning repository https://github.com/alexjperkins/rustgorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexjperkins/rustgorithms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexjperkins%2Frustgorithms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexjperkins%2Frustgorithms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4f77f6971074d9d59d1c1fdaa46244ccc1506a0 [INFO] testing alexjperkins/rustgorithms against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexjperkins%2Frustgorithms" "/workspace/builds/worker-84/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-84/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexjperkins/rustgorithms on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alexjperkins/rustgorithms [INFO] finished tweaking git repo https://github.com/alexjperkins/rustgorithms [INFO] tweaked toml for git repo https://github.com/alexjperkins/rustgorithms written to /workspace/builds/worker-84/source/Cargo.toml [INFO] crate git repo https://github.com/alexjperkins/rustgorithms already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26e2fadac3ee602a48e9c5e993ce3ea95e938a5bc1bc464bc8b08e01f23bc60e [INFO] running `Command { std: "docker" "start" "-a" "26e2fadac3ee602a48e9c5e993ce3ea95e938a5bc1bc464bc8b08e01f23bc60e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26e2fadac3ee602a48e9c5e993ce3ea95e938a5bc1bc464bc8b08e01f23bc60e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26e2fadac3ee602a48e9c5e993ce3ea95e938a5bc1bc464bc8b08e01f23bc60e", kill_on_drop: false }` [INFO] [stdout] 26e2fadac3ee602a48e9c5e993ce3ea95e938a5bc1bc464bc8b08e01f23bc60e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bc224d168f00599dfeb3b96d1f223e1c819fe136869667979f167a08c0a7483 [INFO] running `Command { std: "docker" "start" "-a" "3bc224d168f00599dfeb3b96d1f223e1c819fe136869667979f167a08c0a7483", kill_on_drop: false }` [INFO] [stderr] Compiling rustgorithms v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0532]: expected tuple struct or tuple variant, found unit variant `None` [INFO] [stdout] --> src/binary_tree_diameter.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | None() => TreeInfo::new(), [INFO] [stdout] | ^^^^^^ help: use this syntax instead: `None` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `i32` should have an upper camel case name [INFO] [stdout] --> src/binary_tree_diameter.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | struct BinaryTree { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `I32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `i32` should have an upper camel case name [INFO] [stdout] --> src/binary_tree_diameter.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | struct TreeInfo { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `I32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `i32` should have an upper camel case name [INFO] [stdout] --> src/binary_tree_diameter.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | fn new() -> &TreeInfo { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `I32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `i32` should have an upper camel case name [INFO] [stdout] --> src/binary_tree_diameter.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(value: i32) -> &BinaryTree<> { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `I32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/binary_tree_diameter.rs:28:52 [INFO] [stdout] | [INFO] [stdout] 28 | fn get_tree_info(tree: Option>) -> &TreeInfo { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value with an elided lifetime, but the lifetime cannot be derived from the arguments [INFO] [stdout] help: consider using the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 28 | fn get_tree_info(tree: Option>) -> &'static TreeInfo { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/binary_tree_diameter.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | fn new() -> &TreeInfo { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 13 | fn new() -> &'static TreeInfo { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/binary_tree_diameter.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(value: i32) -> &BinaryTree<> { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value with an elided lifetime, but the lifetime cannot be derived from the arguments [INFO] [stdout] help: consider using the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(value: i32) -> &'static BinaryTree<> { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this struct takes 1 generic argument but 0 generic arguments were supplied [INFO] [stdout] --> src/binary_tree_diameter.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(value: i32) -> &BinaryTree<> { [INFO] [stdout] | ^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `i32` [INFO] [stdout] --> src/binary_tree_diameter.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct BinaryTree { [INFO] [stdout] | ^^^^^^^^^^ --- [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(value: i32) -> &BinaryTree { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0107, E0532. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustgorithms` due to 6 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3bc224d168f00599dfeb3b96d1f223e1c819fe136869667979f167a08c0a7483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bc224d168f00599dfeb3b96d1f223e1c819fe136869667979f167a08c0a7483", kill_on_drop: false }` [INFO] [stdout] 3bc224d168f00599dfeb3b96d1f223e1c819fe136869667979f167a08c0a7483