[INFO] cloning repository https://github.com/djallen89/beams [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/djallen89/beams" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjallen89%2Fbeams", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjallen89%2Fbeams'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ba76cd57700855d97cc3d25f318a2c5705e1aad [INFO] checking djallen89/beams against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjallen89%2Fbeams" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/djallen89/beams on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/djallen89/beams [INFO] finished tweaking git repo https://github.com/djallen89/beams [INFO] tweaked toml for git repo https://github.com/djallen89/beams written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/djallen89/beams 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2ec0b1dca8e9332201f3932cbe7ec1b065106e2bb51432581a8bbf0e38daace [INFO] running `Command { std: "docker" "start" "-a" "f2ec0b1dca8e9332201f3932cbe7ec1b065106e2bb51432581a8bbf0e38daace", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2ec0b1dca8e9332201f3932cbe7ec1b065106e2bb51432581a8bbf0e38daace", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2ec0b1dca8e9332201f3932cbe7ec1b065106e2bb51432581a8bbf0e38daace", kill_on_drop: false }` [INFO] [stdout] f2ec0b1dca8e9332201f3932cbe7ec1b065106e2bb51432581a8bbf0e38daace [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 662a80df0254ee2098dd532de7b39126acb7710db0db92efe93d857338346c23 [INFO] running `Command { std: "docker" "start" "-a" "662a80df0254ee2098dd532de7b39126acb7710db0db92efe93d857338346c23", kill_on_drop: false }` [INFO] [stderr] Checking beams v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: missing parameters for function definition [INFO] [stdout] --> src/geometry.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn len [INFO] [stdout] | ^ help: add a parameter list [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing parameters for function definition [INFO] [stdout] --> src/geometry.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn len [INFO] [stdout] | ^ help: add a parameter list [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `->`, `<`, `where`, or `{`, found keyword `pub` [INFO] [stdout] --> src/geometry.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 102 | impl + Clone> Rectangle { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn len [INFO] [stdout] | - expected one of `->`, `<`, `where`, or `{` [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn ratio(&self, lxw: bool) -> T { [INFO] [stdout] | ^^^ unexpected token [INFO] [stdout] ... [INFO] [stdout] 132 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `->`, `<`, `where`, or `{`, found keyword `pub` [INFO] [stdout] --> src/geometry.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 102 | impl + Clone> Rectangle { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn len [INFO] [stdout] | - expected one of `->`, `<`, `where`, or `{` [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn ratio(&self, lxw: bool) -> T { [INFO] [stdout] | ^^^ unexpected token [INFO] [stdout] ... [INFO] [stdout] 132 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::wectors::Axis` [INFO] [stdout] --> src/geometry.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use super::wectors::{Axis, Point, Wector, Coordinates}; [INFO] [stdout] | ^^^^ no `Axis` in `wectors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::wectors::Axis` [INFO] [stdout] --> src/geometry.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use super::wectors::{Axis, Point, Wector, Coordinates}; [INFO] [stdout] | ^^^^ no `Axis` in `wectors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `CLone` in this scope [INFO] [stdout] --> src/wectors.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, CLone, Debug)] [INFO] [stdout] | ^^^^^ help: a derive macro with a similar name exists: `Clone` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/clone.rs:178:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named derive macro `Clone` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `CLone` in this scope [INFO] [stdout] --> src/wectors.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, CLone, Debug)] [INFO] [stdout] | ^^^^^ help: a derive macro with a similar name exists: `Clone` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/clone.rs:178:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named derive macro `Clone` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `s` in this scope [INFO] [stdout] --> src/xsection.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | s.iter().fold(T::zero(), |acc, x| acc + x.area()) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `s` in this scope [INFO] [stdout] --> src/xsection.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | s.iter().fold(T::zero(), |acc, x| acc + x.area()) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Copy` for type `Cartesian` [INFO] [stdout] --> src/wectors.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, CLone, Debug)] [INFO] [stdout] | ---- first implementation here [INFO] [stdout] 5 | [INFO] [stdout] 6 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^ conflicting implementation for `Cartesian` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Copy` for type `Cartesian` [INFO] [stdout] --> src/wectors.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, CLone, Debug)] [INFO] [stdout] | ---- first implementation here [INFO] [stdout] 5 | [INFO] [stdout] 6 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^ conflicting implementation for `Cartesian` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Debug` for type `Cartesian` [INFO] [stdout] --> src/wectors.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, CLone, Debug)] [INFO] [stdout] | ----- first implementation here [INFO] [stdout] 5 | [INFO] [stdout] 6 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ conflicting implementation for `Cartesian` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Debug` for type `Cartesian` [INFO] [stdout] --> src/wectors.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Copy, CLone, Debug)] [INFO] [stdout] | ----- first implementation here [INFO] [stdout] 5 | [INFO] [stdout] 6 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ conflicting implementation for `Cartesian` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/geometry.rs:106:39 [INFO] [stdout] | [INFO] [stdout] 106 | let normal = length.cross(width); [INFO] [stdout] | ----- ^^^^^ expected `&Wector`, found `Wector` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Wector<_>` [INFO] [stdout] found struct `Wector<_>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/wectors.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn cross(&self, v2: &Wector) -> Wector { [INFO] [stdout] | ^^^^^ -------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 106 | let normal = length.cross(&width); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `thin_wall` in initializer of `Rectangle<_>` [INFO] [stdout] --> src/geometry.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 107 | Ok(Rectangle { [INFO] [stdout] | ^^^^^^^^^ missing `thin_wall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/geometry.rs:106:39 [INFO] [stdout] | [INFO] [stdout] 106 | let normal = length.cross(width); [INFO] [stdout] | ----- ^^^^^ expected `&Wector`, found `Wector` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Wector<_>` [INFO] [stdout] found struct `Wector<_>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/wectors.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn cross(&self, v2: &Wector) -> Wector { [INFO] [stdout] | ^^^^^ -------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 106 | let normal = length.cross(&width); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `segments` found for reference `&Rectangle` in the current scope [INFO] [stdout] --> src/geometry.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | let segs = self.segments(); [INFO] [stdout] | ^^^^^^^^ method not found in `&Rectangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `thin_wall` in initializer of `Rectangle<_>` [INFO] [stdout] --> src/geometry.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 107 | Ok(Rectangle { [INFO] [stdout] | ^^^^^^^^^ missing `thin_wall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `segments` found for reference `&Rectangle` in the current scope [INFO] [stdout] --> src/geometry.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | let segs = self.segments(); [INFO] [stdout] | ^^^^^^^^ method not found in `&Rectangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `pos` on type `&Rectangle` [INFO] [stdout] --> src/geometry.rs:149:14 [INFO] [stdout] | [INFO] [stdout] 149 | self.pos.iter().fold(Point::zero(), |acc, x| acc + x.clone()).div_by(&four) [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `coords`, `position`, `width`, `height`, `normal`, `thin_wall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `segments` found for reference `&Rectangle` in the current scope [INFO] [stdout] --> src/geometry.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | let segs = self.segments(); [INFO] [stdout] | ^^^^^^^^ method not found in `&Rectangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `segments` found for reference `&Rectangle` in the current scope [INFO] [stdout] --> src/geometry.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | let segs = self.segments(); [INFO] [stdout] | ^^^^^^^^ method not found in `&Rectangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `segments` found for reference `&Rectangle` in the current scope [INFO] [stdout] --> src/geometry.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | let segs = self.segments(); [INFO] [stdout] | ^^^^^^^^ method not found in `&Rectangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `pos` on type `&Rectangle` [INFO] [stdout] --> src/geometry.rs:149:14 [INFO] [stdout] | [INFO] [stdout] 149 | self.pos.iter().fold(Point::zero(), |acc, x| acc + x.clone()).div_by(&four) [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `coords`, `position`, `width`, `height`, `normal`, `thin_wall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*self` which is behind a shared reference [INFO] [stdout] --> src/wectors.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ move occurs because `*self` has type `Cartesian`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `segments` found for reference `&Rectangle` in the current scope [INFO] [stdout] --> src/geometry.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | let segs = self.segments(); [INFO] [stdout] | ^^^^^^^^ method not found in `&Rectangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*self` which is behind a shared reference [INFO] [stdout] --> src/wectors.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ move occurs because `*self` has type `Cartesian`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0119, E0308, E0425, E0432, E0507, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `beams` (bin "beams") due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0119, E0308, E0425, E0432, E0507, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `beams` (bin "beams" test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "662a80df0254ee2098dd532de7b39126acb7710db0db92efe93d857338346c23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "662a80df0254ee2098dd532de7b39126acb7710db0db92efe93d857338346c23", kill_on_drop: false }` [INFO] [stdout] 662a80df0254ee2098dd532de7b39126acb7710db0db92efe93d857338346c23