[INFO] cloning repository https://github.com/CGMossa/univariate_optimisation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CGMossa/univariate_optimisation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCGMossa%2Funivariate_optimisation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCGMossa%2Funivariate_optimisation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8673cf71137cf491e72b5d7b9dd44589f39dfe83 [INFO] checking CGMossa/univariate_optimisation against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCGMossa%2Funivariate_optimisation" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CGMossa/univariate_optimisation on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CGMossa/univariate_optimisation [INFO] finished tweaking git repo https://github.com/CGMossa/univariate_optimisation [INFO] tweaked toml for git repo https://github.com/CGMossa/univariate_optimisation written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/CGMossa/univariate_optimisation already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a3166e77122ee19aed99eea7bff1dbdbbcf7d12db436ec74dbf689e4093483d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4a3166e77122ee19aed99eea7bff1dbdbbcf7d12db436ec74dbf689e4093483d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a3166e77122ee19aed99eea7bff1dbdbbcf7d12db436ec74dbf689e4093483d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a3166e77122ee19aed99eea7bff1dbdbbcf7d12db436ec74dbf689e4093483d", kill_on_drop: false }` [INFO] [stdout] 4a3166e77122ee19aed99eea7bff1dbdbbcf7d12db436ec74dbf689e4093483d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e4d8a1afc936201a92973f30803599a66488786a7642c030e2a2bdcd37b2098 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2e4d8a1afc936201a92973f30803599a66488786a7642c030e2a2bdcd37b2098", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking univariate_optimisation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `objective` [INFO] [stdout] --> src/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let objective = |x: f64| x.ln() / (1f64 + x); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_objective` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `diff_objective` [INFO] [stdout] --> src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let diff_objective = |x: f64| (1f64 + 1f64 / x - x.ln()) / ((1f64 + x).powi(2)); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_diff_objective` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_value` [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let start_value: f64; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let a = domain.start; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let b = domain.end; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `objective` [INFO] [stdout] --> src/main.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | fn bisection_method(objective: F1, diff_objective: F2, domain: Range) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_objective` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `diff_objective` [INFO] [stdout] --> src/main.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | fn bisection_method(objective: F1, diff_objective: F2, domain: Range) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_diff_objective` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `objective` [INFO] [stdout] --> src/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let objective = |x: f64| x.ln() / (1f64 + x); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_objective` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `diff_objective` [INFO] [stdout] --> src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let diff_objective = |x: f64| (1f64 + 1f64 / x - x.ln()) / ((1f64 + x).powi(2)); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_diff_objective` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_value` [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let start_value: f64; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let a = domain.start; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let b = domain.end; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `objective` [INFO] [stdout] --> src/main.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | fn bisection_method(objective: F1, diff_objective: F2, domain: Range) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_objective` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `diff_objective` [INFO] [stdout] --> src/main.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | fn bisection_method(objective: F1, diff_objective: F2, domain: Range) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_diff_objective` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bisection_method` [INFO] [stdout] --> src/main.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn bisection_method(objective: F1, diff_objective: F2, domain: Range) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.71s [INFO] running `Command { std: "docker" "inspect" "2e4d8a1afc936201a92973f30803599a66488786a7642c030e2a2bdcd37b2098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e4d8a1afc936201a92973f30803599a66488786a7642c030e2a2bdcd37b2098", kill_on_drop: false }` [INFO] [stdout] 2e4d8a1afc936201a92973f30803599a66488786a7642c030e2a2bdcd37b2098