[INFO] cloning repository https://github.com/GiulianoCTRL/rust-trig [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GiulianoCTRL/rust-trig" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGiulianoCTRL%2Frust-trig", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGiulianoCTRL%2Frust-trig'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dae2bfab44c8139b1cc1b9d7d4157de62adf943f [INFO] checking GiulianoCTRL/rust-trig against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGiulianoCTRL%2Frust-trig" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GiulianoCTRL/rust-trig on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GiulianoCTRL/rust-trig [INFO] finished tweaking git repo https://github.com/GiulianoCTRL/rust-trig [INFO] tweaked toml for git repo https://github.com/GiulianoCTRL/rust-trig written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/GiulianoCTRL/rust-trig already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0103541edfa0b02ff1393d594d664dbbb7792b358c99a84c89c1d92ff8b9d8dd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0103541edfa0b02ff1393d594d664dbbb7792b358c99a84c89c1d92ff8b9d8dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0103541edfa0b02ff1393d594d664dbbb7792b358c99a84c89c1d92ff8b9d8dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0103541edfa0b02ff1393d594d664dbbb7792b358c99a84c89c1d92ff8b9d8dd", kill_on_drop: false }` [INFO] [stdout] 0103541edfa0b02ff1393d594d664dbbb7792b358c99a84c89c1d92ff8b9d8dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68070214aac6f75d044a375ef57f58948347f5eb73161c236f8997c597a83297 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "68070214aac6f75d044a375ef57f58948347f5eb73161c236f8997c597a83297", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking libmath v0.2.1 [INFO] [stderr] Checking trig v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lib.rs (2 fixes) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `round` [INFO] [stdout] --> src/lib.rs:255:22 [INFO] [stdout] | [INFO] [stdout] 255 | let result = round::half_away_from_zero(v.alpha().into(), 1); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `round` [INFO] [stdout] --> src/lib.rs:269:36 [INFO] [stdout] | [INFO] [stdout] 269 | assert_eq!(expected_alpha, round::half_away_from_zero(result.alpha().into(), 1)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `round` [INFO] [stdout] --> src/lib.rs:270:35 [INFO] [stdout] | [INFO] [stdout] 270 | assert_eq!(expected_beta, round::half_away_from_zero(result.beta().into(), 1)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `round` [INFO] [stdout] --> src/lib.rs:271:36 [INFO] [stdout] | [INFO] [stdout] 271 | assert_eq!(expected_gamma, round::half_away_from_zero(result.gamma().into(), 1)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/lib.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | let a = Point { x: 1.0, y: 3.0 }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 240 | use crate::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/lib.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | let b = Point { x: 3.0, y: 1.0 }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 240 | use crate::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/lib.rs:243:21 [INFO] [stdout] | [INFO] [stdout] 243 | let mut v = Vector::new(a, b); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 240 | use crate::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/lib.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | let a = Point { x: 1.0, y: 3.0 }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 240 | use crate::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/lib.rs:252:17 [INFO] [stdout] | [INFO] [stdout] 252 | let b = Point { x: 3.0, y: 1.0 }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 240 | use crate::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vector` [INFO] [stdout] --> src/lib.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | let mut v = Vector::new(a, b); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 240 | use crate::Vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/lib.rs:261:23 [INFO] [stdout] | [INFO] [stdout] 261 | let point_a = Point {x: 4.0, y: 7.0}; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 240 | use crate::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/lib.rs:262:23 [INFO] [stdout] | [INFO] [stdout] 262 | let point_b = Point {x: 12.0, y: 9.0}; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 240 | use crate::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/lib.rs:263:23 [INFO] [stdout] | [INFO] [stdout] 263 | let point_c = Point {x: 8.0, y: 12.0}; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 240 | use crate::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Triangle` [INFO] [stdout] --> src/lib.rs:267:26 [INFO] [stdout] | [INFO] [stdout] 267 | let mut result = Triangle::new_initialized(point_a, point_b, point_c); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 240 | use crate::Triangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trig` due to 15 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "68070214aac6f75d044a375ef57f58948347f5eb73161c236f8997c597a83297", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68070214aac6f75d044a375ef57f58948347f5eb73161c236f8997c597a83297", kill_on_drop: false }` [INFO] [stdout] 68070214aac6f75d044a375ef57f58948347f5eb73161c236f8997c597a83297