[INFO] fetching crate nostd_structs 0.5.0... [INFO] testing nostd_structs-0.5.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate nostd_structs 0.5.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate nostd_structs 0.5.0 [INFO] finished tweaking crates.io crate nostd_structs 0.5.0 [INFO] tweaked toml for crates.io crate nostd_structs 0.5.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nostd_structs 0.5.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nostd_structs 0.5.0 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d10d3c990de61dddbaa6752a88ee39495e0adad74932eaa1035f65e48c8bf18 [INFO] running `Command { std: "docker" "start" "-a" "0d10d3c990de61dddbaa6752a88ee39495e0adad74932eaa1035f65e48c8bf18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d10d3c990de61dddbaa6752a88ee39495e0adad74932eaa1035f65e48c8bf18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d10d3c990de61dddbaa6752a88ee39495e0adad74932eaa1035f65e48c8bf18", kill_on_drop: false }` [INFO] [stdout] 0d10d3c990de61dddbaa6752a88ee39495e0adad74932eaa1035f65e48c8bf18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e825e809e3dd65203403a9aff57109ceeb686f6288623bcc2637c108b5162ea [INFO] running `Command { std: "docker" "start" "-a" "7e825e809e3dd65203403a9aff57109ceeb686f6288623bcc2637c108b5162ea", kill_on_drop: false }` [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling nostd_structs v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/structs/geom/polygon_2d.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | fn rotate_rad(self, point: Point2D, radians: f32) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radians` [INFO] [stdout] --> src/structs/geom/polygon_2d.rs:47:46 [INFO] [stdout] | [INFO] [stdout] 47 | fn rotate_rad(self, point: Point2D, radians: f32) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radians` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/structs/geom/polygon_2d.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | fn rotate_rad_mut(&mut self, point: Point2D, radians: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radians` [INFO] [stdout] --> src/structs/geom/polygon_2d.rs:51:55 [INFO] [stdout] | [INFO] [stdout] 51 | fn rotate_rad_mut(&mut self, point: Point2D, radians: f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radians` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point2d` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | fn rotate_rad(self, point2d: Point2D, radians: f32) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radians` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | fn rotate_rad(self, point2d: Point2D, radians: f32) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radians` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point2d` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | fn rotate_rad_mut(&mut self, point2d: Point2D, radians: f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radians` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:41:57 [INFO] [stdout] | [INFO] [stdout] 41 | fn rotate_rad_mut(&mut self, point2d: Point2D, radians: f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radians` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_shape` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | other_shape: SHAPE, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point2d` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | fn rotate_rad(self, point2d: Point2D, radians: f64) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radians` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:149:48 [INFO] [stdout] | [INFO] [stdout] 149 | fn rotate_rad(self, point2d: Point2D, radians: f64) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radians` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point2d` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:153:34 [INFO] [stdout] | [INFO] [stdout] 153 | fn rotate_rad_mut(&mut self, point2d: Point2D, radians: f64) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radians` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:153:57 [INFO] [stdout] | [INFO] [stdout] 153 | fn rotate_rad_mut(&mut self, point2d: Point2D, radians: f64) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radians` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_shape` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | other_shape: SHAPE, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.18s [INFO] running `Command { std: "docker" "inspect" "7e825e809e3dd65203403a9aff57109ceeb686f6288623bcc2637c108b5162ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e825e809e3dd65203403a9aff57109ceeb686f6288623bcc2637c108b5162ea", kill_on_drop: false }` [INFO] [stdout] 7e825e809e3dd65203403a9aff57109ceeb686f6288623bcc2637c108b5162ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d30fb7dc1bba103629b735acf5ecb7756a23948455034a2436c48eed60f0a17 [INFO] running `Command { std: "docker" "start" "-a" "1d30fb7dc1bba103629b735acf5ecb7756a23948455034a2436c48eed60f0a17", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/structs/geom/polygon_2d.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | fn rotate_rad(self, point: Point2D, radians: f32) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radians` [INFO] [stdout] --> src/structs/geom/polygon_2d.rs:47:46 [INFO] [stdout] | [INFO] [stdout] 47 | fn rotate_rad(self, point: Point2D, radians: f32) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radians` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/structs/geom/polygon_2d.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | fn rotate_rad_mut(&mut self, point: Point2D, radians: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radians` [INFO] [stdout] --> src/structs/geom/polygon_2d.rs:51:55 [INFO] [stdout] | [INFO] [stdout] 51 | fn rotate_rad_mut(&mut self, point: Point2D, radians: f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radians` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nostd_structs v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `point2d` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | fn rotate_rad(self, point2d: Point2D, radians: f32) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radians` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | fn rotate_rad(self, point2d: Point2D, radians: f32) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radians` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point2d` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | fn rotate_rad_mut(&mut self, point2d: Point2D, radians: f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radians` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:41:57 [INFO] [stdout] | [INFO] [stdout] 41 | fn rotate_rad_mut(&mut self, point2d: Point2D, radians: f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radians` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_shape` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | other_shape: SHAPE, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point2d` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | fn rotate_rad(self, point2d: Point2D, radians: f64) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radians` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:149:48 [INFO] [stdout] | [INFO] [stdout] 149 | fn rotate_rad(self, point2d: Point2D, radians: f64) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radians` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point2d` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:153:34 [INFO] [stdout] | [INFO] [stdout] 153 | fn rotate_rad_mut(&mut self, point2d: Point2D, radians: f64) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radians` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:153:57 [INFO] [stdout] | [INFO] [stdout] 153 | fn rotate_rad_mut(&mut self, point2d: Point2D, radians: f64) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radians` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_shape` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | other_shape: SHAPE, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/structs/geom/polygon_2d.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | fn rotate_rad(self, point: Point2D, radians: f32) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radians` [INFO] [stdout] --> src/structs/geom/polygon_2d.rs:47:46 [INFO] [stdout] | [INFO] [stdout] 47 | fn rotate_rad(self, point: Point2D, radians: f32) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radians` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/structs/geom/polygon_2d.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | fn rotate_rad_mut(&mut self, point: Point2D, radians: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radians` [INFO] [stdout] --> src/structs/geom/polygon_2d.rs:51:55 [INFO] [stdout] | [INFO] [stdout] 51 | fn rotate_rad_mut(&mut self, point: Point2D, radians: f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radians` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point2d` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | fn rotate_rad(self, point2d: Point2D, radians: f32) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radians` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | fn rotate_rad(self, point2d: Point2D, radians: f32) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radians` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point2d` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | fn rotate_rad_mut(&mut self, point2d: Point2D, radians: f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radians` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:41:57 [INFO] [stdout] | [INFO] [stdout] 41 | fn rotate_rad_mut(&mut self, point2d: Point2D, radians: f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radians` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_shape` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | other_shape: SHAPE, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point2d` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | fn rotate_rad(self, point2d: Point2D, radians: f64) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radians` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:149:48 [INFO] [stdout] | [INFO] [stdout] 149 | fn rotate_rad(self, point2d: Point2D, radians: f64) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 149 | fn rotate_rad(self, point2d: Point2D, _radians: f64) -> Self { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FRAC_1_SQRT_2` [INFO] [stdout] | [INFO] [stdout] 149 - fn rotate_rad(self, point2d: Point2D, radians: f64) -> Self { [INFO] [stdout] 149 + fn rotate_rad(self, point2d: Point2D, structs::trig::sin::test::test_sin_degrees::FRAC_1_SQRT_2: f64) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point2d` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:153:34 [INFO] [stdout] | [INFO] [stdout] 153 | fn rotate_rad_mut(&mut self, point2d: Point2D, radians: f64) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radians` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:153:57 [INFO] [stdout] | [INFO] [stdout] 153 | fn rotate_rad_mut(&mut self, point2d: Point2D, radians: f64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 153 | fn rotate_rad_mut(&mut self, point2d: Point2D, _radians: f64) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FRAC_1_SQRT_2` [INFO] [stdout] | [INFO] [stdout] 153 - fn rotate_rad_mut(&mut self, point2d: Point2D, radians: f64) { [INFO] [stdout] 153 + fn rotate_rad_mut(&mut self, point2d: Point2D, structs::trig::sin::test::test_sin_degrees::FRAC_1_SQRT_2: f64) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_shape` [INFO] [stdout] --> src/structs/geom/triangle_2d.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | other_shape: SHAPE, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.16s [INFO] running `Command { std: "docker" "inspect" "1d30fb7dc1bba103629b735acf5ecb7756a23948455034a2436c48eed60f0a17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d30fb7dc1bba103629b735acf5ecb7756a23948455034a2436c48eed60f0a17", kill_on_drop: false }` [INFO] [stdout] 1d30fb7dc1bba103629b735acf5ecb7756a23948455034a2436c48eed60f0a17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4fb870199edd94369f29e67d9cf2e2f1414380db8a3fabb20b9bb0f9d5a858c6 [INFO] running `Command { std: "docker" "start" "-a" "4fb870199edd94369f29e67d9cf2e2f1414380db8a3fabb20b9bb0f9d5a858c6", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `point` [INFO] [stderr] --> src/structs/geom/polygon_2d.rs:47:25 [INFO] [stderr] | [INFO] [stderr] 47 | fn rotate_rad(self, point: Point2D, radians: f32) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `radians` [INFO] [stderr] --> src/structs/geom/polygon_2d.rs:47:46 [INFO] [stderr] | [INFO] [stderr] 47 | fn rotate_rad(self, point: Point2D, radians: f32) -> Self { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radians` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `point` [INFO] [stderr] --> src/structs/geom/polygon_2d.rs:51:34 [INFO] [stderr] | [INFO] [stderr] 51 | fn rotate_rad_mut(&mut self, point: Point2D, radians: f32) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `radians` [INFO] [stderr] --> src/structs/geom/polygon_2d.rs:51:55 [INFO] [stderr] | [INFO] [stderr] 51 | fn rotate_rad_mut(&mut self, point: Point2D, radians: f32) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radians` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `point2d` [INFO] [stderr] --> src/structs/geom/triangle_2d.rs:37:25 [INFO] [stderr] | [INFO] [stderr] 37 | fn rotate_rad(self, point2d: Point2D, radians: f32) -> Self { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2d` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `radians` [INFO] [stderr] --> src/structs/geom/triangle_2d.rs:37:48 [INFO] [stderr] | [INFO] [stderr] 37 | fn rotate_rad(self, point2d: Point2D, radians: f32) -> Self { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radians` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `point2d` [INFO] [stderr] --> src/structs/geom/triangle_2d.rs:41:34 [INFO] [stderr] | [INFO] [stderr] 41 | fn rotate_rad_mut(&mut self, point2d: Point2D, radians: f32) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2d` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `radians` [INFO] [stderr] --> src/structs/geom/triangle_2d.rs:41:57 [INFO] [stderr] | [INFO] [stderr] 41 | fn rotate_rad_mut(&mut self, point2d: Point2D, radians: f32) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radians` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other_shape` [INFO] [stderr] --> src/structs/geom/triangle_2d.rs:121:9 [INFO] [stderr] | [INFO] [stderr] 121 | other_shape: SHAPE, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_shape` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `point2d` [INFO] [stderr] --> src/structs/geom/triangle_2d.rs:149:25 [INFO] [stderr] | [INFO] [stderr] 149 | fn rotate_rad(self, point2d: Point2D, radians: f64) -> Self { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2d` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `radians` [INFO] [stderr] --> src/structs/geom/triangle_2d.rs:149:48 [INFO] [stderr] | [INFO] [stderr] 149 | fn rotate_rad(self, point2d: Point2D, radians: f64) -> Self { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radians` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `point2d` [INFO] [stderr] --> src/structs/geom/triangle_2d.rs:153:34 [INFO] [stderr] | [INFO] [stderr] 153 | fn rotate_rad_mut(&mut self, point2d: Point2D, radians: f64) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point2d` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `radians` [INFO] [stderr] --> src/structs/geom/triangle_2d.rs:153:57 [INFO] [stderr] | [INFO] [stderr] 153 | fn rotate_rad_mut(&mut self, point2d: Point2D, radians: f64) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_radians` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other_shape` [INFO] [stderr] --> src/structs/geom/triangle_2d.rs:233:9 [INFO] [stderr] | [INFO] [stderr] 233 | other_shape: SHAPE, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_shape` [INFO] [stderr] [INFO] [stderr] warning: `nostd_structs` (lib) generated 14 warnings [INFO] [stderr] warning: unused variable: `radians` [INFO] [stderr] --> src/structs/geom/triangle_2d.rs:149:48 [INFO] [stderr] | [INFO] [stderr] 149 | fn rotate_rad(self, point2d: Point2D, radians: f64) -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 149 | fn rotate_rad(self, point2d: Point2D, _radians: f64) -> Self { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `FRAC_1_SQRT_2` [INFO] [stderr] | [INFO] [stderr] 149 - fn rotate_rad(self, point2d: Point2D, radians: f64) -> Self { [INFO] [stderr] 149 + fn rotate_rad(self, point2d: Point2D, structs::trig::sin::test::test_sin_degrees::FRAC_1_SQRT_2: f64) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `radians` [INFO] [stderr] --> src/structs/geom/triangle_2d.rs:153:57 [INFO] [stderr] | [INFO] [stderr] 153 | fn rotate_rad_mut(&mut self, point2d: Point2D, radians: f64) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 153 | fn rotate_rad_mut(&mut self, point2d: Point2D, _radians: f64) { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `FRAC_1_SQRT_2` [INFO] [stderr] | [INFO] [stderr] 153 - fn rotate_rad_mut(&mut self, point2d: Point2D, radians: f64) { [INFO] [stderr] 153 + fn rotate_rad_mut(&mut self, point2d: Point2D, structs::trig::sin::test::test_sin_degrees::FRAC_1_SQRT_2: f64) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `nostd_structs` (lib test) generated 14 warnings (12 duplicates) (run `cargo fix --lib -p nostd_structs --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nostd_structs-c28704f0d9cbdf46) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test algos::rand::lcg::tests::test_lcg ... ok [INFO] [stdout] test algos::slice::rotating::test::input_shorter_than_width ... ok [INFO] [stdout] test algos::slice::rotating::test::test_rotate_slice ... ok [INFO] [stdout] test conversion::colour::tests::test_vflip_1bpp ... ok [INFO] [stdout] test algos::slice::subslice::tests::test_find_subslice ... ok [INFO] [stdout] test conversion::colour::tests::validate_1bpp_5bpp ... ok [INFO] [stdout] test structs::geom::polygon_2d::test::test_convex_hull ... ok [INFO] [stdout] test structs::geom::polygon_2d::test::test_rotate ... ok [INFO] [stdout] test structs::geom::triangle_2d::test::test_rotate_around_0 ... ok [INFO] [stdout] test structs::test::can_compare_aabb ... ok [INFO] [stdout] test structs::geom::triangle_2d::test::test_rotate_around_center ... ok [INFO] [stdout] test structs::geom::triangle_2d::test::test_surface ... ok [INFO] [stdout] test structs::test::can_compare_ndimensional_point ... ok [INFO] [stdout] test structs::test::check_intersects_inc ... ok [INFO] [stdout] test structs::test::check_intersects_exc ... ok [INFO] [stdout] test structs::trig::sin::test::test_sin_degrees ... ok [INFO] [stdout] test structs::lru_map::test::can_add_and_remove_lru ... ok [INFO] [stdout] test structs::trig::cos::test::test_cos_degrees ... ok [INFO] [stdout] test structs::test::can_reference ... ok [INFO] [stdout] test algos::rand::lcg::tests::doesnt_overflow ... ok [INFO] [stderr] Doc-tests nostd_structs [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.78s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/algos/rand/lcg.rs - algos::rand::lcg::LcgRng (line 14) ... ok [INFO] [stdout] test src/structs/mod.rs - structs::NDimensionalPoint (line 26) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4fb870199edd94369f29e67d9cf2e2f1414380db8a3fabb20b9bb0f9d5a858c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fb870199edd94369f29e67d9cf2e2f1414380db8a3fabb20b9bb0f9d5a858c6", kill_on_drop: false }` [INFO] [stdout] 4fb870199edd94369f29e67d9cf2e2f1414380db8a3fabb20b9bb0f9d5a858c6