[INFO] fetching crate optim 0.2.0... [INFO] building optim-0.2.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate optim 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate optim 0.2.0 [INFO] finished tweaking crates.io crate optim 0.2.0 [INFO] tweaked toml for crates.io crate optim 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate optim 0.2.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate optim 0.2.0 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 972db3b3bf2f2188e5923366c4178fd41c1477c5ccb6793c73426d95de221bd5 [INFO] running `Command { std: "docker" "start" "-a" "972db3b3bf2f2188e5923366c4178fd41c1477c5ccb6793c73426d95de221bd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "972db3b3bf2f2188e5923366c4178fd41c1477c5ccb6793c73426d95de221bd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "972db3b3bf2f2188e5923366c4178fd41c1477c5ccb6793c73426d95de221bd5", kill_on_drop: false }` [INFO] [stdout] 972db3b3bf2f2188e5923366c4178fd41c1477c5ccb6793c73426d95de221bd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39fccbd8142e1e9aa27124ba8a2d06de996f17c95b78bcd6295fa970a052db9c [INFO] running `Command { std: "docker" "start" "-a" "39fccbd8142e1e9aa27124ba8a2d06de996f17c95b78bcd6295fa970a052db9c", kill_on_drop: false }` [INFO] [stderr] Compiling optim v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `variable` [INFO] [stdout] --> src/lib.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn maximise(&mut self, variable: Variable) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint` [INFO] [stdout] --> src/lib.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn add_constraint(&mut self, constraint: Constraint) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 24 | pub fn add_constraint(&mut self, _constraint: Constraint) {} [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named struct `Constraint` (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 24 - pub fn add_constraint(&mut self, constraint: Constraint) {} [INFO] [stdout] 24 + pub fn add_constraint(&mut self, Constraint: Constraint) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable` [INFO] [stdout] --> src/lib.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn minimise(&mut self, variable: Variable) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `constraints` is never read [INFO] [stdout] --> src/lib.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Model { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 4 | variables: HashMap>, [INFO] [stdout] 5 | constraints: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "39fccbd8142e1e9aa27124ba8a2d06de996f17c95b78bcd6295fa970a052db9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39fccbd8142e1e9aa27124ba8a2d06de996f17c95b78bcd6295fa970a052db9c", kill_on_drop: false }` [INFO] [stdout] 39fccbd8142e1e9aa27124ba8a2d06de996f17c95b78bcd6295fa970a052db9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f39b6bfcbeb95a1b4f8c2aa9e42cc0e9d27c6babe590dd9e44576f2bf900f906 [INFO] running `Command { std: "docker" "start" "-a" "f39b6bfcbeb95a1b4f8c2aa9e42cc0e9d27c6babe590dd9e44576f2bf900f906", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `variable` [INFO] [stdout] --> src/lib.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn maximise(&mut self, variable: Variable) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint` [INFO] [stdout] --> src/lib.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn add_constraint(&mut self, constraint: Constraint) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 24 | pub fn add_constraint(&mut self, _constraint: Constraint) {} [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named struct `Constraint` (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 24 - pub fn add_constraint(&mut self, constraint: Constraint) {} [INFO] [stdout] 24 + pub fn add_constraint(&mut self, Constraint: Constraint) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable` [INFO] [stdout] --> src/lib.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn minimise(&mut self, variable: Variable) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `constraints` is never read [INFO] [stdout] --> src/lib.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Model { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 4 | variables: HashMap>, [INFO] [stdout] 5 | constraints: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling optim v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `variable` [INFO] [stdout] --> src/lib.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn minimise(&mut self, variable: Variable) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint` [INFO] [stdout] --> src/lib.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn add_constraint(&mut self, constraint: Constraint) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 24 | pub fn add_constraint(&mut self, _constraint: Constraint) {} [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named struct `Constraint` (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 24 - pub fn add_constraint(&mut self, constraint: Constraint) {} [INFO] [stdout] 24 + pub fn add_constraint(&mut self, Constraint: Constraint) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable` [INFO] [stdout] --> src/lib.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn maximise(&mut self, variable: Variable) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `constraints` is never read [INFO] [stdout] --> src/lib.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Model { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 4 | variables: HashMap>, [INFO] [stdout] 5 | constraints: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "f39b6bfcbeb95a1b4f8c2aa9e42cc0e9d27c6babe590dd9e44576f2bf900f906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f39b6bfcbeb95a1b4f8c2aa9e42cc0e9d27c6babe590dd9e44576f2bf900f906", kill_on_drop: false }` [INFO] [stdout] f39b6bfcbeb95a1b4f8c2aa9e42cc0e9d27c6babe590dd9e44576f2bf900f906