[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-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayoubdya%2Frust-typescript" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 207f55c49de4df48fcefed62e64f79c775c0ef46bdf6f40faf4cdc928774d492
[INFO] running `Command { std: "docker" "start" "-a" "207f55c49de4df48fcefed62e64f79c775c0ef46bdf6f40faf4cdc928774d492", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "207f55c49de4df48fcefed62e64f79c775c0ef46bdf6f40faf4cdc928774d492", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "207f55c49de4df48fcefed62e64f79c775c0ef46bdf6f40faf4cdc928774d492", kill_on_drop: false }`
[INFO] [stdout] 207f55c49de4df48fcefed62e64f79c775c0ef46bdf6f40faf4cdc928774d492
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 5f976cc550994d27f006ac339873a51ee240552d55fb6d55de315fb8d7df0292
[INFO] running `Command { std: "docker" "start" "-a" "5f976cc550994d27f006ac339873a51ee240552d55fb6d55de315fb8d7df0292", 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.44s
[INFO] running `Command { std: "docker" "inspect" "5f976cc550994d27f006ac339873a51ee240552d55fb6d55de315fb8d7df0292", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f976cc550994d27f006ac339873a51ee240552d55fb6d55de315fb8d7df0292", kill_on_drop: false }`
[INFO] [stdout] 5f976cc550994d27f006ac339873a51ee240552d55fb6d55de315fb8d7df0292
[INFO] checking ayoubdya/rust-typescript against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayoubdya%2Frust-typescript" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] e04cf3eba7dfbe0aadfb59914fe13cd0867a017f1ffa0c77f1c6066ce9028686
[INFO] running `Command { std: "docker" "start" "-a" "e04cf3eba7dfbe0aadfb59914fe13cd0867a017f1ffa0c77f1c6066ce9028686", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e04cf3eba7dfbe0aadfb59914fe13cd0867a017f1ffa0c77f1c6066ce9028686", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e04cf3eba7dfbe0aadfb59914fe13cd0867a017f1ffa0c77f1c6066ce9028686", kill_on_drop: false }`
[INFO] [stdout] e04cf3eba7dfbe0aadfb59914fe13cd0867a017f1ffa0c77f1c6066ce9028686
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 8fed51cb0bebae4b52798370d38ec428a4c4280276b5ddab7c2162b8fa7776fb
[INFO] running `Command { std: "docker" "start" "-a" "8fed51cb0bebae4b52798370d38ec428a4c4280276b5ddab7c2162b8fa7776fb", 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" "8fed51cb0bebae4b52798370d38ec428a4c4280276b5ddab7c2162b8fa7776fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8fed51cb0bebae4b52798370d38ec428a4c4280276b5ddab7c2162b8fa7776fb", kill_on_drop: false }`
[INFO] [stdout] 8fed51cb0bebae4b52798370d38ec428a4c4280276b5ddab7c2162b8fa7776fb
