[INFO] cloning repository https://github.com/EdorianDark/euklid [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EdorianDark/euklid" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdorianDark%2Feuklid", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdorianDark%2Feuklid'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a83c69f59f2e63ab564b59a5c08db5dbfbb46e5 [INFO] checking EdorianDark/euklid/1a83c69f59f2e63ab564b59a5c08db5dbfbb46e5 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdorianDark%2Feuklid" "/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/EdorianDark/euklid 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/EdorianDark/euklid [INFO] finished tweaking git repo https://github.com/EdorianDark/euklid [INFO] tweaked toml for git repo https://github.com/EdorianDark/euklid written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/EdorianDark/euklid 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] 02a4d65a29eecd2142e1673d184d03d8c22c09b5996022749eec54422009feff [INFO] running `Command { std: "docker" "start" "-a" "02a4d65a29eecd2142e1673d184d03d8c22c09b5996022749eec54422009feff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02a4d65a29eecd2142e1673d184d03d8c22c09b5996022749eec54422009feff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02a4d65a29eecd2142e1673d184d03d8c22c09b5996022749eec54422009feff", kill_on_drop: false }` [INFO] [stdout] 02a4d65a29eecd2142e1673d184d03d8c22c09b5996022749eec54422009feff [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] 3baeeb54f6a94074c92dc3d7edd4ea6a049d5d3f2e99861ca8be9d8988cc88f2 [INFO] running `Command { std: "docker" "start" "-a" "3baeeb54f6a94074c92dc3d7edd4ea6a049d5d3f2e99861ca8be9d8988cc88f2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking geometry v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Float` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | range(0, (
::dimension())).map(|i| a.get(i) - b.get(i)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/main.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | fn start_point() -> FlatPoint { [INFO] [stdout] | ----------- this function doesn't have a `self` parameter [INFO] [stdout] 82 | self.points.begin() [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 81 | fn start_point(&self) -> FlatPoint { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | range(0, (
::dimension())).map(|i| a.get(i) - b.get(i))
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout] |
[INFO] [stdout] 4 + use std::slice::range;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout] --> src/main.rs:82:5
[INFO] [stdout] |
[INFO] [stdout] 81 | fn start_point() -> FlatPoint {
[INFO] [stdout] | ----------- this function doesn't have a `self` parameter
[INFO] [stdout] 82 | self.points.begin()
[INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] |
[INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method
[INFO] [stdout] |
[INFO] [stdout] 81 | fn start_point(&self) -> FlatPoint {
[INFO] [stdout] | +++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout] --> src/main.rs:41:12
[INFO] [stdout] |
[INFO] [stdout] 41 | fn point(u32) -> Self::P;
[INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32`
[INFO] [stdout] |
[INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout] = note: for more information, see issue #41686 ::dimension())).map(|i| a.get(i) - b.get(i))
[INFO] [stdout] | ^ ^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] 47 - range(0, ( ::dimension())).map(|i| a.get(i) - b.get(i))
[INFO] [stdout] 47 + range(0, ::dimension()).map(|i| a.get(i) - b.get(i))
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout] --> src/main.rs:41:12
[INFO] [stdout] |
[INFO] [stdout] 41 | fn point(u32) -> Self::P;
[INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32`
[INFO] [stdout] |
[INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout] = note: for more information, see issue #41686 ::dimension())).map(|i| a.get(i) - b.get(i))
[INFO] [stdout] | ^ ^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] 47 - range(0, ( ::dimension())).map(|i| a.get(i) - b.get(i))
[INFO] [stdout] 47 + range(0, ::dimension()).map(|i| a.get(i) - b.get(i))
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable
[INFO] [stdout] --> src/main.rs:1:12
[INFO] [stdout] |
[INFO] [stdout] 1 | #![feature(core)]
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(stable_features)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable
[INFO] [stdout] --> src/main.rs:1:12
[INFO] [stdout] |
[INFO] [stdout] 1 | #![feature(core)]
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(stable_features)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0635]: unknown feature `std_misc`
[INFO] [stdout] --> src/main.rs:2:12
[INFO] [stdout] |
[INFO] [stdout] 2 | #![feature(std_misc)]
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0635]: unknown feature `std_misc`
[INFO] [stdout] --> src/main.rs:2:12
[INFO] [stdout] |
[INFO] [stdout] 2 | #![feature(std_misc)]
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0186]: method `length` has a `&self` declaration in the trait, but not in the impl
[INFO] [stdout] --> src/main.rs:78:3
[INFO] [stdout] |
[INFO] [stdout] 33 | fn length(&self) -> f64;
[INFO] [stdout] | ------------------------ `&self` used in trait
[INFO] [stdout] ...
[INFO] [stdout] 78 | fn length() -> f64 {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `&self` in impl
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0186]: method `start_point` has a `&self` declaration in the trait, but not in the impl
[INFO] [stdout] --> src/main.rs:81:3
[INFO] [stdout] |
[INFO] [stdout] 34 | fn start_point(&self) -> Self::P;
[INFO] [stdout] | --------------------------------- `&self` used in trait
[INFO] [stdout] ...
[INFO] [stdout] 81 | fn start_point() -> FlatPoint {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0186]: method `length` has a `&self` declaration in the trait, but not in the impl
[INFO] [stdout] --> src/main.rs:78:3
[INFO] [stdout] |
[INFO] [stdout] 33 | fn length(&self) -> f64;
[INFO] [stdout] | ------------------------ `&self` used in trait
[INFO] [stdout] ...
[INFO] [stdout] 78 | fn length() -> f64 {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `&self` in impl
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0186]: method `start_point` has a `&self` declaration in the trait, but not in the impl
[INFO] [stdout] --> src/main.rs:81:3
[INFO] [stdout] |
[INFO] [stdout] 34 | fn start_point(&self) -> Self::P;
[INFO] [stdout] | --------------------------------- `&self` used in trait
[INFO] [stdout] ...
[INFO] [stdout] 81 | fn start_point() -> FlatPoint {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `end_point`, `is_closed`
[INFO] [stdout] --> src/main.rs:76:1
[INFO] [stdout] |
[INFO] [stdout] 35 | fn end_point(&self) -> Self::P;
[INFO] [stdout] | ------------------------------- `end_point` from trait
[INFO] [stdout] 36 | fn is_closed(&self) -> bool;
[INFO] [stdout] | ---------------------------- `is_closed` from trait
[INFO] [stdout] ...
[INFO] [stdout] 76 | impl Curve for FlatLine {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ missing `end_point`, `is_closed` in implementation
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `end_point`, `is_closed`
[INFO] [stdout] --> src/main.rs:76:1
[INFO] [stdout] |
[INFO] [stdout] 35 | fn end_point(&self) -> Self::P;
[INFO] [stdout] | ------------------------------- `end_point` from trait
[INFO] [stdout] 36 | fn is_closed(&self) -> bool;
[INFO] [stdout] | ---------------------------- `is_closed` from trait
[INFO] [stdout] ...
[INFO] [stdout] 76 | impl Curve for FlatLine {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ missing `end_point`, `is_closed` in implementation
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0046, E0186, E0424, E0425, E0432, E0635.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0046, E0186, E0424, E0425, E0432, E0635.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `geometry` (bin "geometry") due to 8 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `geometry` (bin "geometry" test) due to 8 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3baeeb54f6a94074c92dc3d7edd4ea6a049d5d3f2e99861ca8be9d8988cc88f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3baeeb54f6a94074c92dc3d7edd4ea6a049d5d3f2e99861ca8be9d8988cc88f2", kill_on_drop: false }`
[INFO] [stdout] 3baeeb54f6a94074c92dc3d7edd4ea6a049d5d3f2e99861ca8be9d8988cc88f2