[INFO] cloning repository https://github.com/iwilare/factorio-planner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iwilare/factorio-planner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwilare%2Ffactorio-planner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwilare%2Ffactorio-planner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 64e7dbf1510879ef8f42f037940f52ae2f27bb56 [INFO] testing iwilare/factorio-planner against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwilare%2Ffactorio-planner" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iwilare/factorio-planner on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iwilare/factorio-planner [INFO] finished tweaking git repo https://github.com/iwilare/factorio-planner [INFO] tweaked toml for git repo https://github.com/iwilare/factorio-planner written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/iwilare/factorio-planner already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4614201a8305214f1523e83141555e7b06af74200692ece104739936468567d [INFO] running `Command { std: "docker" "start" "-a" "b4614201a8305214f1523e83141555e7b06af74200692ece104739936468567d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4614201a8305214f1523e83141555e7b06af74200692ece104739936468567d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4614201a8305214f1523e83141555e7b06af74200692ece104739936468567d", kill_on_drop: false }` [INFO] [stdout] b4614201a8305214f1523e83141555e7b06af74200692ece104739936468567d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32b5612099528e061748f1f8c6a84f037e76af1d1257c39bfcb10992d6157f40 [INFO] running `Command { std: "docker" "start" "-a" "32b5612099528e061748f1f8c6a84f037e76af1d1257c39bfcb10992d6157f40", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling factorio-planner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | name: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UEXT` [INFO] [stdout] --> src/main.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | const UEXT : Factory = Factory { name: "uranium drill", crafting_speed: 0.25, is_assembly: false }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FURN` [INFO] [stdout] --> src/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | const FURN : Factory = Factory { name: "furnace", crafting_speed: 1.0, is_assembly: false }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PUMP` [INFO] [stdout] --> src/main.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | const PUMP : Factory = Factory { name: "pumpjack", crafting_speed: 1.0, is_assembly: false }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OILR` [INFO] [stdout] --> src/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | const OILR : Factory = Factory { name: "oil refinery", crafting_speed: 1.0, is_assembly: false }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ASM2` [INFO] [stdout] --> src/main.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | const ASM2 : Factory = Factory { name: "assembling machine 2", crafting_speed: 0.75, is_assembly: true }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ASM3` [INFO] [stdout] --> src/main.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | const ASM3 : Factory = Factory { name: "assembling machine 3", crafting_speed: 1.25, is_assembly: true }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COAL` [INFO] [stdout] --> src/main.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | const COAL : Item = Item { name: "coal", factory: &EXTR, count: 1, time: 1.0, components: &[] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `STONE` [INFO] [stdout] --> src/main.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | const STONE : Item = Item { name: "stone", factory: &EFUR, count: 1, time: 0.5, components: &[] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUBRICANT` [INFO] [stdout] --> src/main.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | const LUBRICANT : Item = Item { name: "lubricant", factory: &CHEM, count: 10, time: 1.0, components: &[] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACID` [INFO] [stdout] --> src/main.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | const ACID : Item = Item { name: "acid", factory: &CHEM, count: 50, time: 1.0, components: &[] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SP1` [INFO] [stdout] --> src/main.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | const SP1 : Item = Item { name: "sp red", factory: &ASM_, count: 1, time: 5.0, components: &[(1, &COPPER), (1, &GEAR)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INSERTER` [INFO] [stdout] --> src/main.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | const INSERTER : Item = Item { name: "inserter", factory: &ASM_, count: 1, time: 0.5, components: &[(1, &CIRCUIT1), (1, &GEAR), (1, &IRON)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BELT1` [INFO] [stdout] --> src/main.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | const BELT1 : Item = Item { name: "belt1", factory: &ASM_, count: 1, time: 0.5, components: &[(1, &GEAR), (1, &IRON)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SP2` [INFO] [stdout] --> src/main.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | const SP2 : Item = Item { name: "sp green", factory: &ASM_, count: 1, time: 6.0, components: &[(1, &INSERTER), (1, &BELT1)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `STICK` [INFO] [stdout] --> src/main.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | const STICK : Item = Item { name: "stick", factory: &ASM_, count: 2, time: 0.5, components: &[(1, &IRON)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RAIL` [INFO] [stdout] --> src/main.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | const RAIL : Item = Item { name: "rail", factory: &ASM_, count: 2, time: 0.5, components: &[(1, &STICK), (1, &STEEL), (1, &STONE)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PROD` [INFO] [stdout] --> src/main.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | const PROD : Item = Item { name: "productivity mod", factory: &ASM_, count: 1, time: 15.0, components: &[(5, &CIRCUIT1), (5, &CIRCUIT2)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BRICK` [INFO] [stdout] --> src/main.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | const BRICK : Item = Item { name: "brick", factory: &ASM_, count: 1, time: 3.2, components: &[(2, &STONE)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EFURNACE` [INFO] [stdout] --> src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | const EFURNACE : Item = Item { name: "electric furnace", factory: &ASM_, count: 1, time: 0.5, components: &[(10, &BRICK), (10, &STEEL), (5, &CIRCUIT2)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SP4` [INFO] [stdout] --> src/main.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | const SP4 : Item = Item { name: "sp purple", factory: &ASM_, count: 3, time: 21.0, components: &[(30, &RAIL), (1, &EFURNACE), (1, &PROD)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GRENADE` [INFO] [stdout] --> src/main.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | const GRENADE : Item = Item { name: "grenade", factory: &ASM_, count: 1, time: 8.0, components: &[(10, &COAL), (5, &IRON)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WALL` [INFO] [stdout] --> src/main.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | const WALL : Item = Item { name: "wall", factory: &ASM_, count: 1, time: 0.5, components: &[(5, &BRICK)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAGAZINE` [INFO] [stdout] --> src/main.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | const MAGAZINE : Item = Item { name: "magazine", factory: &ASM_, count: 1, time: 1.0, components: &[(4, &IRON)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PIERCING` [INFO] [stdout] --> src/main.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | const PIERCING : Item = Item { name: "piercing", factory: &ASM_, count: 1, time: 3.0, components: &[(5, &COPPER), (1, &MAGAZINE), (1, &STEEL)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SPM` [INFO] [stdout] --> src/main.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | const SPM : Item = Item { name: "sp black" , factory: &ASM_, count: 2, time: 10.0, components: &[(2, &WALL), (1, &GRENADE), (1, &PIERCING)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EENGINE` [INFO] [stdout] --> src/main.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | const EENGINE : Item = Item { name: "electric engine", factory: &ASM_, count: 1, time: 10.0, components: &[(15, &LUBRICANT), (2, &CIRCUIT1), (1, &ENGINE)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BATTERY` [INFO] [stdout] --> src/main.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | const BATTERY : Item = Item { name: "battery", factory: &ASM_, count: 1, time: 4.0, components: &[(20, &ACID), (1, &COPPER), (1, &IRON)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ROBOT` [INFO] [stdout] --> src/main.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | const ROBOT : Item = Item { name: "robot", factory: &ASM_, count: 1, time: 20.0, components: &[(3, &CIRCUIT1), (2, &BATTERY), (1, &EENGINE), (1, &STEEL)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LDS` [INFO] [stdout] --> src/main.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | const LDS : Item = Item { name: "lds", factory: &ASM_, count: 1, time: 20.0, components: &[(20, &COPPER), (5, &PLASTIC), (2, &STEEL)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CIRCUIT3` [INFO] [stdout] --> src/main.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | const CIRCUIT3 : Item = Item { name: "circuit3", factory: &ASM_, count: 1, time: 10.0, components: &[(20, &CIRCUIT1), (5, &ACID), (2, &CIRCUIT2)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SPEED` [INFO] [stdout] --> src/main.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | const SPEED : Item = Item { name: "speed mod", factory: &ASM_, count: 1, time: 15.0, components: &[(5, &CIRCUIT2), (5, &CIRCUIT1)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SP5` [INFO] [stdout] --> src/main.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | const SP5 : Item = Item { name: "sp yellow", factory: &ASM_, count: 3, time: 21.0, components: &[(3, &LDS), (2, &CIRCUIT3), (1, &ROBOT)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.16s [INFO] running `Command { std: "docker" "inspect" "32b5612099528e061748f1f8c6a84f037e76af1d1257c39bfcb10992d6157f40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32b5612099528e061748f1f8c6a84f037e76af1d1257c39bfcb10992d6157f40", kill_on_drop: false }` [INFO] [stdout] 32b5612099528e061748f1f8c6a84f037e76af1d1257c39bfcb10992d6157f40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93565645c61e2fcc3aa324d50bce442bd6a5d1b9d4d3b765bf7812319a9e6058 [INFO] running `Command { std: "docker" "start" "-a" "93565645c61e2fcc3aa324d50bce442bd6a5d1b9d4d3b765bf7812319a9e6058", kill_on_drop: false }` [INFO] [stderr] Compiling factorio-planner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | name: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UEXT` [INFO] [stdout] --> src/main.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | const UEXT : Factory = Factory { name: "uranium drill", crafting_speed: 0.25, is_assembly: false }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FURN` [INFO] [stdout] --> src/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | const FURN : Factory = Factory { name: "furnace", crafting_speed: 1.0, is_assembly: false }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PUMP` [INFO] [stdout] --> src/main.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | const PUMP : Factory = Factory { name: "pumpjack", crafting_speed: 1.0, is_assembly: false }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OILR` [INFO] [stdout] --> src/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | const OILR : Factory = Factory { name: "oil refinery", crafting_speed: 1.0, is_assembly: false }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ASM2` [INFO] [stdout] --> src/main.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | const ASM2 : Factory = Factory { name: "assembling machine 2", crafting_speed: 0.75, is_assembly: true }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ASM3` [INFO] [stdout] --> src/main.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | const ASM3 : Factory = Factory { name: "assembling machine 3", crafting_speed: 1.25, is_assembly: true }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COAL` [INFO] [stdout] --> src/main.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | const COAL : Item = Item { name: "coal", factory: &EXTR, count: 1, time: 1.0, components: &[] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `STONE` [INFO] [stdout] --> src/main.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | const STONE : Item = Item { name: "stone", factory: &EFUR, count: 1, time: 0.5, components: &[] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LUBRICANT` [INFO] [stdout] --> src/main.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | const LUBRICANT : Item = Item { name: "lubricant", factory: &CHEM, count: 10, time: 1.0, components: &[] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACID` [INFO] [stdout] --> src/main.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | const ACID : Item = Item { name: "acid", factory: &CHEM, count: 50, time: 1.0, components: &[] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SP1` [INFO] [stdout] --> src/main.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | const SP1 : Item = Item { name: "sp red", factory: &ASM_, count: 1, time: 5.0, components: &[(1, &COPPER), (1, &GEAR)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INSERTER` [INFO] [stdout] --> src/main.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | const INSERTER : Item = Item { name: "inserter", factory: &ASM_, count: 1, time: 0.5, components: &[(1, &CIRCUIT1), (1, &GEAR), (1, &IRON)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BELT1` [INFO] [stdout] --> src/main.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | const BELT1 : Item = Item { name: "belt1", factory: &ASM_, count: 1, time: 0.5, components: &[(1, &GEAR), (1, &IRON)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SP2` [INFO] [stdout] --> src/main.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | const SP2 : Item = Item { name: "sp green", factory: &ASM_, count: 1, time: 6.0, components: &[(1, &INSERTER), (1, &BELT1)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `STICK` [INFO] [stdout] --> src/main.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | const STICK : Item = Item { name: "stick", factory: &ASM_, count: 2, time: 0.5, components: &[(1, &IRON)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RAIL` [INFO] [stdout] --> src/main.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | const RAIL : Item = Item { name: "rail", factory: &ASM_, count: 2, time: 0.5, components: &[(1, &STICK), (1, &STEEL), (1, &STONE)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PROD` [INFO] [stdout] --> src/main.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | const PROD : Item = Item { name: "productivity mod", factory: &ASM_, count: 1, time: 15.0, components: &[(5, &CIRCUIT1), (5, &CIRCUIT2)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BRICK` [INFO] [stdout] --> src/main.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | const BRICK : Item = Item { name: "brick", factory: &ASM_, count: 1, time: 3.2, components: &[(2, &STONE)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EFURNACE` [INFO] [stdout] --> src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | const EFURNACE : Item = Item { name: "electric furnace", factory: &ASM_, count: 1, time: 0.5, components: &[(10, &BRICK), (10, &STEEL), (5, &CIRCUIT2)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SP4` [INFO] [stdout] --> src/main.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | const SP4 : Item = Item { name: "sp purple", factory: &ASM_, count: 3, time: 21.0, components: &[(30, &RAIL), (1, &EFURNACE), (1, &PROD)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GRENADE` [INFO] [stdout] --> src/main.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | const GRENADE : Item = Item { name: "grenade", factory: &ASM_, count: 1, time: 8.0, components: &[(10, &COAL), (5, &IRON)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WALL` [INFO] [stdout] --> src/main.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | const WALL : Item = Item { name: "wall", factory: &ASM_, count: 1, time: 0.5, components: &[(5, &BRICK)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAGAZINE` [INFO] [stdout] --> src/main.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | const MAGAZINE : Item = Item { name: "magazine", factory: &ASM_, count: 1, time: 1.0, components: &[(4, &IRON)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PIERCING` [INFO] [stdout] --> src/main.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | const PIERCING : Item = Item { name: "piercing", factory: &ASM_, count: 1, time: 3.0, components: &[(5, &COPPER), (1, &MAGAZINE), (1, &STEEL)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SPM` [INFO] [stdout] --> src/main.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | const SPM : Item = Item { name: "sp black" , factory: &ASM_, count: 2, time: 10.0, components: &[(2, &WALL), (1, &GRENADE), (1, &PIERCING)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EENGINE` [INFO] [stdout] --> src/main.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | const EENGINE : Item = Item { name: "electric engine", factory: &ASM_, count: 1, time: 10.0, components: &[(15, &LUBRICANT), (2, &CIRCUIT1), (1, &ENGINE)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BATTERY` [INFO] [stdout] --> src/main.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | const BATTERY : Item = Item { name: "battery", factory: &ASM_, count: 1, time: 4.0, components: &[(20, &ACID), (1, &COPPER), (1, &IRON)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ROBOT` [INFO] [stdout] --> src/main.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | const ROBOT : Item = Item { name: "robot", factory: &ASM_, count: 1, time: 20.0, components: &[(3, &CIRCUIT1), (2, &BATTERY), (1, &EENGINE), (1, &STEEL)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LDS` [INFO] [stdout] --> src/main.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | const LDS : Item = Item { name: "lds", factory: &ASM_, count: 1, time: 20.0, components: &[(20, &COPPER), (5, &PLASTIC), (2, &STEEL)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CIRCUIT3` [INFO] [stdout] --> src/main.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | const CIRCUIT3 : Item = Item { name: "circuit3", factory: &ASM_, count: 1, time: 10.0, components: &[(20, &CIRCUIT1), (5, &ACID), (2, &CIRCUIT2)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SPEED` [INFO] [stdout] --> src/main.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | const SPEED : Item = Item { name: "speed mod", factory: &ASM_, count: 1, time: 15.0, components: &[(5, &CIRCUIT2), (5, &CIRCUIT1)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SP5` [INFO] [stdout] --> src/main.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | const SP5 : Item = Item { name: "sp yellow", factory: &ASM_, count: 3, time: 21.0, components: &[(3, &LDS), (2, &CIRCUIT3), (1, &ROBOT)] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "93565645c61e2fcc3aa324d50bce442bd6a5d1b9d4d3b765bf7812319a9e6058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93565645c61e2fcc3aa324d50bce442bd6a5d1b9d4d3b765bf7812319a9e6058", kill_on_drop: false }` [INFO] [stdout] 93565645c61e2fcc3aa324d50bce442bd6a5d1b9d4d3b765bf7812319a9e6058 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ded8e7c2bfca04f794731fce60fffaff63c3378353b8953ac9952f68ae9636fc [INFO] running `Command { std: "docker" "start" "-a" "ded8e7c2bfca04f794731fce60fffaff63c3378353b8953ac9952f68ae9636fc", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `name` [INFO] [stdout] [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 10 | name: &'a str, [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `UEXT` [INFO] [stderr] --> src/main.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | const UEXT : Factory = Factory { name: "uranium drill", crafting_speed: 0.25, is_assembly: false }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `FURN` [INFO] [stderr] --> src/main.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | const FURN : Factory = Factory { name: "furnace", crafting_speed: 1.0, is_assembly: false }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PUMP` [INFO] [stderr] --> src/main.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | const PUMP : Factory = Factory { name: "pumpjack", crafting_speed: 1.0, is_assembly: false }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `OILR` [INFO] [stderr] --> src/main.rs:37:1 [INFO] [stderr] | [INFO] [stderr] 37 | const OILR : Factory = Factory { name: "oil refinery", crafting_speed: 1.0, is_assembly: false }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ASM2` [INFO] [stderr] --> src/main.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | const ASM2 : Factory = Factory { name: "assembling machine 2", crafting_speed: 0.75, is_assembly: true }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ASM3` [INFO] [stderr] --> src/main.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | const ASM3 : Factory = Factory { name: "assembling machine 3", crafting_speed: 1.25, is_assembly: true }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `COAL` [INFO] [stderr] --> src/main.rs:46:1 [INFO] [stderr] | [INFO] [stderr] 46 | const COAL : Item = Item { name: "coal", factory: &EXTR, count: 1, time: 1.0, components: &[] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `STONE` [INFO] [stderr] --> src/main.rs:49:1 [INFO] [stderr] | [INFO] [stderr] 49 | const STONE : Item = Item { name: "stone", factory: &EFUR, count: 1, time: 0.5, components: &[] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `LUBRICANT` [INFO] [stderr] --> src/main.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | const LUBRICANT : Item = Item { name: "lubricant", factory: &CHEM, count: 10, time: 1.0, components: &[] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ACID` [INFO] [stderr] --> src/main.rs:52:1 [INFO] [stderr] | [INFO] [stderr] 52 | const ACID : Item = Item { name: "acid", factory: &CHEM, count: 50, time: 1.0, components: &[] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `SP1` [INFO] [stderr] --> src/main.rs:57:1 [INFO] [stderr] | [INFO] [stderr] 57 | const SP1 : Item = Item { name: "sp red", factory: &ASM_, count: 1, time: 5.0, components: &[(1, &COPPER), (1, &GEAR)] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `INSERTER` [INFO] [stderr] --> src/main.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | const INSERTER : Item = Item { name: "inserter", factory: &ASM_, count: 1, time: 0.5, components: &[(1, &CIRCUIT1), (1, &GEAR), (1, &IRON)] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `BELT1` [INFO] [stderr] --> src/main.rs:62:1 [INFO] [stderr] | [INFO] [stderr] 62 | const BELT1 : Item = Item { name: "belt1", factory: &ASM_, count: 1, time: 0.5, components: &[(1, &GEAR), (1, &IRON)] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `SP2` [INFO] [stderr] --> src/main.rs:63:1 [INFO] [stderr] | [INFO] [stderr] 63 | const SP2 : Item = Item { name: "sp green", factory: &ASM_, count: 1, time: 6.0, components: &[(1, &INSERTER), (1, &BELT1)] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `STICK` [INFO] [stderr] --> src/main.rs:67:1 [INFO] [stderr] | [INFO] [stderr] 67 | const STICK : Item = Item { name: "stick", factory: &ASM_, count: 2, time: 0.5, components: &[(1, &IRON)] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `RAIL` [INFO] [stderr] --> src/main.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | const RAIL : Item = Item { name: "rail", factory: &ASM_, count: 2, time: 0.5, components: &[(1, &STICK), (1, &STEEL), (1, &STONE)] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PROD` [INFO] [stderr] --> src/main.rs:69:1 [INFO] [stderr] | [INFO] [stderr] 69 | const PROD : Item = Item { name: "productivity mod", factory: &ASM_, count: 1, time: 15.0, components: &[(5, &CIRCUIT1), (5, &CIRCUIT2)] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `BRICK` [INFO] [stderr] --> src/main.rs:70:1 [INFO] [stderr] | [INFO] [stderr] 70 | const BRICK : Item = Item { name: "brick", factory: &ASM_, count: 1, time: 3.2, components: &[(2, &STONE)] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `EFURNACE` [INFO] [stderr] --> src/main.rs:71:1 [INFO] [stderr] | [INFO] [stderr] 71 | const EFURNACE : Item = Item { name: "electric furnace", factory: &ASM_, count: 1, time: 0.5, components: &[(10, &BRICK), (10, &STEEL), (5, &CIRCUIT2)] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `SP4` [INFO] [stderr] --> src/main.rs:72:1 [INFO] [stderr] | [INFO] [stderr] 72 | const SP4 : Item = Item { name: "sp purple", factory: &ASM_, count: 3, time: 21.0, components: &[(30, &RAIL), (1, &EFURNACE), (1, &PROD)] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `GRENADE` [INFO] [stderr] --> src/main.rs:73:1 [INFO] [stderr] | [INFO] [stderr] 73 | const GRENADE : Item = Item { name: "grenade", factory: &ASM_, count: 1, time: 8.0, components: &[(10, &COAL), (5, &IRON)] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `WALL` [INFO] [stderr] --> src/main.rs:74:1 [INFO] [stderr] | [INFO] [stderr] 74 | const WALL : Item = Item { name: "wall", factory: &ASM_, count: 1, time: 0.5, components: &[(5, &BRICK)] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `MAGAZINE` [INFO] [stderr] --> src/main.rs:75:1 [INFO] [stderr] | [INFO] [stderr] 75 | const MAGAZINE : Item = Item { name: "magazine", factory: &ASM_, count: 1, time: 1.0, components: &[(4, &IRON)] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PIERCING` [INFO] [stderr] --> src/main.rs:76:1 [INFO] [stderr] | [INFO] [stderr] 76 | const PIERCING : Item = Item { name: "piercing", factory: &ASM_, count: 1, time: 3.0, components: &[(5, &COPPER), (1, &MAGAZINE), (1, &STEEL)] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `SPM` [INFO] [stderr] --> src/main.rs:77:1 [INFO] [stderr] | [INFO] [stderr] 77 | const SPM : Item = Item { name: "sp black" , factory: &ASM_, count: 2, time: 10.0, components: &[(2, &WALL), (1, &GRENADE), (1, &PIERCING)] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `EENGINE` [INFO] [stderr] --> src/main.rs:78:1 [INFO] [stderr] | [INFO] [stderr] 78 | const EENGINE : Item = Item { name: "electric engine", factory: &ASM_, count: 1, time: 10.0, components: &[(15, &LUBRICANT), (2, &CIRCUIT1), (1, &ENGINE)] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `BATTERY` [INFO] [stderr] --> src/main.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | const BATTERY : Item = Item { name: "battery", factory: &ASM_, count: 1, time: 4.0, components: &[(20, &ACID), (1, &COPPER), (1, &IRON)] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ROBOT` [INFO] [stderr] --> src/main.rs:80:1 [INFO] [stderr] | [INFO] [stderr] 80 | const ROBOT : Item = Item { name: "robot", factory: &ASM_, count: 1, time: 20.0, components: &[(3, &CIRCUIT1), (2, &BATTERY), (1, &EENGINE), (1, &STEEL)] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `LDS` [INFO] [stderr] --> src/main.rs:81:1 [INFO] [stderr] | [INFO] [stderr] 81 | const LDS : Item = Item { name: "lds", factory: &ASM_, count: 1, time: 20.0, components: &[(20, &COPPER), (5, &PLASTIC), (2, &STEEL)] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `CIRCUIT3` [INFO] [stderr] --> src/main.rs:82:1 [INFO] [stderr] | [INFO] [stderr] 82 | const CIRCUIT3 : Item = Item { name: "circuit3", factory: &ASM_, count: 1, time: 10.0, components: &[(20, &CIRCUIT1), (5, &ACID), (2, &CIRCUIT2)] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `SPEED` [INFO] [stderr] --> src/main.rs:83:1 [INFO] [stderr] | [INFO] [stderr] 83 | const SPEED : Item = Item { name: "speed mod", factory: &ASM_, count: 1, time: 15.0, components: &[(5, &CIRCUIT2), (5, &CIRCUIT1)] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `SP5` [INFO] [stderr] --> src/main.rs:84:1 [INFO] [stderr] | [INFO] [stderr] 84 | const SP5 : Item = Item { name: "sp yellow", factory: &ASM_, count: 3, time: 21.0, components: &[(3, &LDS), (2, &CIRCUIT3), (1, &ROBOT)] }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `factorio-planner` (bin "factorio-planner" test) generated 33 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/factorio_planner-1528e81a1246f488) [INFO] running `Command { std: "docker" "inspect" "ded8e7c2bfca04f794731fce60fffaff63c3378353b8953ac9952f68ae9636fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ded8e7c2bfca04f794731fce60fffaff63c3378353b8953ac9952f68ae9636fc", kill_on_drop: false }` [INFO] [stdout] ded8e7c2bfca04f794731fce60fffaff63c3378353b8953ac9952f68ae9636fc