[INFO] cloning repository https://github.com/Einarin/ShipSystems [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Einarin/ShipSystems" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEinarin%2FShipSystems", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEinarin%2FShipSystems'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e262a08540c6a99fd46bbbcc8bd0f5bfdaac3252 [INFO] checking Einarin/ShipSystems against master#05eac57ef6668c9d181b65aceb96b1e7881f60be for pr-127656 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEinarin%2FShipSystems" "/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/Einarin/ShipSystems on toolchain 05eac57ef6668c9d181b65aceb96b1e7881f60be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Einarin/ShipSystems [INFO] finished tweaking git repo https://github.com/Einarin/ShipSystems [INFO] tweaked toml for git repo https://github.com/Einarin/ShipSystems written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Einarin/ShipSystems 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" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94ac68d594d1bc8933777bb3d1de10975998fdbe2e4edce8416a27e267f61946 [INFO] running `Command { std: "docker" "start" "-a" "94ac68d594d1bc8933777bb3d1de10975998fdbe2e4edce8416a27e267f61946", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94ac68d594d1bc8933777bb3d1de10975998fdbe2e4edce8416a27e267f61946", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94ac68d594d1bc8933777bb3d1de10975998fdbe2e4edce8416a27e267f61946", kill_on_drop: false }` [INFO] [stdout] 94ac68d594d1bc8933777bb3d1de10975998fdbe2e4edce8416a27e267f61946 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be5dea57f72fa4226eccd25c5008315055a97ac156bb3a63d873ed23d7fa44e5 [INFO] running `Command { std: "docker" "start" "-a" "be5dea57f72fa4226eccd25c5008315055a97ac156bb3a63d873ed23d7fa44e5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking ship_systems v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | try!(write!(f,"{{ ")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:474:9 [INFO] [stdout] | [INFO] [stdout] 474 | try!(write!(f," }}")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:471:13 [INFO] [stdout] | [INFO] [stdout] 471 | try!(c.borrow().fmt(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | try!(write!(f," : ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | try!(write!(f,"{{ ")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:474:9 [INFO] [stdout] | [INFO] [stdout] 474 | try!(write!(f," }}")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:471:13 [INFO] [stdout] | [INFO] [stdout] 471 | try!(c.borrow().fmt(f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | try!(write!(f," : ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/lib.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 485 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/lib.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:428:36 [INFO] [stdout] | [INFO] [stdout] 428 | components: Vec>>>, [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 428 | components: Vec>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:428:36 [INFO] [stdout] | [INFO] [stdout] 428 | components: Vec>>>, [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 428 | components: Vec>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:109:51 [INFO] [stdout] | [INFO] [stdout] 109 | fn new_component(size: f32) -> Rc>> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 | fn new_component(size: f32) -> Rc>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:109:51 [INFO] [stdout] | [INFO] [stdout] 109 | fn new_component(size: f32) -> Rc>> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 | fn new_component(size: f32) -> Rc>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:198:55 [INFO] [stdout] | [INFO] [stdout] 198 | fn new_component(capacity: f32) -> Rc>> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 198 | fn new_component(capacity: f32) -> Rc>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:198:55 [INFO] [stdout] | [INFO] [stdout] 198 | fn new_component(capacity: f32) -> Rc>> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 198 | fn new_component(capacity: f32) -> Rc>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:324:42 [INFO] [stdout] | [INFO] [stdout] 324 | fn new_component() -> Rc>> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 324 | fn new_component() -> Rc>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:324:42 [INFO] [stdout] | [INFO] [stdout] 324 | fn new_component() -> Rc>> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 324 | fn new_component() -> Rc>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:391:42 [INFO] [stdout] | [INFO] [stdout] 391 | fn new_component() -> Rc>> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 391 | fn new_component() -> Rc>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:391:42 [INFO] [stdout] | [INFO] [stdout] 391 | fn new_component() -> Rc>> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 391 | fn new_component() -> Rc>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:110:128 [INFO] [stdout] | [INFO] [stdout] 110 | Rc::new(RefCell::new(Box::new(FusionReactor{phase: ReactorPhase::Stopped, sizing: size, last_utilization: 0.0}) as 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 | Rc::new(RefCell::new(Box::new(FusionReactor{phase: ReactorPhase::Stopped, sizing: size, last_utilization: 0.0}) as Box)) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:110:128 [INFO] [stdout] | [INFO] [stdout] 110 | Rc::new(RefCell::new(Box::new(FusionReactor{phase: ReactorPhase::Stopped, sizing: size, last_utilization: 0.0}) as 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 | Rc::new(RefCell::new(Box::new(FusionReactor{phase: ReactorPhase::Stopped, sizing: size, last_utilization: 0.0}) as Box)) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:199:96 [INFO] [stdout] | [INFO] [stdout] 199 | Rc::new(RefCell::new(Box::new(Capacitor{capacity: capacity, charge_level: 0.0}) as 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 199 | Rc::new(RefCell::new(Box::new(Capacitor{capacity: capacity, charge_level: 0.0}) as Box)) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:199:96 [INFO] [stdout] | [INFO] [stdout] 199 | Rc::new(RefCell::new(Box::new(Capacitor{capacity: capacity, charge_level: 0.0}) as 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 199 | Rc::new(RefCell::new(Box::new(Capacitor{capacity: capacity, charge_level: 0.0}) as Box)) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:325:70 [INFO] [stdout] | [INFO] [stdout] 325 | Rc::new(RefCell::new(Box::new(Radiator{ambient: 0.0}) as 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 325 | Rc::new(RefCell::new(Box::new(Radiator{ambient: 0.0}) as Box)) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:392:67 [INFO] [stdout] | [INFO] [stdout] 392 | Rc::new(RefCell::new(Box::new(Laser{fired: false}) as 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 392 | Rc::new(RefCell::new(Box::new(Laser{fired: false}) as Box)) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:325:70 [INFO] [stdout] | [INFO] [stdout] 325 | Rc::new(RefCell::new(Box::new(Radiator{ambient: 0.0}) as 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 325 | Rc::new(RefCell::new(Box::new(Radiator{ambient: 0.0}) as Box)) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:392:67 [INFO] [stdout] | [INFO] [stdout] 392 | Rc::new(RefCell::new(Box::new(Laser{fired: false}) as 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 392 | Rc::new(RefCell::new(Box::new(Laser{fired: false}) as Box)) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:68:40 [INFO] [stdout] | [INFO] [stdout] 68 | fn get_fixed_processing(&mut self, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | fn get_potential_supply(&self, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/lib.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | fn get_potential_consumption(&self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:74:64 [INFO] [stdout] | [INFO] [stdout] 74 | fn get_potential_consumption(&self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/lib.rs:77:36 [INFO] [stdout] | [INFO] [stdout] 77 | fn supply_on_demand(&mut self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:497:65 [INFO] [stdout] | [INFO] [stdout] 497 | mgr.components.push(Rc::new(RefCell::new(battery as 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 497 | mgr.components.push(Rc::new(RefCell::new(battery as Box))); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:77:59 [INFO] [stdout] | [INFO] [stdout] 77 | fn supply_on_demand(&mut self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/lib.rs:80:37 [INFO] [stdout] | [INFO] [stdout] 80 | fn consume_on_demand(&mut self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:80:60 [INFO] [stdout] | [INFO] [stdout] 80 | fn consume_on_demand(&mut self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:136:36 [INFO] [stdout] | [INFO] [stdout] 136 | fn get_potential_supply(&self, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:146:64 [INFO] [stdout] | [INFO] [stdout] 146 | fn get_potential_consumption(&self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:160:60 [INFO] [stdout] | [INFO] [stdout] 160 | fn consume_on_demand(&mut self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:204:36 [INFO] [stdout] | [INFO] [stdout] 204 | fn get_potential_supply(&self, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:68:40 [INFO] [stdout] | [INFO] [stdout] 68 | fn get_fixed_processing(&mut self, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | fn get_potential_supply(&self, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/lib.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | fn get_potential_consumption(&self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/lib.rs:207:41 [INFO] [stdout] | [INFO] [stdout] 207 | fn get_potential_consumption(&self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:74:64 [INFO] [stdout] | [INFO] [stdout] 74 | fn get_potential_consumption(&self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:207:64 [INFO] [stdout] | [INFO] [stdout] 207 | fn get_potential_consumption(&self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/lib.rs:77:36 [INFO] [stdout] | [INFO] [stdout] 77 | fn supply_on_demand(&mut self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:77:59 [INFO] [stdout] | [INFO] [stdout] 77 | fn supply_on_demand(&mut self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/lib.rs:80:37 [INFO] [stdout] | [INFO] [stdout] 80 | fn consume_on_demand(&mut self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:80:60 [INFO] [stdout] | [INFO] [stdout] 80 | fn consume_on_demand(&mut self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:285:36 [INFO] [stdout] | [INFO] [stdout] 285 | fn get_potential_supply(&self, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:136:36 [INFO] [stdout] | [INFO] [stdout] 136 | fn get_potential_supply(&self, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/lib.rs:289:41 [INFO] [stdout] | [INFO] [stdout] 289 | fn get_potential_consumption(&self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:289:64 [INFO] [stdout] | [INFO] [stdout] 289 | fn get_potential_consumption(&self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:146:64 [INFO] [stdout] | [INFO] [stdout] 146 | fn get_potential_consumption(&self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:160:60 [INFO] [stdout] | [INFO] [stdout] 160 | fn consume_on_demand(&mut self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:204:36 [INFO] [stdout] | [INFO] [stdout] 204 | fn get_potential_supply(&self, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:334:36 [INFO] [stdout] | [INFO] [stdout] 334 | fn get_potential_supply(&self, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/lib.rs:207:41 [INFO] [stdout] | [INFO] [stdout] 207 | fn get_potential_consumption(&self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:339:59 [INFO] [stdout] | [INFO] [stdout] 339 | fn consume_on_demand(&mut self,resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:207:64 [INFO] [stdout] | [INFO] [stdout] 207 | fn get_potential_consumption(&self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:364:36 [INFO] [stdout] | [INFO] [stdout] 364 | fn get_potential_supply(&self, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:369:59 [INFO] [stdout] | [INFO] [stdout] 369 | fn supply_on_demand(&mut self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:285:36 [INFO] [stdout] | [INFO] [stdout] 285 | fn get_potential_supply(&self, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/lib.rs:289:41 [INFO] [stdout] | [INFO] [stdout] 289 | fn get_potential_consumption(&self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:289:64 [INFO] [stdout] | [INFO] [stdout] 289 | fn get_potential_consumption(&self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:407:64 [INFO] [stdout] | [INFO] [stdout] 407 | fn get_potential_consumption(&self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:414:59 [INFO] [stdout] | [INFO] [stdout] 414 | fn consume_on_demand(&mut self,resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:334:36 [INFO] [stdout] | [INFO] [stdout] 334 | fn get_potential_supply(&self, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:339:59 [INFO] [stdout] | [INFO] [stdout] 339 | fn consume_on_demand(&mut self,resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:364:36 [INFO] [stdout] | [INFO] [stdout] 364 | fn get_potential_supply(&self, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:369:59 [INFO] [stdout] | [INFO] [stdout] 369 | fn supply_on_demand(&mut self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:407:64 [INFO] [stdout] | [INFO] [stdout] 407 | fn get_potential_consumption(&self, resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/lib.rs:414:59 [INFO] [stdout] | [INFO] [stdout] 414 | fn consume_on_demand(&mut self,resources: &Resources, time: &GameTime) -> Resources { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `electric` is never used [INFO] [stdout] --> src/lib.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Resources { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 19 | fn electric(amount: f32) -> Resources { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ms` is never read [INFO] [stdout] --> src/lib.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct GameTime { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 56 | ms: u64, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReactorPhase` is never used [INFO] [stdout] --> src/lib.rs:86:6 [INFO] [stdout] | [INFO] [stdout] 86 | enum ReactorPhase { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FusionReactor` is never constructed [INFO] [stdout] --> src/lib.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct FusionReactor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `compute_load_level`, `compute_demand_level`, and `new_component` are never used [INFO] [stdout] --> src/lib.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 96 | impl FusionReactor { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 97 | fn compute_load_level(&mut self, load: f32, time: &GameTime) -> Resources{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn compute_demand_level(&mut self, demand: f32, time: &GameTime) -> Resources{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn new_component(size: f32) -> Rc>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Capacitor` is never constructed [INFO] [stdout] --> src/lib.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | pub struct Capacitor { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_component` is never used [INFO] [stdout] --> src/lib.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 197 | impl Capacitor { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 198 | fn new_component(capacity: f32) -> Rc>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `charge_rate` and `discharge_rate` are never read [INFO] [stdout] --> src/lib.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 238 | pub struct BatteryData { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 239 | capacity: f32, [INFO] [stdout] 240 | charge_rate: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 241 | discharge_rate: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Battery` is never constructed [INFO] [stdout] --> src/lib.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct Battery { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max` is never used [INFO] [stdout] --> src/lib.rs:276:4 [INFO] [stdout] | [INFO] [stdout] 276 | fn max(x: f32,y: f32)->f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min` is never used [INFO] [stdout] --> src/lib.rs:280:4 [INFO] [stdout] | [INFO] [stdout] 280 | fn min(x: f32,y: f32)->f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Radiator` is never constructed [INFO] [stdout] --> src/lib.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 319 | pub struct Radiator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_component` is never used [INFO] [stdout] --> src/lib.rs:324:8 [INFO] [stdout] | [INFO] [stdout] 323 | impl Radiator { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 324 | fn new_component() -> Rc>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeuteriumTank` is never constructed [INFO] [stdout] --> src/lib.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | pub struct DeuteriumTank { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Laser` is never constructed [INFO] [stdout] --> src/lib.rs:386:12 [INFO] [stdout] | [INFO] [stdout] 386 | pub struct Laser { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_component` is never used [INFO] [stdout] --> src/lib.rs:391:8 [INFO] [stdout] | [INFO] [stdout] 390 | impl Laser { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 391 | fn new_component() -> Rc>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComponentManager` is never constructed [INFO] [stdout] --> src/lib.rs:427:12 [INFO] [stdout] | [INFO] [stdout] 427 | pub struct ComponentManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/lib.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 433 | impl ComponentManager { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 434 | fn update(&mut self, resources: &mut Resources){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bat_dat` [INFO] [stdout] --> src/lib.rs:496:13 [INFO] [stdout] | [INFO] [stdout] 496 | let bat_dat = battery.data.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bat_dat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:517:13 [INFO] [stdout] | [INFO] [stdout] 517 | for i in 1..40 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max` is never used [INFO] [stdout] --> src/lib.rs:276:4 [INFO] [stdout] | [INFO] [stdout] 276 | fn max(x: f32,y: f32)->f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "be5dea57f72fa4226eccd25c5008315055a97ac156bb3a63d873ed23d7fa44e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be5dea57f72fa4226eccd25c5008315055a97ac156bb3a63d873ed23d7fa44e5", kill_on_drop: false }` [INFO] [stdout] be5dea57f72fa4226eccd25c5008315055a97ac156bb3a63d873ed23d7fa44e5 [INFO] checking Einarin/ShipSystems against try#0c9c19b42881b7ee3d3f268d2369726c7f8dddfd for pr-127656 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEinarin%2FShipSystems" "/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/Einarin/ShipSystems on toolchain 0c9c19b42881b7ee3d3f268d2369726c7f8dddfd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Einarin/ShipSystems [INFO] finished tweaking git repo https://github.com/Einarin/ShipSystems [INFO] tweaked toml for git repo https://github.com/Einarin/ShipSystems written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Einarin/ShipSystems 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" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6bf81ce8eefd97dce25f83562654072e55e673e114f0d1618ea30138790d3046 [INFO] running `Command { std: "docker" "start" "-a" "6bf81ce8eefd97dce25f83562654072e55e673e114f0d1618ea30138790d3046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bf81ce8eefd97dce25f83562654072e55e673e114f0d1618ea30138790d3046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bf81ce8eefd97dce25f83562654072e55e673e114f0d1618ea30138790d3046", kill_on_drop: false }` [INFO] [stdout] 6bf81ce8eefd97dce25f83562654072e55e673e114f0d1618ea30138790d3046 [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" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 691d746f0fd5dc984586237aea8763338d5f3b02fcf0844c7a34434bbb60362e [INFO] running `Command { std: "docker" "start" "-a" "691d746f0fd5dc984586237aea8763338d5f3b02fcf0844c7a34434bbb60362e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stdout] error[E0365]: extern crate `core` is private and cannot be re-exported [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bitflags-0.7.0/src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use core as __core; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider making the `extern crate` item publicly accessible [INFO] [stdout] | [INFO] [stdout] 1 | pub // Copyright 2014 The Rust Project Developers. See the COPYRIGHT [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0365`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitflags` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "691d746f0fd5dc984586237aea8763338d5f3b02fcf0844c7a34434bbb60362e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "691d746f0fd5dc984586237aea8763338d5f3b02fcf0844c7a34434bbb60362e", kill_on_drop: false }` [INFO] [stdout] 691d746f0fd5dc984586237aea8763338d5f3b02fcf0844c7a34434bbb60362e