[INFO] fetching crate calculatex 0.1.2... [INFO] checking calculatex-0.1.2 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate calculatex 0.1.2 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate calculatex 0.1.2 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate calculatex 0.1.2 [INFO] finished tweaking crates.io crate calculatex 0.1.2 [INFO] tweaked toml for crates.io crate calculatex 0.1.2 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate crates.io crate calculatex 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c26031f203d1a7e5100e8c8633933d1b764146c012cdc3bdf7d8045b9fdfb57 [INFO] running `Command { std: "docker" "start" "-a" "8c26031f203d1a7e5100e8c8633933d1b764146c012cdc3bdf7d8045b9fdfb57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c26031f203d1a7e5100e8c8633933d1b764146c012cdc3bdf7d8045b9fdfb57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c26031f203d1a7e5100e8c8633933d1b764146c012cdc3bdf7d8045b9fdfb57", kill_on_drop: false }` [INFO] [stdout] 8c26031f203d1a7e5100e8c8633933d1b764146c012cdc3bdf7d8045b9fdfb57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd4d4c664dee2c3d603b42393126ccab92490873ad6bdfa1cea98889b0404e00 [INFO] running `Command { std: "docker" "start" "-a" "fd4d4c664dee2c3d603b42393126ccab92490873ad6bdfa1cea98889b0404e00", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking bimap v0.6.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking calculatex v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `expr::unit::Unit` [INFO] [stdout] --> src/parser/expr.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | expr::unit::Unit, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/expr/unit.rs:740:13 [INFO] [stdout] | [INFO] [stdout] 740 | let mut unit1 = Unit::try_from("meters").unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/expr/unit.rs:741:13 [INFO] [stdout] | [INFO] [stdout] 741 | let mut unit2 = Unit::try_from("grams").unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/expr/unit.rs:747:13 [INFO] [stdout] | [INFO] [stdout] 747 | let mut unit1 = Unit::try_from("joule").unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/expr/unit.rs:748:13 [INFO] [stdout] | [INFO] [stdout] 748 | let mut unit2 = Unit::try_from("meter").unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/expr/unit.rs:754:13 [INFO] [stdout] | [INFO] [stdout] 754 | let mut unit1 = Unit::try_from("joule").unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/expr/unit.rs:755:13 [INFO] [stdout] | [INFO] [stdout] 755 | let mut unit2 = Unit::try_from("second").unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/expr/unit.rs:761:13 [INFO] [stdout] | [INFO] [stdout] 761 | let mut unit1 = Unit::try_from("ampere").unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/expr/unit.rs:762:13 [INFO] [stdout] | [INFO] [stdout] 762 | let mut unit2 = Unit::try_from("second").unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/expr/unit.rs:768:13 [INFO] [stdout] | [INFO] [stdout] 768 | let mut unit1 = Unit::try_from("ampere").unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/expr/unit.rs:769:13 [INFO] [stdout] | [INFO] [stdout] 769 | let mut unit2 = Unit::try_from("ampere").unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/expr/unit.rs:775:13 [INFO] [stdout] | [INFO] [stdout] 775 | let mut unit1 = Unit::try_from("meters").unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/expr/unit.rs:776:13 [INFO] [stdout] | [INFO] [stdout] 776 | let mut unit2 = Unit::try_from("meters").unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/expr/unit.rs:782:13 [INFO] [stdout] | [INFO] [stdout] 782 | let mut unit1 = Unit::try_from("grams").unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/expr/unit.rs:783:13 [INFO] [stdout] | [INFO] [stdout] 783 | let mut unit2 = Unit::try_from("grams").unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Text` [INFO] [stdout] --> src/latex.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Text(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Text` [INFO] [stdout] --> src/latex.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Text(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mult_val_m_A_success` should have a snake case name [INFO] [stdout] --> src/expr/val.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 291 | fn mult_val_m_A_success() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `mult_val_m_a_success` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | / parse_block( [INFO] [stdout] 124 | | " [INFO] [stdout] 125 | | x = 5 [INFO] [stdout] 126 | | 5 + 10 [INFO] [stdout] 127 | | ", [INFO] [stdout] 128 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.23s [INFO] running `Command { std: "docker" "inspect" "fd4d4c664dee2c3d603b42393126ccab92490873ad6bdfa1cea98889b0404e00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd4d4c664dee2c3d603b42393126ccab92490873ad6bdfa1cea98889b0404e00", kill_on_drop: false }` [INFO] [stdout] fd4d4c664dee2c3d603b42393126ccab92490873ad6bdfa1cea98889b0404e00