[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8673cf71137cf491e72b5d7b9dd44589f39dfe83 [INFO] checking CGMossa/univariate_optimisation against try#85cc1486e1f000dce4bb8e1b3cfab2b654b102a8 for pr-73323 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCGMossa%2Funivariate_optimisation" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CGMossa/univariate_optimisation on toolchain 85cc1486e1f000dce4bb8e1b3cfab2b654b102a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "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-6/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" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 476e4e3087cc47a6a6d78a046625efb2f6ead6767db10fad4d07ad37e99495d6 [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" "476e4e3087cc47a6a6d78a046625efb2f6ead6767db10fad4d07ad37e99495d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "476e4e3087cc47a6a6d78a046625efb2f6ead6767db10fad4d07ad37e99495d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "476e4e3087cc47a6a6d78a046625efb2f6ead6767db10fad4d07ad37e99495d6", kill_on_drop: false }` [INFO] [stdout] 476e4e3087cc47a6a6d78a046625efb2f6ead6767db10fad4d07ad37e99495d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f04fb15cd2010c33dc91a104e7db2f7fe6a79ef98059cd6bb6e2b2a5d33d9a8 [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" "0f04fb15cd2010c33dc91a104e7db2f7fe6a79ef98059cd6bb6e2b2a5d33d9a8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking 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 getrandom v0.1.12 [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.00s [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0f04fb15cd2010c33dc91a104e7db2f7fe6a79ef98059cd6bb6e2b2a5d33d9a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f04fb15cd2010c33dc91a104e7db2f7fe6a79ef98059cd6bb6e2b2a5d33d9a8", kill_on_drop: false }` [INFO] [stdout] 0f04fb15cd2010c33dc91a104e7db2f7fe6a79ef98059cd6bb6e2b2a5d33d9a8