[INFO] cloning repository https://github.com/rudolfschmidt/acc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rudolfschmidt/acc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frudolfschmidt%2Facc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frudolfschmidt%2Facc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fcb0e4d8bb3d795dcfbd57c18831daccd27efd5a [INFO] checking rudolfschmidt/acc against master#00bfd6b2734d9c28a147bf237490995731781fdd for pr-117984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frudolfschmidt%2Facc" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rudolfschmidt/acc on toolchain 00bfd6b2734d9c28a147bf237490995731781fdd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rudolfschmidt/acc [INFO] finished tweaking git repo https://github.com/rudolfschmidt/acc [INFO] tweaked toml for git repo https://github.com/rudolfschmidt/acc written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rudolfschmidt/acc already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8f6ab3632f99c2039e654b441cbcb21950f9ebd47686d30e074ad4b5724dd2c [INFO] running `Command { std: "docker" "start" "-a" "f8f6ab3632f99c2039e654b441cbcb21950f9ebd47686d30e074ad4b5724dd2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8f6ab3632f99c2039e654b441cbcb21950f9ebd47686d30e074ad4b5724dd2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8f6ab3632f99c2039e654b441cbcb21950f9ebd47686d30e074ad4b5724dd2c", kill_on_drop: false }` [INFO] [stdout] f8f6ab3632f99c2039e654b441cbcb21950f9ebd47686d30e074ad4b5724dd2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42439924ab2e01c8cd5b03f20ba912129c742ea1635bdb6200b652841fc88c94 [INFO] running `Command { std: "docker" "start" "-a" "42439924ab2e01c8cd5b03f20ba912129c742ea1635bdb6200b652841fc88c94", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking acc v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::super::model::Comment` [INFO] [stdout] --> src/lib/commands/print/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::super::model::Comment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::model::Comment` [INFO] [stdout] --> src/lib/commands/print/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::super::model::Comment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `natural` [INFO] [stdout] --> src/lib/commands/print/mod.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | fn print(items: Vec, natural: bool) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_natural` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `natural` [INFO] [stdout] --> src/lib/commands/print/mod.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | fn print(items: Vec, natural: bool) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_natural` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expect_next` is never used [INFO] [stdout] --> src/lib/parsers/tokenizer/chars.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | pub(super) fn expect_next(tokenizer: &mut Tokenizer) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expect_next` is never used [INFO] [stdout] --> src/lib/parsers/tokenizer/chars.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | pub(super) fn expect_next(tokenizer: &mut Tokenizer) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_any_char` is never used [INFO] [stdout] --> src/lib/parsers/tokenizer/chars.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | pub(super) fn is_any_char(tokenizer: &Tokenizer) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_any_char` is never used [INFO] [stdout] --> src/lib/parsers/tokenizer/chars.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | pub(super) fn is_any_char(tokenizer: &Tokenizer) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_char` is never used [INFO] [stdout] --> src/lib/parsers/tokenizer/chars.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | pub(super) fn is_char(tokenizer: &Tokenizer, char: char) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_char` is never used [INFO] [stdout] --> src/lib/parsers/tokenizer/chars.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | pub(super) fn is_char(tokenizer: &Tokenizer, char: char) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::model::Comment` [INFO] [stdout] --> src/lib/commands/print/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::super::model::Comment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::model::Comment` [INFO] [stdout] --> src/lib/commands/print/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::super::model::Comment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `natural` [INFO] [stdout] --> src/lib/commands/print/mod.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | fn print(items: Vec, natural: bool) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_natural` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `natural` [INFO] [stdout] --> src/lib/commands/print/mod.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | fn print(items: Vec, natural: bool) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_natural` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Total` is never constructed [INFO] [stdout] --> src/lib/model.rs:44:2 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum Costs { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 44 | Total(MixedAmount), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Costs` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expect_next` is never used [INFO] [stdout] --> src/lib/parsers/tokenizer/chars.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | pub(super) fn expect_next(tokenizer: &mut Tokenizer) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_any_char` is never used [INFO] [stdout] --> src/lib/parsers/tokenizer/chars.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | pub(super) fn is_any_char(tokenizer: &Tokenizer) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_char` is never used [INFO] [stdout] --> src/lib/parsers/tokenizer/chars.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | pub(super) fn is_char(tokenizer: &Tokenizer, char: char) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Total` is never constructed [INFO] [stdout] --> src/lib/model.rs:44:2 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum Costs { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 44 | Total(MixedAmount), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Costs` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expect_next` is never used [INFO] [stdout] --> src/lib/parsers/tokenizer/chars.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | pub(super) fn expect_next(tokenizer: &mut Tokenizer) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_any_char` is never used [INFO] [stdout] --> src/lib/parsers/tokenizer/chars.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | pub(super) fn is_any_char(tokenizer: &Tokenizer) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_char` is never used [INFO] [stdout] --> src/lib/parsers/tokenizer/chars.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | pub(super) fn is_char(tokenizer: &Tokenizer, char: char) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "42439924ab2e01c8cd5b03f20ba912129c742ea1635bdb6200b652841fc88c94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42439924ab2e01c8cd5b03f20ba912129c742ea1635bdb6200b652841fc88c94", kill_on_drop: false }` [INFO] [stdout] 42439924ab2e01c8cd5b03f20ba912129c742ea1635bdb6200b652841fc88c94