[INFO] cloning repository https://github.com/ayoubdya/rust-typescript
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ayoubdya/rust-typescript" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayoubdya%2Frust-typescript", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayoubdya%2Frust-typescript'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 307316f23aefe409a4abba4c79f19960bf480081
[INFO] checking ayoubdya/rust-typescript against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayoubdya%2Frust-typescript" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ayoubdya/rust-typescript on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ayoubdya/rust-typescript
[INFO] finished tweaking git repo https://github.com/ayoubdya/rust-typescript
[INFO] tweaked toml for git repo https://github.com/ayoubdya/rust-typescript written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/ayoubdya/rust-typescript 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9d7d9d6b57704a663917c356aea77b1452431a354505586a034ee0c1b9456585
[INFO] running `Command { std: "docker" "start" "-a" "9d7d9d6b57704a663917c356aea77b1452431a354505586a034ee0c1b9456585", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d7d9d6b57704a663917c356aea77b1452431a354505586a034ee0c1b9456585", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d7d9d6b57704a663917c356aea77b1452431a354505586a034ee0c1b9456585", kill_on_drop: false }`
[INFO] [stdout] 9d7d9d6b57704a663917c356aea77b1452431a354505586a034ee0c1b9456585
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0365b05620dd7eb22b9a40fe4a0fe61e5695dc2cdbbde7acc1f4610e04724584
[INFO] running `Command { std: "docker" "start" "-a" "0365b05620dd7eb22b9a40fe4a0fe61e5695dc2cdbbde7acc1f4610e04724584", kill_on_drop: false }`
[INFO] [stderr]    Compiling anyhow v1.0.72
[INFO] [stderr]     Checking rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `area::Area`
[INFO] [stdout]   --> src/main.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use shapes::{area::Area, circle::Circle, collisions::Collidable, rect::Rect};
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `area::Area`
[INFO] [stdout]   --> src/main.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use shapes::{area::Area, circle::Circle, collisions::Collidable, rect::Rect};
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.37s
[INFO] running `Command { std: "docker" "inspect" "0365b05620dd7eb22b9a40fe4a0fe61e5695dc2cdbbde7acc1f4610e04724584", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0365b05620dd7eb22b9a40fe4a0fe61e5695dc2cdbbde7acc1f4610e04724584", kill_on_drop: false }`
[INFO] [stdout] 0365b05620dd7eb22b9a40fe4a0fe61e5695dc2cdbbde7acc1f4610e04724584
[INFO] checking ayoubdya/rust-typescript against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayoubdya%2Frust-typescript" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ayoubdya/rust-typescript on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ayoubdya/rust-typescript
[INFO] finished tweaking git repo https://github.com/ayoubdya/rust-typescript
[INFO] tweaked toml for git repo https://github.com/ayoubdya/rust-typescript written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/ayoubdya/rust-typescript 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ff94c0a6b8e1f0ecf4928d61769f720ae1feef6d887e5ca312b7a7148af82134
[INFO] running `Command { std: "docker" "start" "-a" "ff94c0a6b8e1f0ecf4928d61769f720ae1feef6d887e5ca312b7a7148af82134", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ff94c0a6b8e1f0ecf4928d61769f720ae1feef6d887e5ca312b7a7148af82134", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff94c0a6b8e1f0ecf4928d61769f720ae1feef6d887e5ca312b7a7148af82134", kill_on_drop: false }`
[INFO] [stdout] ff94c0a6b8e1f0ecf4928d61769f720ae1feef6d887e5ca312b7a7148af82134
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d51232660a65b12e38dfc858fb066b1cf63ab696f3a66699688c824b26ca3cad
[INFO] running `Command { std: "docker" "start" "-a" "d51232660a65b12e38dfc858fb066b1cf63ab696f3a66699688c824b26ca3cad", kill_on_drop: false }`
[INFO] [stderr]    Compiling anyhow v1.0.72
[INFO] [stderr]     Checking rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `area::Area`
[INFO] [stdout]   --> src/main.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use shapes::{area::Area, circle::Circle, collisions::Collidable, rect::Rect};
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `area::Area`
[INFO] [stdout]   --> src/main.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use shapes::{area::Area, circle::Circle, collisions::Collidable, rect::Rect};
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/main.rs:351:3
[INFO] [stdout]     |
[INFO] [stdout] 351 | /   impl Points for &Shape {
[INFO] [stdout] 352 | |     fn points(&self) -> PointIter {
[INFO] [stdout] 353 | |       match self {
[INFO] [stdout] 354 | |         Shape::Circle(c) => return c.points(),
[INFO] [stdout] ...   |
[INFO] [stdout] 357 | |     }
[INFO] [stdout] 358 | |   }
[INFO] [stdout]     | |___^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `main`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/main.rs:360:3
[INFO] [stdout]     |
[INFO] [stdout] 360 | /   impl Contains for &Shape {
[INFO] [stdout] 361 | |     fn contains_point(&self, point: (f64, f64)) -> bool {
[INFO] [stdout] 362 | |       match self {
[INFO] [stdout] 363 | |         Shape::Circle(c) => return c.contains_point(point),
[INFO] [stdout] ...   |
[INFO] [stdout] 366 | |     }
[INFO] [stdout] 367 | |   }
[INFO] [stdout]     | |___^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `main`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/main.rs:351:3
[INFO] [stdout]     |
[INFO] [stdout] 351 | /   impl Points for &Shape {
[INFO] [stdout] 352 | |     fn points(&self) -> PointIter {
[INFO] [stdout] 353 | |       match self {
[INFO] [stdout] 354 | |         Shape::Circle(c) => return c.points(),
[INFO] [stdout] ...   |
[INFO] [stdout] 357 | |     }
[INFO] [stdout] 358 | |   }
[INFO] [stdout]     | |___^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `main`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/main.rs:360:3
[INFO] [stdout]     |
[INFO] [stdout] 360 | /   impl Contains for &Shape {
[INFO] [stdout] 361 | |     fn contains_point(&self, point: (f64, f64)) -> bool {
[INFO] [stdout] 362 | |       match self {
[INFO] [stdout] 363 | |         Shape::Circle(c) => return c.contains_point(point),
[INFO] [stdout] ...   |
[INFO] [stdout] 366 | |     }
[INFO] [stdout] 367 | |   }
[INFO] [stdout]     | |___^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current function `main`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust` (bin "rust") due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust` (bin "rust" test) due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "d51232660a65b12e38dfc858fb066b1cf63ab696f3a66699688c824b26ca3cad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d51232660a65b12e38dfc858fb066b1cf63ab696f3a66699688c824b26ca3cad", kill_on_drop: false }`
[INFO] [stdout] d51232660a65b12e38dfc858fb066b1cf63ab696f3a66699688c824b26ca3cad
