[INFO] cloning repository https://github.com/horizon-research/rust-vros-simulate
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/horizon-research/rust-vros-simulate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhorizon-research%2Frust-vros-simulate", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhorizon-research%2Frust-vros-simulate'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7c7dd55d3a5f4f31606a6870cf52efb672b2a4cd
[INFO] checking horizon-research/rust-vros-simulate against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhorizon-research%2Frust-vros-simulate" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/horizon-research/rust-vros-simulate 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/horizon-research/rust-vros-simulate
[INFO] finished tweaking git repo https://github.com/horizon-research/rust-vros-simulate
[INFO] tweaked toml for git repo https://github.com/horizon-research/rust-vros-simulate written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/horizon-research/rust-vros-simulate 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] [stderr] warning: file `/workspace/builds/worker-3-tc1/source/src/main.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `lib` target `simulator`
[INFO] [stderr]   * `bin` target `simulator`
[INFO] [stderr] warning: `panic` setting is ignored for `test` profile
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_json v1.0.13
[INFO] [stderr]   Downloaded num-traits v0.2.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c1a9161b342c7db94617f337dc4adb7a91c0bb93788b8b5746936ee5d024cffc
[INFO] running `Command { std: "docker" "start" "-a" "c1a9161b342c7db94617f337dc4adb7a91c0bb93788b8b5746936ee5d024cffc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c1a9161b342c7db94617f337dc4adb7a91c0bb93788b8b5746936ee5d024cffc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1a9161b342c7db94617f337dc4adb7a91c0bb93788b8b5746936ee5d024cffc", kill_on_drop: false }`
[INFO] [stdout] c1a9161b342c7db94617f337dc4adb7a91c0bb93788b8b5746936ee5d024cffc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 1be18437f2c8cfece055c3803010b776ac81f3469b7eadd4c25eb1d6f7dc2ad1
[INFO] running `Command { std: "docker" "start" "-a" "1be18437f2c8cfece055c3803010b776ac81f3469b7eadd4c25eb1d6f7dc2ad1", kill_on_drop: false }`
[INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `lib` target `simulator`
[INFO] [stderr]   * `bin` target `simulator`
[INFO] [stderr] warning: `panic` setting is ignored for `test` profile
[INFO] [stderr]    Compiling proc-macro2 v0.3.6
[INFO] [stderr]     Checking num-traits v0.2.2
[INFO] [stderr]     Checking itoa v0.4.1
[INFO] [stderr]     Checking dtoa v0.4.2
[INFO] [stderr]     Checking serde v1.0.37
[INFO] [stderr]    Compiling quote v0.5.1
[INFO] [stderr]    Compiling syn v0.13.1
[INFO] [stderr]    Compiling serde_derive_internals v0.23.0
[INFO] [stderr]    Compiling serde_derive v1.0.37
[INFO] [stderr]     Checking serde_json v1.0.13
[INFO] [stderr]     Checking vros-simulate v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:27:97
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn read_power_consumption_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<PowerConstants>, Box<Error>> {
[INFO] [stdout]    |                                                                                                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn read_power_consumption_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<PowerConstants>, Box<dyn Error>> {
[INFO] [stdout]    |                                                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/simulator.rs:67:89
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn read_json_cluster_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<VideoObject>, Box<Error>> {
[INFO] [stdout]    |                                                                                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn read_json_cluster_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<VideoObject>, Box<dyn Error>> {
[INFO] [stdout]    |                                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:27:97
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn read_power_consumption_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<PowerConstants>, Box<Error>> {
[INFO] [stdout]    |                                                                                                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn read_power_consumption_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<PowerConstants>, Box<dyn Error>> {
[INFO] [stdout]    |                                                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/simulator.rs:67:89
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn read_json_cluster_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<VideoObject>, Box<Error>> {
[INFO] [stdout]    |                                                                                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn read_json_cluster_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<VideoObject>, Box<dyn Error>> {
[INFO] [stdout]    |                                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t_2`
[INFO] [stdout]    --> src/ds.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |     let t_2 = Viewport::create_new_with_size(&t_1, 2000, 2000);
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_t_2`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `index`, `ratio`, `path`, `width`, and `height` are never read
[INFO] [stdout]   --> src/simulator.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct Hit {
[INFO] [stdout]    |        --- fields in this struct
[INFO] [stdout] 23 |     index: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 24 |     ratio: f64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 25 |     path: usize,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 26 |     cache_level: CacheLevel,
[INFO] [stdout] 27 |     width: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 28 |     height: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `size` is never read
[INFO] [stdout]   --> src/simulator.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | struct VideoObject {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 63 |     size: usize,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `VideoObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `index`, `ratio`, `path`, `width`, and `height` are never read
[INFO] [stdout]   --> src/simulator.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct Hit {
[INFO] [stdout]    |        --- fields in this struct
[INFO] [stdout] 23 |     index: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 24 |     ratio: f64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 25 |     path: usize,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 26 |     cache_level: CacheLevel,
[INFO] [stdout] 27 |     width: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 28 |     height: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `size` is never read
[INFO] [stdout]   --> src/simulator.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | struct VideoObject {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 63 |     size: usize,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `VideoObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `simulator::Viewport`
[INFO] [stdout]  --> tests/ds.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use simulator::Viewport;
[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: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:27:97
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn read_power_consumption_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<PowerConstants>, Box<Error>> {
[INFO] [stdout]    |                                                                                                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn read_power_consumption_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<PowerConstants>, Box<dyn Error>> {
[INFO] [stdout]    |                                                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/simulator.rs:67:89
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn read_json_cluster_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<VideoObject>, Box<Error>> {
[INFO] [stdout]    |                                                                                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn read_json_cluster_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<VideoObject>, Box<dyn Error>> {
[INFO] [stdout]    |                                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:27:97
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn read_power_consumption_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<PowerConstants>, Box<Error>> {
[INFO] [stdout]    |                                                                                                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn read_power_consumption_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<PowerConstants>, Box<dyn Error>> {
[INFO] [stdout]    |                                                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/simulator.rs:67:89
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn read_json_cluster_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<VideoObject>, Box<Error>> {
[INFO] [stdout]    |                                                                                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn read_json_cluster_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<VideoObject>, Box<dyn Error>> {
[INFO] [stdout]    |                                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t_2`
[INFO] [stdout]    --> src/ds.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |     let t_2 = Viewport::create_new_with_size(&t_1, 2000, 2000);
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_t_2`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `index`, `ratio`, `path`, `width`, and `height` are never read
[INFO] [stdout]   --> src/simulator.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct Hit {
[INFO] [stdout]    |        --- fields in this struct
[INFO] [stdout] 23 |     index: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 24 |     ratio: f64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 25 |     path: usize,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 26 |     cache_level: CacheLevel,
[INFO] [stdout] 27 |     width: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 28 |     height: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `size` is never read
[INFO] [stdout]   --> src/simulator.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | struct VideoObject {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 63 |     size: usize,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `VideoObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `index`, `ratio`, `path`, `width`, and `height` are never read
[INFO] [stdout]   --> src/simulator.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct Hit {
[INFO] [stdout]    |        --- fields in this struct
[INFO] [stdout] 23 |     index: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 24 |     ratio: f64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 25 |     path: usize,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 26 |     cache_level: CacheLevel,
[INFO] [stdout] 27 |     width: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 28 |     height: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `size` is never read
[INFO] [stdout]   --> src/simulator.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | struct VideoObject {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 63 |     size: usize,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `VideoObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 9.54s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.13.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] running `Command { std: "docker" "inspect" "1be18437f2c8cfece055c3803010b776ac81f3469b7eadd4c25eb1d6f7dc2ad1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1be18437f2c8cfece055c3803010b776ac81f3469b7eadd4c25eb1d6f7dc2ad1", kill_on_drop: false }`
[INFO] [stdout] 1be18437f2c8cfece055c3803010b776ac81f3469b7eadd4c25eb1d6f7dc2ad1
[INFO] checking horizon-research/rust-vros-simulate 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%2Fhorizon-research%2Frust-vros-simulate" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/horizon-research/rust-vros-simulate 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/horizon-research/rust-vros-simulate
[INFO] finished tweaking git repo https://github.com/horizon-research/rust-vros-simulate
[INFO] tweaked toml for git repo https://github.com/horizon-research/rust-vros-simulate written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/horizon-research/rust-vros-simulate 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] [stderr] warning: file `/workspace/builds/worker-3-tc2/source/src/main.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `lib` target `simulator`
[INFO] [stderr]   * `bin` target `simulator`
[INFO] [stderr] warning: `panic` setting is ignored for `test` profile
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b627c1aef37e97c8c2c8003af22eb0b9a64da34a2d072bb3d64f7eb40f03f11a
[INFO] running `Command { std: "docker" "start" "-a" "b627c1aef37e97c8c2c8003af22eb0b9a64da34a2d072bb3d64f7eb40f03f11a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b627c1aef37e97c8c2c8003af22eb0b9a64da34a2d072bb3d64f7eb40f03f11a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b627c1aef37e97c8c2c8003af22eb0b9a64da34a2d072bb3d64f7eb40f03f11a", kill_on_drop: false }`
[INFO] [stdout] b627c1aef37e97c8c2c8003af22eb0b9a64da34a2d072bb3d64f7eb40f03f11a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] bf53977680720c6a3daf5b1d8b2b17423ff5d08d03aa02ebdb4e2298bf4d8eb2
[INFO] running `Command { std: "docker" "start" "-a" "bf53977680720c6a3daf5b1d8b2b17423ff5d08d03aa02ebdb4e2298bf4d8eb2", kill_on_drop: false }`
[INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `lib` target `simulator`
[INFO] [stderr]   * `bin` target `simulator`
[INFO] [stderr] warning: `panic` setting is ignored for `test` profile
[INFO] [stderr]    Compiling proc-macro2 v0.3.6
[INFO] [stderr]     Checking itoa v0.4.1
[INFO] [stderr]     Checking num-traits v0.2.2
[INFO] [stderr]     Checking dtoa v0.4.2
[INFO] [stderr]     Checking serde v1.0.37
[INFO] [stderr]    Compiling quote v0.5.1
[INFO] [stderr]    Compiling syn v0.13.1
[INFO] [stderr]    Compiling serde_derive_internals v0.23.0
[INFO] [stderr]    Compiling serde_derive v1.0.37
[INFO] [stderr]     Checking serde_json v1.0.13
[INFO] [stderr]     Checking vros-simulate v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:27:97
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn read_power_consumption_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<PowerConstants>, Box<Error>> {
[INFO] [stdout]    |                                                                                                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn read_power_consumption_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<PowerConstants>, Box<dyn Error>> {
[INFO] [stdout]    |                                                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/simulator.rs:67:89
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn read_json_cluster_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<VideoObject>, Box<Error>> {
[INFO] [stdout]    |                                                                                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn read_json_cluster_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<VideoObject>, Box<dyn Error>> {
[INFO] [stdout]    |                                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:27:97
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn read_power_consumption_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<PowerConstants>, Box<Error>> {
[INFO] [stdout]    |                                                                                                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn read_power_consumption_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<PowerConstants>, Box<dyn Error>> {
[INFO] [stdout]    |                                                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/simulator.rs:67:89
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn read_json_cluster_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<VideoObject>, Box<Error>> {
[INFO] [stdout]    |                                                                                         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn read_json_cluster_from_file<P: AsRef<Path>>(path: P) -> Result<Vec<VideoObject>, Box<dyn Error>> {
[INFO] [stdout]    |                                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t_2`
[INFO] [stdout]    --> src/ds.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |     let t_2 = Viewport::create_new_with_size(&t_1, 2000, 2000);
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_t_2`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `index`, `ratio`, `path`, `width`, and `height` are never read
[INFO] [stdout]   --> src/simulator.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct Hit {
[INFO] [stdout]    |        --- fields in this struct
[INFO] [stdout] 23 |     index: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 24 |     ratio: f64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 25 |     path: usize,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 26 |     cache_level: CacheLevel,
[INFO] [stdout] 27 |     width: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 28 |     height: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `size` is never read
[INFO] [stdout]   --> src/simulator.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | struct VideoObject {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 63 |     size: usize,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `VideoObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/simulator.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[derive(Clone, Deserialize, Debug)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_PowerConstants`
[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]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/simulator.rs:59:10
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_VideoObject`
[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: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `vros-simulate` (lib test) due to 3 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: fields `index`, `ratio`, `path`, `width`, and `height` are never read
[INFO] [stdout]   --> src/simulator.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct Hit {
[INFO] [stdout]    |        --- fields in this struct
[INFO] [stdout] 23 |     index: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 24 |     ratio: f64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 25 |     path: usize,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 26 |     cache_level: CacheLevel,
[INFO] [stdout] 27 |     width: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 28 |     height: usize,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `size` is never read
[INFO] [stdout]   --> src/simulator.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | struct VideoObject {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 63 |     size: usize,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `VideoObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/simulator.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[derive(Clone, Deserialize, Debug)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_PowerConstants`
[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]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/simulator.rs:59:10
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_VideoObject`
[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: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `vros-simulate` (lib) due to 3 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "bf53977680720c6a3daf5b1d8b2b17423ff5d08d03aa02ebdb4e2298bf4d8eb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf53977680720c6a3daf5b1d8b2b17423ff5d08d03aa02ebdb4e2298bf4d8eb2", kill_on_drop: false }`
[INFO] [stdout] bf53977680720c6a3daf5b1d8b2b17423ff5d08d03aa02ebdb4e2298bf4d8eb2
