[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/1ba76cd57700855d97cc3d25f318a2c5705e1aad against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [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 f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ae1859e0d15a40ed1fa043bc000debb450600368258c83af42f76bc4d0ebb24 [INFO] running `Command { std: "docker" "start" "-a" "4ae1859e0d15a40ed1fa043bc000debb450600368258c83af42f76bc4d0ebb24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ae1859e0d15a40ed1fa043bc000debb450600368258c83af42f76bc4d0ebb24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ae1859e0d15a40ed1fa043bc000debb450600368258c83af42f76bc4d0ebb24", kill_on_drop: false }` [INFO] [stdout] 4ae1859e0d15a40ed1fa043bc000debb450600368258c83af42f76bc4d0ebb24 [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=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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 552920dc6368edb722f4316b134ffb9f21708ef959283349da0192a825983564 [INFO] running `Command { std: "docker" "start" "-a" "552920dc6368edb722f4316b134ffb9f21708ef959283349da0192a825983564", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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] | ^ [INFO] [stdout] | [INFO] [stdout] help: add a parameter list [INFO] [stdout] | [INFO] [stdout] 119 | pub fn len() [INFO] [stdout] | ++ [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] help: there is a keyword `let` with a similar name [INFO] [stdout] | [INFO] [stdout] 119 | pub fn let [INFO] [stdout] | ~~~ [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] | ^ [INFO] [stdout] | [INFO] [stdout] help: add a parameter list [INFO] [stdout] | [INFO] [stdout] 119 | pub fn len() [INFO] [stdout] | ++ [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] help: there is a keyword `let` with a similar name [INFO] [stdout] | [INFO] [stdout] 119 | pub fn let [INFO] [stdout] | ~~~ [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/clone.rs:183: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[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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/clone.rs:183: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[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[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: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: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: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[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[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: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: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[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] [stdout] warning: unused variable: `p2` [INFO] [stdout] --> src/tests.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let p2 = Point::new(0.0f64, 1.0, 0.0); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p3` [INFO] [stdout] --> src/tests.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let p3 = Point::new(0.0f64, 0.0, 1.0); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p3` [INFO] [stdout] [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; 2 warnings emitted [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; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "552920dc6368edb722f4316b134ffb9f21708ef959283349da0192a825983564", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "552920dc6368edb722f4316b134ffb9f21708ef959283349da0192a825983564", kill_on_drop: false }` [INFO] [stdout] 552920dc6368edb722f4316b134ffb9f21708ef959283349da0192a825983564