[INFO] cloning repository https://github.com/teoff9/newt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/teoff9/newt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteoff9%2Fnewt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteoff9%2Fnewt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9496f0eb7a774c6e886abcc2062d11fb3ec0b0d [INFO] testing teoff9/newt against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteoff9%2Fnewt" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/teoff9/newt [INFO] finished tweaking git repo https://github.com/teoff9/newt [INFO] tweaked toml for git repo https://github.com/teoff9/newt written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/teoff9/newt on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/teoff9/newt 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc13d88e513a8de1a68d90461a6c36437533a49fff29a7f3a891302dc2da90f6 [INFO] running `Command { std: "docker" "start" "-a" "bc13d88e513a8de1a68d90461a6c36437533a49fff29a7f3a891302dc2da90f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc13d88e513a8de1a68d90461a6c36437533a49fff29a7f3a891302dc2da90f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc13d88e513a8de1a68d90461a6c36437533a49fff29a7f3a891302dc2da90f6", kill_on_drop: false }` [INFO] [stdout] bc13d88e513a8de1a68d90461a6c36437533a49fff29a7f3a891302dc2da90f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e0c6830f16239c097ff371c7e371307e71fe0c78a7d933057d9fbf0872e6f3b [INFO] running `Command { std: "docker" "start" "-a" "5e0c6830f16239c097ff371c7e371307e71fe0c78a7d933057d9fbf0872e6f3b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling bevy_ptr v0.14.2 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling nonmax v0.5.5 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling wgpu-hal v0.21.1 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling wgpu-core v0.21.1 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling glow v0.13.1 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling bevy_tasks v0.14.2 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling wgpu v0.20.1 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling const_panic v0.2.10 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling const_soft_float v0.1.4 [INFO] [stderr] Compiling accesskit v0.14.0 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling async-broadcast v0.5.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling constgebra v0.1.4 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling const-fnv1a-hash v1.1.0 [INFO] [stderr] Compiling ttf-parser v0.25.0 [INFO] [stderr] Compiling euclid v0.22.11 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling svg_fmt v0.4.3 [INFO] [stderr] Compiling radsort v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling blake3 v1.5.4 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling rectangle-pack v0.4.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling grid v0.14.0 [INFO] [stderr] Compiling taffy v0.5.2 [INFO] [stderr] Compiling guillotiere v0.6.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling bevy_macro_utils v0.14.2 [INFO] [stderr] Compiling encase_derive_impl v0.8.0 [INFO] [stderr] Compiling glyph_brush_layout v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.14.2 [INFO] [stderr] Compiling bevy_reflect_derive v0.14.2 [INFO] [stderr] Compiling bevy_ecs_macros v0.14.2 [INFO] [stderr] Compiling bevy_derive v0.14.2 [INFO] [stderr] Compiling bevy_asset_macros v0.14.2 [INFO] [stderr] Compiling bevy_render_macros v0.14.2 [INFO] [stderr] Compiling encase_derive v0.8.0 [INFO] [stderr] Compiling bevy_encase_derive v0.14.2 [INFO] [stderr] Compiling bytemuck v1.19.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling image v0.25.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling erased-serde v0.4.5 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling wgpu-types v0.20.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling bevy_utils v0.14.2 [INFO] [stderr] Compiling gpu-descriptor v0.3.0 [INFO] [stderr] Compiling naga v0.20.0 [INFO] [stderr] Compiling bevy_reflect v0.14.2 [INFO] [stderr] Compiling encase v0.8.0 [INFO] [stderr] Compiling hexasphere v12.0.0 [INFO] [stderr] Compiling bevy_mikktspace v0.14.2 [INFO] [stderr] Compiling bevy_ecs v0.14.2 [INFO] [stderr] Compiling bevy_math v0.14.2 [INFO] [stderr] Compiling naga_oil v0.14.0 [INFO] [stderr] Compiling bevy_color v0.14.3 [INFO] [stderr] Compiling bevy_app v0.14.2 [INFO] [stderr] Compiling bevy_core v0.14.2 [INFO] [stderr] Compiling bevy_a11y v0.14.2 [INFO] [stderr] Compiling bevy_time v0.14.2 [INFO] [stderr] Compiling bevy_asset v0.14.2 [INFO] [stderr] Compiling bevy_input v0.14.2 [INFO] [stderr] Compiling bevy_log v0.14.2 [INFO] [stderr] Compiling bevy_window v0.14.2 [INFO] [stderr] Compiling bevy_hierarchy v0.14.2 [INFO] [stderr] Compiling bevy_diagnostic v0.14.2 [INFO] [stderr] Compiling bevy_transform v0.14.2 [INFO] [stderr] Compiling bevy_render v0.14.2 [INFO] [stderr] Compiling bevy_core_pipeline v0.14.2 [INFO] [stderr] Compiling bevy_sprite v0.14.2 [INFO] [stderr] Compiling bevy_text v0.14.2 [INFO] [stderr] Compiling bevy_ui v0.14.2 [INFO] [stderr] Compiling bevy_internal v0.14.2 [INFO] [stderr] Compiling bevy v0.14.2 [INFO] [stderr] Compiling newt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/sim/simul.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{sync::{Arc, Mutex}, thread}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/sim/simul.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/sim/simul.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn run(&mut self, dim: Dimension) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/sim/world.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn step(&mut self, dt: &f64) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/sim/world.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn euler_step(&mut self, dt: &f64) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Dimension` is more private than the item `Simulation::run` [INFO] [stdout] --> src/sim/simul.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn run(&mut self, dim: Dimension) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Simulation::run` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Dimension` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/sim/simul.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | enum Dimension { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `velocity` and `shape` are never read [INFO] [stdout] --> src/bodies/body.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Body { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | velocity: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | shape: Shape, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Body` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TwoD` and `ThreeD` are never constructed [INFO] [stdout] --> src/sim/simul.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum Dimension { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | TwoD, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | ThreeD [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dimension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `newt::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use newt::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 21s [INFO] running `Command { std: "docker" "inspect" "5e0c6830f16239c097ff371c7e371307e71fe0c78a7d933057d9fbf0872e6f3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e0c6830f16239c097ff371c7e371307e71fe0c78a7d933057d9fbf0872e6f3b", kill_on_drop: false }` [INFO] [stdout] 5e0c6830f16239c097ff371c7e371307e71fe0c78a7d933057d9fbf0872e6f3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ef302ea40af66091404778cdcab8046efaaf9cd2f3a0d673e889a6ebbd67b3e [INFO] running `Command { std: "docker" "start" "-a" "7ef302ea40af66091404778cdcab8046efaaf9cd2f3a0d673e889a6ebbd67b3e", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/sim/simul.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{sync::{Arc, Mutex}, thread}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/sim/simul.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/sim/simul.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn run(&mut self, dim: Dimension) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/sim/world.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn step(&mut self, dt: &f64) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/sim/world.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn euler_step(&mut self, dt: &f64) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Dimension` is more private than the item `Simulation::run` [INFO] [stdout] --> src/sim/simul.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn run(&mut self, dim: Dimension) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Simulation::run` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Dimension` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/sim/simul.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | enum Dimension { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling newt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `velocity` and `shape` are never read [INFO] [stdout] --> src/bodies/body.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Body { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | velocity: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | shape: Shape, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Body` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TwoD` and `ThreeD` are never constructed [INFO] [stdout] --> src/sim/simul.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum Dimension { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | TwoD, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | ThreeD [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dimension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `newt::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use newt::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/sim/simul.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{sync::{Arc, Mutex}, thread}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/sim/simul.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dim` [INFO] [stdout] --> src/sim/simul.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn run(&mut self, dim: Dimension) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/sim/world.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn step(&mut self, dt: &f64) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/sim/world.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn euler_step(&mut self, dt: &f64) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Dimension` is more private than the item `Simulation::run` [INFO] [stdout] --> src/sim/simul.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn run(&mut self, dim: Dimension) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Simulation::run` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Dimension` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/sim/simul.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | enum Dimension { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `velocity` and `shape` are never read [INFO] [stdout] --> src/bodies/body.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Body { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | velocity: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | shape: Shape, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Body` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TwoD` and `ThreeD` are never constructed [INFO] [stdout] --> src/sim/simul.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum Dimension { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | TwoD, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | ThreeD [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dimension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.25s [INFO] running `Command { std: "docker" "inspect" "7ef302ea40af66091404778cdcab8046efaaf9cd2f3a0d673e889a6ebbd67b3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ef302ea40af66091404778cdcab8046efaaf9cd2f3a0d673e889a6ebbd67b3e", kill_on_drop: false }` [INFO] [stdout] 7ef302ea40af66091404778cdcab8046efaaf9cd2f3a0d673e889a6ebbd67b3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 795dd4a8c925d4e27dd83c04322ab8eaf1acd210d733279e2dc8ca1d31431ae8 [INFO] running `Command { std: "docker" "start" "-a" "795dd4a8c925d4e27dd83c04322ab8eaf1acd210d733279e2dc8ca1d31431ae8", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `thread` [INFO] [stderr] --> src/sim/simul.rs:3:31 [INFO] [stderr] | [INFO] [stderr] 3 | use std::{sync::{Arc, Mutex}, thread}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/sim/simul.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dim` [INFO] [stderr] --> src/sim/simul.rs:49:27 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn run(&mut self, dim: Dimension) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_dim` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dt` [INFO] [stderr] --> src/sim/world.rs:44:28 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn step(&mut self, dt: &f64) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dt` [INFO] [stderr] --> src/sim/world.rs:50:34 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn euler_step(&mut self, dt: &f64) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stderr] [INFO] [stderr] warning: type `Dimension` is more private than the item `Simulation::run` [INFO] [stderr] --> src/sim/simul.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn run(&mut self, dim: Dimension) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Simulation::run` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `Dimension` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/sim/simul.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | enum Dimension { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `velocity` and `shape` are never read [INFO] [stderr] --> src/bodies/body.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Body { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 10 | velocity: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 11 | shape: Shape, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Body` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variants `TwoD` and `ThreeD` are never constructed [INFO] [stderr] --> src/sim/simul.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 8 | enum Dimension { [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] 9 | TwoD, [INFO] [stderr] | ^^^^ [INFO] [stderr] 10 | ThreeD [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Dimension` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `newt` (lib) generated 8 warnings (run `cargo fix --lib -p newt` to apply 2 suggestions) [INFO] [stderr] warning: `newt` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] warning: unused import: `newt::*` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use newt::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `newt` (bin "newt" test) generated 1 warning (run `cargo fix --bin "newt" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/newt-4188bdd665b5cb31) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/newt-e6e4392e517b2260) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests newt [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "795dd4a8c925d4e27dd83c04322ab8eaf1acd210d733279e2dc8ca1d31431ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "795dd4a8c925d4e27dd83c04322ab8eaf1acd210d733279e2dc8ca1d31431ae8", kill_on_drop: false }` [INFO] [stdout] 795dd4a8c925d4e27dd83c04322ab8eaf1acd210d733279e2dc8ca1d31431ae8