[INFO] fetching crate optim 0.2.0... [INFO] building optim-0.2.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate optim 0.2.0 into /workspace/builds/worker-0-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate optim 0.2.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19c756e8d1aabf39e105e6168a6d4b4c9a83272be5770917ee830e16218711a8 [INFO] running `Command { std: "docker" "start" "-a" "19c756e8d1aabf39e105e6168a6d4b4c9a83272be5770917ee830e16218711a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19c756e8d1aabf39e105e6168a6d4b4c9a83272be5770917ee830e16218711a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19c756e8d1aabf39e105e6168a6d4b4c9a83272be5770917ee830e16218711a8", kill_on_drop: false }` [INFO] [stdout] 19c756e8d1aabf39e105e6168a6d4b4c9a83272be5770917ee830e16218711a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 557c8204d34070571b492df53e866ec79656fe52780fb7c7a84c99e4f4523be2 [INFO] running `Command { std: "docker" "start" "-a" "557c8204d34070571b492df53e866ec79656fe52780fb7c7a84c99e4f4523be2", kill_on_drop: false }` [INFO] [stderr] Compiling optim v0.2.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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: 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.36s [INFO] running `Command { std: "docker" "inspect" "557c8204d34070571b492df53e866ec79656fe52780fb7c7a84c99e4f4523be2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "557c8204d34070571b492df53e866ec79656fe52780fb7c7a84c99e4f4523be2", kill_on_drop: false }` [INFO] [stdout] 557c8204d34070571b492df53e866ec79656fe52780fb7c7a84c99e4f4523be2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5d2c4b593eca5c40f50275d1d60f0f78f59caea2e8c93b89a992a103f2b5563 [INFO] running `Command { std: "docker" "start" "-a" "b5d2c4b593eca5c40f50275d1d60f0f78f59caea2e8c93b89a992a103f2b5563", kill_on_drop: false }` [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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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: 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] [stderr] Compiling optim v0.2.0 (/opt/rustwide/workdir) [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] [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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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: 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 `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "b5d2c4b593eca5c40f50275d1d60f0f78f59caea2e8c93b89a992a103f2b5563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5d2c4b593eca5c40f50275d1d60f0f78f59caea2e8c93b89a992a103f2b5563", kill_on_drop: false }` [INFO] [stdout] b5d2c4b593eca5c40f50275d1d60f0f78f59caea2e8c93b89a992a103f2b5563