[INFO] fetching crate math-functions 0.0.11...
[INFO] checking math-functions-0.0.11 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] extracting crate math-functions 0.0.11 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate math-functions 0.0.11 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 crates.io crate math-functions 0.0.11
[INFO] finished tweaking crates.io crate math-functions 0.0.11
[INFO] tweaked toml for crates.io crate math-functions 0.0.11 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate crates.io crate math-functions 0.0.11 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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 5ae5b22dfc07731685ccb2c8bb2295b705c6219acb4bb4d4896b8ed20696b990
[INFO] running `Command { std: "docker" "start" "-a" "5ae5b22dfc07731685ccb2c8bb2295b705c6219acb4bb4d4896b8ed20696b990", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5ae5b22dfc07731685ccb2c8bb2295b705c6219acb4bb4d4896b8ed20696b990", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ae5b22dfc07731685ccb2c8bb2295b705c6219acb4bb4d4896b8ed20696b990", kill_on_drop: false }`
[INFO] [stdout] 5ae5b22dfc07731685ccb2c8bb2295b705c6219acb4bb4d4896b8ed20696b990
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 60f113907f08aa00417fc994b06be32b795a00173d9e03994b02538c286c7d7a
[INFO] running `Command { std: "docker" "start" "-a" "60f113907f08aa00417fc994b06be32b795a00173d9e03994b02538c286c7d7a", kill_on_drop: false }`
[INFO] [stderr]     Checking math-functions v0.0.11 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::algebra::rational::Rational`
[INFO] [stdout]  --> src/operators.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::algebra::rational::Rational;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::algebra::rational::Rational`
[INFO] [stdout]  --> src/operators.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::algebra::rational::Rational;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vec2`
[INFO] [stdout]  --> src/tests.rs:3:42
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use crate::algebra::matrix::{Matrix, Vec2, Vec3};
[INFO] [stdout]   |                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `F1D`, `F3D`, `context::Context`
[INFO] [stdout]  --> src/main.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use math_functions::{context::Context, F1D, F2D, F3D};
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^^  ^^^       ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `F1D`, `F3D`, `context::Context`
[INFO] [stdout]  --> src/main.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use math_functions::{context::Context, F1D, F2D, F3D};
[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] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.18s
[INFO] running `Command { std: "docker" "inspect" "60f113907f08aa00417fc994b06be32b795a00173d9e03994b02538c286c7d7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "60f113907f08aa00417fc994b06be32b795a00173d9e03994b02538c286c7d7a", kill_on_drop: false }`
[INFO] [stdout] 60f113907f08aa00417fc994b06be32b795a00173d9e03994b02538c286c7d7a
[INFO] checking math-functions-0.0.11 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] extracting crate math-functions 0.0.11 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate math-functions 0.0.11 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 crates.io crate math-functions 0.0.11
[INFO] finished tweaking crates.io crate math-functions 0.0.11
[INFO] tweaked toml for crates.io crate math-functions 0.0.11 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate crates.io crate math-functions 0.0.11 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] b8c84fd4b0ceaa9c5a5808f80894672ffacf282062ad174ad2599d15f163d0ab
[INFO] running `Command { std: "docker" "start" "-a" "b8c84fd4b0ceaa9c5a5808f80894672ffacf282062ad174ad2599d15f163d0ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b8c84fd4b0ceaa9c5a5808f80894672ffacf282062ad174ad2599d15f163d0ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b8c84fd4b0ceaa9c5a5808f80894672ffacf282062ad174ad2599d15f163d0ab", kill_on_drop: false }`
[INFO] [stdout] b8c84fd4b0ceaa9c5a5808f80894672ffacf282062ad174ad2599d15f163d0ab
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 1ad8c65b1dcb6cef45e5ae890b92205f5956a61add2103f0e8936b70b2348b91
[INFO] running `Command { std: "docker" "start" "-a" "1ad8c65b1dcb6cef45e5ae890b92205f5956a61add2103f0e8936b70b2348b91", kill_on_drop: false }`
[INFO] [stderr]     Checking math-functions v0.0.11 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::algebra::rational::Rational`
[INFO] [stdout]  --> src/operators.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::algebra::rational::Rational;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::algebra::rational::Rational`
[INFO] [stdout]  --> src/operators.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::algebra::rational::Rational;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vec2`
[INFO] [stdout]  --> src/tests.rs:3:42
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use crate::algebra::matrix::{Matrix, Vec2, Vec3};
[INFO] [stdout]   |                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `F1D`, `F3D`, `context::Context`
[INFO] [stdout]  --> src/main.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use math_functions::{context::Context, F1D, F2D, F3D};
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^^  ^^^       ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `F1D`, `F3D`, `context::Context`
[INFO] [stdout]  --> src/main.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use math_functions::{context::Context, F1D, F2D, F3D};
[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] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/tests.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | /         impl<'a> Split<'a> {
[INFO] [stdout] 13 | |             fn build(
[INFO] [stdout] 14 | |                 first_operand: &'a str,
[INFO] [stdout] 15 | |                 second_operand: Option<&'a str>,
[INFO] [stdout] ...  |
[INFO] [stdout] 33 | |             }
[INFO] [stdout] 34 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `test_tokenzier`
[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: aborting due to 1 previous error; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `math-functions` (lib test) due to 2 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1ad8c65b1dcb6cef45e5ae890b92205f5956a61add2103f0e8936b70b2348b91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ad8c65b1dcb6cef45e5ae890b92205f5956a61add2103f0e8936b70b2348b91", kill_on_drop: false }`
[INFO] [stdout] 1ad8c65b1dcb6cef45e5ae890b92205f5956a61add2103f0e8936b70b2348b91
