[INFO] cloning repository https://github.com/FauxFaux/ralc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FauxFaux/ralc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFauxFaux%2Fralc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFauxFaux%2Fralc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec5535661c358c2f9b9d6969a93bc991e5ccd55b [INFO] checking FauxFaux/ralc against master#b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 for pr-105483 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFauxFaux%2Fralc" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FauxFaux/ralc on toolchain b359ccf1b0b7b2d2c1c4932344b806e68bd053a9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FauxFaux/ralc [INFO] finished tweaking git repo https://github.com/FauxFaux/ralc [INFO] tweaked toml for git repo https://github.com/FauxFaux/ralc written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/FauxFaux/ralc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-demangle v0.1.7 [INFO] [stderr] Downloaded num-traits v0.2.2 [INFO] [stderr] Downloaded backtrace v0.3.5 [INFO] [stderr] Downloaded num-iter v0.1.35 [INFO] [stderr] Downloaded num-integer v0.1.36 [INFO] [stderr] Downloaded bigdecimal v0.0.11 [INFO] [stderr] Downloaded num-bigint v0.1.43 [INFO] [stderr] Downloaded libc v0.2.40 [INFO] [stderr] Downloaded cc v1.0.9 [INFO] [stderr] Downloaded nom v4.0.0-beta2 [INFO] running `Command { std: "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" "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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1185bdf826bae0fce38d992da0497369a02c1669f3c742e0d0ba8d9c3eb39100 [INFO] running `Command { std: "docker" "start" "-a" "1185bdf826bae0fce38d992da0497369a02c1669f3c742e0d0ba8d9c3eb39100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1185bdf826bae0fce38d992da0497369a02c1669f3c742e0d0ba8d9c3eb39100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1185bdf826bae0fce38d992da0497369a02c1669f3c742e0d0ba8d9c3eb39100", kill_on_drop: false }` [INFO] [stdout] 1185bdf826bae0fce38d992da0497369a02c1669f3c742e0d0ba8d9c3eb39100 [INFO] running `Command { std: "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" "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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+b359ccf1b0b7b2d2c1c4932344b806e68bd053a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 628ea03647bf2470ae58e771f5be5d1a05ec546895808e44b29a43ee0ebb9e78 [INFO] running `Command { std: "docker" "start" "-a" "628ea03647bf2470ae58e771f5be5d1a05ec546895808e44b29a43ee0ebb9e78", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Checking num-traits v0.2.2 [INFO] [stderr] Compiling cc v1.0.9 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking rustc-demangle v0.1.7 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking nom v4.0.0-beta2 [INFO] [stderr] Checking num-integer v0.1.36 [INFO] [stderr] Checking num-iter v0.1.35 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Checking num-bigint v0.1.43 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking bigdecimal v0.0.11 [INFO] [stderr] Checking backtrace v0.3.5 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking ralculate v0.1.0 (/opt/rustwide/workdir/lib) [INFO] [stdout] warning: unused import: `bigdecimal::BigDecimal` [INFO] [stdout] --> lib/src/eval.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bigdecimal::BigDecimal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> lib/src/parse.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | /// e.g. "¼m", "7/3" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::Err` [INFO] [stdout] --> lib/src/parse.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::Err; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `take_while1_s`: Please use `take_while1` instead [INFO] [stdout] --> lib/src/parse.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / named!(digits, add_return_error!(Fail::Digits.into(), [INFO] [stdout] 100 | | take_while1_s!(digit) [INFO] [stdout] 101 | | )); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `add_return_error` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `take_while1_s`: Please use `take_while1` instead [INFO] [stdout] --> lib/src/parse.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / named!(digits, add_return_error!(Fail::Digits.into(), [INFO] [stdout] 100 | | take_while1_s!(digit) [INFO] [stdout] 101 | | )); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `take_while1_s` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bigdecimal::BigDecimal` [INFO] [stdout] --> lib/src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use bigdecimal::BigDecimal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bigdecimal::BigDecimal` [INFO] [stdout] --> lib/src/eval.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bigdecimal::BigDecimal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> lib/src/parse.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | /// e.g. "¼m", "7/3" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::Err` [INFO] [stdout] --> lib/src/parse.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::Err; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `take_while1_s`: Please use `take_while1` instead [INFO] [stdout] --> lib/src/parse.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / named!(digits, add_return_error!(Fail::Digits.into(), [INFO] [stdout] 100 | | take_while1_s!(digit) [INFO] [stdout] 101 | | )); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `add_return_error` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `take_while1_s`: Please use `take_while1` instead [INFO] [stdout] --> lib/src/parse.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / named!(digits, add_return_error!(Fail::Digits.into(), [INFO] [stdout] 100 | | take_while1_s!(digit) [INFO] [stdout] 101 | | )); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `take_while1_s` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bigdecimal::BigDecimal` [INFO] [stdout] --> lib/src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use bigdecimal::BigDecimal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> lib/src/eval.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | other => unimplemented!("{:?}", other), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> lib/src/eval.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | other => unimplemented!("{:?}", other), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `int_from_i64` is never used [INFO] [stdout] --> lib/src/lib.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn int_from_i64(val: i64) -> Rational { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_int` is never used [INFO] [stdout] --> lib/src/lib.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | fn from_int(val: i64) -> Value { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `plus` is never used [INFO] [stdout] --> lib/src/lib.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | fn plus(self, other: Value) -> Value { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `mul` is never used [INFO] [stdout] --> lib/src/lib.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn mul(self, other: Value) -> Value { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval` is never used [INFO] [stdout] --> lib/src/eval.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn eval(expr: Expr) -> Value { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fodl` is never used [INFO] [stdout] --> lib/src/eval.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn fodl, T, F>(iter: I, func: F) -> T [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SiUnitThen` is never constructed [INFO] [stdout] --> lib/src/parse.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Fail { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 28 | SiUnitThen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fail` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SiUnitThen` is never constructed [INFO] [stdout] --> lib/src/parse.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum Fail { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 28 | SiUnitThen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fail` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ralc v0.1.0 (/opt/rustwide/workdir/cmd) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.04s [INFO] running `Command { std: "docker" "inspect" "628ea03647bf2470ae58e771f5be5d1a05ec546895808e44b29a43ee0ebb9e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "628ea03647bf2470ae58e771f5be5d1a05ec546895808e44b29a43ee0ebb9e78", kill_on_drop: false }` [INFO] [stdout] 628ea03647bf2470ae58e771f5be5d1a05ec546895808e44b29a43ee0ebb9e78