[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 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhorizon-research%2Frust-vros-simulate" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-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-4-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_derive v1.0.37 [INFO] [stderr] Downloaded quote v0.5.1 [INFO] [stderr] Downloaded num-traits v0.2.2 [INFO] [stderr] Downloaded itoa v0.4.1 [INFO] [stderr] Downloaded proc-macro2 v0.3.6 [INFO] [stderr] Downloaded serde_derive_internals v0.23.0 [INFO] [stderr] Downloaded serde v1.0.37 [INFO] [stderr] Downloaded serde_json v1.0.13 [INFO] [stderr] Downloaded syn v0.13.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 17760941e2c1a782f34320df222d44fac74b44d6f9246d624434dd72fa39c7aa [INFO] running `Command { std: "docker" "start" "-a" "17760941e2c1a782f34320df222d44fac74b44d6f9246d624434dd72fa39c7aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17760941e2c1a782f34320df222d44fac74b44d6f9246d624434dd72fa39c7aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17760941e2c1a782f34320df222d44fac74b44d6f9246d624434dd72fa39c7aa", kill_on_drop: false }` [INFO] [stdout] 17760941e2c1a782f34320df222d44fac74b44d6f9246d624434dd72fa39c7aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 7098d2c1db3506a405817cdf84e89d3c7ef55f7114b496b13897fcf78a343139 [INFO] running `Command { std: "docker" "start" "-a" "7098d2c1db3506a405817cdf84e89d3c7ef55f7114b496b13897fcf78a343139", 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 dtoa v0.4.2 [INFO] [stderr] Checking itoa v0.4.1 [INFO] [stderr] Checking num-traits v0.2.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>(path: P) -> Result, Box> { [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 [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>(path: P) -> Result, Box> { [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>(path: P) -> Result, Box> { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | fn read_json_cluster_from_file>(path: P) -> Result, Box> { [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>(path: P) -> Result, Box> { [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 [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>(path: P) -> Result, Box> { [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>(path: P) -> Result, Box> { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | fn read_json_cluster_from_file>(path: P) -> Result, Box> { [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: 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: 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: 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>(path: P) -> Result, Box> { [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 [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>(path: P) -> Result, Box> { [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>(path: P) -> Result, Box> { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | fn read_json_cluster_from_file>(path: P) -> Result, Box> { [INFO] [stdout] | +++ [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>(path: P) -> Result, Box> { [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 [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>(path: P) -> Result, Box> { [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>(path: P) -> Result, Box> { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | fn read_json_cluster_from_file>(path: P) -> Result, Box> { [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 5.72s [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 1` [INFO] running `Command { std: "docker" "inspect" "7098d2c1db3506a405817cdf84e89d3c7ef55f7114b496b13897fcf78a343139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7098d2c1db3506a405817cdf84e89d3c7ef55f7114b496b13897fcf78a343139", kill_on_drop: false }` [INFO] [stdout] 7098d2c1db3506a405817cdf84e89d3c7ef55f7114b496b13897fcf78a343139 [INFO] checking horizon-research/rust-vros-simulate against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhorizon-research%2Frust-vros-simulate" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-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-4-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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 03caefc55bc9ed12a7bde89db525b7850148978f1a2ca39f6c6ad14310eed76c [INFO] running `Command { std: "docker" "start" "-a" "03caefc55bc9ed12a7bde89db525b7850148978f1a2ca39f6c6ad14310eed76c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03caefc55bc9ed12a7bde89db525b7850148978f1a2ca39f6c6ad14310eed76c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03caefc55bc9ed12a7bde89db525b7850148978f1a2ca39f6c6ad14310eed76c", kill_on_drop: false }` [INFO] [stdout] 03caefc55bc9ed12a7bde89db525b7850148978f1a2ca39f6c6ad14310eed76c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] dfa6ccb1f802b271a4ecc86ffc2fc395b43757c50430699d18e9b72b528503ae [INFO] running `Command { std: "docker" "start" "-a" "dfa6ccb1f802b271a4ecc86ffc2fc395b43757c50430699d18e9b72b528503ae", 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 serde v1.0.37 [INFO] [stderr] Checking num-traits v0.2.2 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Checking itoa v0.4.1 [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>(path: P) -> Result, Box> { [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 [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>(path: P) -> Result, Box> { [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>(path: P) -> Result, Box> { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | fn read_json_cluster_from_file>(path: P) -> Result, Box> { [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>(path: P) -> Result, Box> { [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 [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>(path: P) -> Result, Box> { [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>(path: P) -> Result, Box> { [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | fn read_json_cluster_from_file>(path: P) -> Result, Box> { [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 [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 [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] [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 [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 [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] [stderr] error: could not compile `vros-simulate` (lib test) due to 3 previous errors; 5 warnings emitted [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `vros-simulate` (lib) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dfa6ccb1f802b271a4ecc86ffc2fc395b43757c50430699d18e9b72b528503ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfa6ccb1f802b271a4ecc86ffc2fc395b43757c50430699d18e9b72b528503ae", kill_on_drop: false }` [INFO] [stdout] dfa6ccb1f802b271a4ecc86ffc2fc395b43757c50430699d18e9b72b528503ae