[INFO] cloning repository https://github.com/athorwall/parser-combinators [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/athorwall/parser-combinators" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fathorwall%2Fparser-combinators", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fathorwall%2Fparser-combinators'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9dc572158cc0e1493cb8b3c0637a4d8d7013b8b [INFO] checking athorwall/parser-combinators against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fathorwall%2Fparser-combinators" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/athorwall/parser-combinators on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/athorwall/parser-combinators [INFO] finished tweaking git repo https://github.com/athorwall/parser-combinators [INFO] tweaked toml for git repo https://github.com/athorwall/parser-combinators written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/athorwall/parser-combinators already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32855c4a98d9b00799df339a36851aeedff725e3eff64a37f1d2e5feef697ab4 [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" "32855c4a98d9b00799df339a36851aeedff725e3eff64a37f1d2e5feef697ab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32855c4a98d9b00799df339a36851aeedff725e3eff64a37f1d2e5feef697ab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32855c4a98d9b00799df339a36851aeedff725e3eff64a37f1d2e5feef697ab4", kill_on_drop: false }` [INFO] [stdout] 32855c4a98d9b00799df339a36851aeedff725e3eff64a37f1d2e5feef697ab4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 395798fc2fd5a06d8cf55ba9b0ded864effc98dc6dbea2d0eb71db2e2e871cba [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" "395798fc2fd5a06d8cf55ba9b0ded864effc98dc6dbea2d0eb71db2e2e871cba", kill_on_drop: false }` [INFO] [stderr] Checking parser-combinators v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | f: Box Vec<(T, String)> + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&String) -> Vec<(T, String)> + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn map(self, func: Box U>) -> Parser<'a, U> where T: 'a, U: 'a { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> U` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:90:54 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn bind<'b, U, V>(p1: Parser<'b, U>, p2: Box Parser<'b, V>>) -> Parser<'b, V> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(U) -> Parser<'b, V>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/parser.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | Some(value) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_input` [INFO] [stdout] --> src/parser.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let mut new_input = input.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let mut new_input = input.clone(); [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/parser.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | let mut s = a.to_string(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | f: Box Vec<(T, String)> + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&String) -> Vec<(T, String)> + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn map(self, func: Box U>) -> Parser<'a, U> where T: 'a, U: 'a { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> U` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:90:54 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn bind<'b, U, V>(p1: Parser<'b, U>, p2: Box Parser<'b, V>>) -> Parser<'b, V> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(U) -> Parser<'b, V>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/parser.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | Some(value) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_input` [INFO] [stdout] --> src/parser.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let mut new_input = input.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let mut new_input = input.clone(); [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: struct is never constructed: `Parser` [INFO] [stdout] --> src/parser.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Parser<'a, T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/parser.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn parse(&self, input: &String) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `map` [INFO] [stdout] --> src/parser.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn map(self, func: Box U>) -> Parser<'a, U> where T: 'a, U: 'a { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `one` [INFO] [stdout] --> src/parser.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn one(t: char) -> Parser<'a, char> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `combine` [INFO] [stdout] --> src/parser.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn combine<'b, U>(p1: Parser<'b, U>, p2: Parser<'b, U>) -> Parser<'b, U> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `option` [INFO] [stdout] --> src/parser.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn option<'b, U>(p1: Parser<'b, U>, p2: Parser<'b, U>) -> Parser<'b, U> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bind` [INFO] [stdout] --> src/parser.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn bind<'b, U, V>(p1: Parser<'b, U>, p2: Box Parser<'b, V>>) -> Parser<'b, V> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "395798fc2fd5a06d8cf55ba9b0ded864effc98dc6dbea2d0eb71db2e2e871cba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "395798fc2fd5a06d8cf55ba9b0ded864effc98dc6dbea2d0eb71db2e2e871cba", kill_on_drop: false }` [INFO] [stdout] 395798fc2fd5a06d8cf55ba9b0ded864effc98dc6dbea2d0eb71db2e2e871cba