[INFO] updating cached repository https://github.com/CGMossa/univariate_optimisation [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8673cf71137cf491e72b5d7b9dd44589f39dfe83 [INFO] checking CGMossa/univariate_optimisation against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCGMossa%2Funivariate_optimisation" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CGMossa/univariate_optimisation on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [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-5/source/Cargo.toml [INFO] crate git repo https://github.com/CGMossa/univariate_optimisation already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e898785b547da300cce8b69487c261ea10a06ae9ee6a6bc4b1c75366cd000bce [INFO] running `"docker" "start" "-a" "e898785b547da300cce8b69487c261ea10a06ae9ee6a6bc4b1c75366cd000bce"` [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [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-iter v0.1.39 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [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] [stderr] warning: unused variable: `objective` [INFO] [stderr] --> src/main.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | let objective = |x: f64| x.ln() / (1f64 + x); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_objective` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `diff_objective` [INFO] [stderr] --> src/main.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | let diff_objective = |x: f64| (1f64 + 1f64 / x - x.ln()) / ((1f64 + x).powi(2)); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_diff_objective` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `start_value` [INFO] [stderr] --> src/main.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | let start_value: f64; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> src/main.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | let a = domain.start; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> src/main.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | let b = domain.end; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `objective` [INFO] [stderr] --> src/main.rs:12:32 [INFO] [stderr] | [INFO] [stderr] 12 | fn bisection_method(objective: F1, diff_objective: F2, domain: Range) [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_objective` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `diff_objective` [INFO] [stderr] --> src/main.rs:12:47 [INFO] [stderr] | [INFO] [stderr] 12 | fn bisection_method(objective: F1, diff_objective: F2, domain: Range) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_diff_objective` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `bisection_method` [INFO] [stderr] --> src/main.rs:12:4 [INFO] [stderr] | [INFO] [stderr] 12 | fn bisection_method(objective: F1, diff_objective: F2, domain: Range) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused variable: `objective` [INFO] [stderr] --> src/main.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | let objective = |x: f64| x.ln() / (1f64 + x); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_objective` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `diff_objective` [INFO] [stderr] --> src/main.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | let diff_objective = |x: f64| (1f64 + 1f64 / x - x.ln()) / ((1f64 + x).powi(2)); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_diff_objective` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `start_value` [INFO] [stderr] --> src/main.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | let start_value: f64; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> src/main.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | let a = domain.start; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> src/main.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | let b = domain.end; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `objective` [INFO] [stderr] --> src/main.rs:12:32 [INFO] [stderr] | [INFO] [stderr] 12 | fn bisection_method(objective: F1, diff_objective: F2, domain: Range) [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_objective` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `diff_objective` [INFO] [stderr] --> src/main.rs:12:47 [INFO] [stderr] | [INFO] [stderr] 12 | fn bisection_method(objective: F1, diff_objective: F2, domain: Range) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_diff_objective` [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.14s [INFO] running `"docker" "inspect" "e898785b547da300cce8b69487c261ea10a06ae9ee6a6bc4b1c75366cd000bce"` [INFO] running `"docker" "rm" "-f" "e898785b547da300cce8b69487c261ea10a06ae9ee6a6bc4b1c75366cd000bce"` [INFO] [stdout] e898785b547da300cce8b69487c261ea10a06ae9ee6a6bc4b1c75366cd000bce