[INFO] cloning repository https://github.com/JaceCrowe/Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JaceCrowe/Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaceCrowe%2FRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaceCrowe%2FRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a256f2e9743d2d85c602b5ae8a64402f16d75828 [INFO] checking JaceCrowe/Rust/a256f2e9743d2d85c602b5ae8a64402f16d75828 against master#85c39893a761fe4c050523278da4e7e45ab42b6e for pr-134688 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaceCrowe%2FRust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JaceCrowe/Rust on toolchain 85c39893a761fe4c050523278da4e7e45ab42b6e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JaceCrowe/Rust [INFO] finished tweaking git repo https://github.com/JaceCrowe/Rust [INFO] tweaked toml for git repo https://github.com/JaceCrowe/Rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JaceCrowe/Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fc3a6c83ec5f5f5e29d0ebe268c91a22a354c8019dee1bf54a85ef68780a8e5 [INFO] running `Command { std: "docker" "start" "-a" "5fc3a6c83ec5f5f5e29d0ebe268c91a22a354c8019dee1bf54a85ef68780a8e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fc3a6c83ec5f5f5e29d0ebe268c91a22a354c8019dee1bf54a85ef68780a8e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fc3a6c83ec5f5f5e29d0ebe268c91a22a354c8019dee1bf54a85ef68780a8e5", kill_on_drop: false }` [INFO] [stdout] 5fc3a6c83ec5f5f5e29d0ebe268c91a22a354c8019dee1bf54a85ef68780a8e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13adeea1371cc2a91fee44300710ca33074b3a535dcf4ad118a00e27b0859e30 [INFO] running `Command { std: "docker" "start" "-a" "13adeea1371cc2a91fee44300710ca33074b3a535dcf4ad118a00e27b0859e30", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.69 [INFO] [stderr] Checking Rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected item, found `;` [INFO] [stdout] --> src/shapes/rect.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: braced struct declarations are not followed by a semicolon [INFO] [stdout] help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] 10 - }; [INFO] [stdout] 10 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected item, found `;` [INFO] [stdout] --> src/shapes/rect.rs:52:2 [INFO] [stdout] | [INFO] [stdout] 52 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: implementation declarations are not followed by a semicolon [INFO] [stdout] help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] 52 - }; [INFO] [stdout] 52 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected item, found `;` [INFO] [stdout] --> src/shapes/rect.rs:62:2 [INFO] [stdout] | [INFO] [stdout] 62 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: implementation declarations are not followed by a semicolon [INFO] [stdout] help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] 62 - }; [INFO] [stdout] 62 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/shapes/rect.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | //! \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | / impl Points for Rectangle { [INFO] [stdout] 144 | | fn points(&self) -> super::collisions::PointIter { [INFO] [stdout] 145 | | return super::collisions::PointIter { [INFO] [stdout] 146 | | points: vec![ [INFO] [stdout] ... | [INFO] [stdout] 155 | | } [INFO] [stdout] | |_- the inner doc comment doesn't annotate this implementation [INFO] [stdout] | [INFO] [stdout] help: to annotate the implementation, change the doc comment from inner to outer style [INFO] [stdout] | [INFO] [stdout] 102 | /// \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ [INFO] [stdout] | ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected item, found `;` [INFO] [stdout] --> src/shapes/rect.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: braced struct declarations are not followed by a semicolon [INFO] [stdout] help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] 10 - }; [INFO] [stdout] 10 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected item, found `;` [INFO] [stdout] --> src/shapes/rect.rs:52:2 [INFO] [stdout] | [INFO] [stdout] 52 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: implementation declarations are not followed by a semicolon [INFO] [stdout] help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] 52 - }; [INFO] [stdout] 52 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected item, found `;` [INFO] [stdout] --> src/shapes/rect.rs:62:2 [INFO] [stdout] | [INFO] [stdout] 62 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: implementation declarations are not followed by a semicolon [INFO] [stdout] help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] 62 - }; [INFO] [stdout] 62 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/shapes/rect.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | //! \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | / impl Points for Rectangle { [INFO] [stdout] 144 | | fn points(&self) -> super::collisions::PointIter { [INFO] [stdout] 145 | | return super::collisions::PointIter { [INFO] [stdout] 146 | | points: vec![ [INFO] [stdout] ... | [INFO] [stdout] 155 | | } [INFO] [stdout] | |_- the inner doc comment doesn't annotate this implementation [INFO] [stdout] | [INFO] [stdout] help: to annotate the implementation, change the doc comment from inner to outer style [INFO] [stdout] | [INFO] [stdout] 102 | /// \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ [INFO] [stdout] | ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shapes::collisions::Collidable` [INFO] [stdout] --> src/main.rs:610:78 [INFO] [stdout] | [INFO] [stdout] 610 | use shapes::{rect::Rectangle, circle::Circle, collisions::{Points, Contains, Collidable}}; [INFO] [stdout] | ^^^^^^^^^^ no `Collidable` in `shapes::collisions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Contains` in this scope [INFO] [stdout] --> src/shapes/circle.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | impl Contains for Circle { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Contains; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Points` in this scope [INFO] [stdout] --> src/shapes/circle.rs:53:6 [INFO] [stdout] | [INFO] [stdout] 53 | impl Points for Circle { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Points; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FromStr` in this scope [INFO] [stdout] --> src/shapes/circle.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 61 | impl FromStr for Circle { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use crate::FromStr; [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> src/shapes/rect.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | impl Default for Rect { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::Shape::Rect`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 43 | impl Default for crate::Shape { [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Rect` in this scope [INFO] [stdout] --> src/shapes/rect.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | return Rect { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Shape::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Points` in this scope [INFO] [stdout] --> src/shapes/rect.rs:143:6 [INFO] [stdout] | [INFO] [stdout] 143 | impl Points for Rectangle { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Points; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Contains` in this scope [INFO] [stdout] --> src/shapes/rect.rs:157:6 [INFO] [stdout] | [INFO] [stdout] 157 | impl Contains for Rectangle { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Contains; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FromStr` in this scope [INFO] [stdout] --> src/shapes/rect.rs:164:6 [INFO] [stdout] | [INFO] [stdout] 164 | impl FromStr for Rectangle { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use crate::FromStr; [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Collidable` in this scope [INFO] [stdout] --> src/shapes/collisions.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Collidable for V [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shapes::collisions::Collidable` [INFO] [stdout] --> src/main.rs:610:78 [INFO] [stdout] | [INFO] [stdout] 610 | use shapes::{rect::Rectangle, circle::Circle, collisions::{Points, Contains, Collidable}}; [INFO] [stdout] | ^^^^^^^^^^ no `Collidable` in `shapes::collisions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0432, E0753. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Contains` in this scope [INFO] [stdout] --> src/shapes/circle.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | impl Contains for Circle { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Contains; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Points` in this scope [INFO] [stdout] --> src/shapes/circle.rs:53:6 [INFO] [stdout] | [INFO] [stdout] 53 | impl Points for Circle { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Points; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FromStr` in this scope [INFO] [stdout] --> src/shapes/circle.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 61 | impl FromStr for Circle { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use crate::FromStr; [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> src/shapes/rect.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | impl Default for Rect { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::Shape::Rect`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 43 | impl Default for crate::Shape { [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Rect` in this scope [INFO] [stdout] --> src/shapes/rect.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | return Rect { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Shape::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Points` in this scope [INFO] [stdout] --> src/shapes/rect.rs:143:6 [INFO] [stdout] | [INFO] [stdout] 143 | impl Points for Rectangle { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Points; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Contains` in this scope [INFO] [stdout] --> src/shapes/rect.rs:157:6 [INFO] [stdout] | [INFO] [stdout] 157 | impl Contains for Rectangle { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Contains; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FromStr` in this scope [INFO] [stdout] --> src/shapes/rect.rs:164:6 [INFO] [stdout] | [INFO] [stdout] 164 | impl FromStr for Rectangle { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use crate::FromStr; [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Collidable` in this scope [INFO] [stdout] --> src/shapes/collisions.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Collidable for V [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Rust` (bin "Rust") due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0432, E0753. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Rust` (bin "Rust" test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "13adeea1371cc2a91fee44300710ca33074b3a535dcf4ad118a00e27b0859e30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13adeea1371cc2a91fee44300710ca33074b3a535dcf4ad118a00e27b0859e30", kill_on_drop: false }` [INFO] [stdout] 13adeea1371cc2a91fee44300710ca33074b3a535dcf4ad118a00e27b0859e30