[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCGMossa%2Funivariate_optimisation" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CGMossa/univariate_optimisation on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-4/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86c4f484c45d7da505a2e29b36a795ba58eecae72c5ba9fa48d40bd107a30c63 [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" "86c4f484c45d7da505a2e29b36a795ba58eecae72c5ba9fa48d40bd107a30c63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86c4f484c45d7da505a2e29b36a795ba58eecae72c5ba9fa48d40bd107a30c63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86c4f484c45d7da505a2e29b36a795ba58eecae72c5ba9fa48d40bd107a30c63", kill_on_drop: false }` [INFO] [stdout] 86c4f484c45d7da505a2e29b36a795ba58eecae72c5ba9fa48d40bd107a30c63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c27ef4dd942c36d78dd15d64b4485963d0ed7d3dca7adf0520e51b802d52982 [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" "9c27ef4dd942c36d78dd15d64b4485963d0ed7d3dca7adf0520e51b802d52982", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [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-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Checking getrandom v0.1.12 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking c2-chacha v0.2.2 [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: 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: 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.76s [INFO] running `Command { std: "docker" "inspect" "9c27ef4dd942c36d78dd15d64b4485963d0ed7d3dca7adf0520e51b802d52982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c27ef4dd942c36d78dd15d64b4485963d0ed7d3dca7adf0520e51b802d52982", kill_on_drop: false }` [INFO] [stdout] 9c27ef4dd942c36d78dd15d64b4485963d0ed7d3dca7adf0520e51b802d52982