[INFO] fetching crate kokai 0.3.1... [INFO] testing kokai-0.3.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate kokai 0.3.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate kokai 0.3.1 [INFO] finished tweaking crates.io crate kokai 0.3.1 [INFO] tweaked toml for crates.io crate kokai 0.3.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kokai 0.3.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kokai 0.3.1 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0436da5b2d788377a9d0ba2819b1181dd8bd4fc359e7471aabfaa4d9f45259cf [INFO] running `Command { std: "docker" "start" "-a" "0436da5b2d788377a9d0ba2819b1181dd8bd4fc359e7471aabfaa4d9f45259cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0436da5b2d788377a9d0ba2819b1181dd8bd4fc359e7471aabfaa4d9f45259cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0436da5b2d788377a9d0ba2819b1181dd8bd4fc359e7471aabfaa4d9f45259cf", kill_on_drop: false }` [INFO] [stdout] 0436da5b2d788377a9d0ba2819b1181dd8bd4fc359e7471aabfaa4d9f45259cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53cca1c74f074509d202d29ef4be3c7244eac2d50b8aae48562e6454e5ab7e4f [INFO] running `Command { std: "docker" "start" "-a" "53cca1c74f074509d202d29ef4be3c7244eac2d50b8aae48562e6454e5ab7e4f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling thread_local v1.1.0 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling openssl-src v111.13.0+1.1.1i [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libssh2-sys v0.2.20 [INFO] [stderr] Compiling libgit2-sys v0.12.17+1.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling git2 v0.13.15 [INFO] [stderr] Compiling kokai v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `italic`, `strike`, and `quote` are never used [INFO] [stdout] --> src/format/formatters.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Markdown { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn italic(&self) -> String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn strike(&self) -> String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn quote(&self) -> String [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/git/traits.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | fn get_commit_from_ref(&self, commit: &String) -> Result; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 4 | fn get_commit_from_ref(&self, commit: &String) -> Result, Error>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/git/traits.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | fn get_commit_from_ref(&self, commit: &String) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | fn get_commit_from_ref(&self, commit: &String) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 44s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: git2 v0.13.15 [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" "53cca1c74f074509d202d29ef4be3c7244eac2d50b8aae48562e6454e5ab7e4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53cca1c74f074509d202d29ef4be3c7244eac2d50b8aae48562e6454e5ab7e4f", kill_on_drop: false }` [INFO] [stdout] 53cca1c74f074509d202d29ef4be3c7244eac2d50b8aae48562e6454e5ab7e4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02df08f1aaada008f406823a8cbcc74c89ac167244b3d06f8439e0634750afb0 [INFO] running `Command { std: "docker" "start" "-a" "02df08f1aaada008f406823a8cbcc74c89ac167244b3d06f8439e0634750afb0", kill_on_drop: false }` [INFO] [stderr] Compiling kokai v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `italic`, `strike`, and `quote` are never used [INFO] [stdout] --> src/format/formatters.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Markdown { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn italic(&self) -> String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn strike(&self) -> String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn quote(&self) -> String [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/git/traits.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | fn get_commit_from_ref(&self, commit: &String) -> Result; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 4 | fn get_commit_from_ref(&self, commit: &String) -> Result, Error>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/git/traits.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | fn get_commit_from_ref(&self, commit: &String) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | fn get_commit_from_ref(&self, commit: &String) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.54s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: git2 v0.13.15 [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" "02df08f1aaada008f406823a8cbcc74c89ac167244b3d06f8439e0634750afb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02df08f1aaada008f406823a8cbcc74c89ac167244b3d06f8439e0634750afb0", kill_on_drop: false }` [INFO] [stdout] 02df08f1aaada008f406823a8cbcc74c89ac167244b3d06f8439e0634750afb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b4494da4ea45a448e77bd359ca6eb5528ab42a2169b7bc2ae50f61ba0cbec123 [INFO] running `Command { std: "docker" "start" "-a" "b4494da4ea45a448e77bd359ca6eb5528ab42a2169b7bc2ae50f61ba0cbec123", kill_on_drop: false }` [INFO] [stderr] warning: methods `italic`, `strike`, and `quote` are never used [INFO] [stderr] --> src/format/formatters.rs:11:6 [INFO] [stderr] | [INFO] [stderr] 3 | pub trait Markdown { [INFO] [stderr] | -------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 11 | fn italic(&self) -> String [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | fn strike(&self) -> String [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | fn quote(&self) -> String [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/git/traits.rs:4:26 [INFO] [stderr] | [INFO] [stderr] 4 | fn get_commit_from_ref(&self, commit: &String) -> Result; [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 4 | fn get_commit_from_ref(&self, commit: &String) -> Result, Error>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/git/traits.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | fn get_commit_from_ref(&self, commit: &String) -> Result { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 8 | fn get_commit_from_ref(&self, commit: &String) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `kokai` (bin "kokai" test) generated 3 warnings (run `cargo fix --bin "kokai" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: git2 v0.13.15 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/kokai-a969ed011ae947a6) [INFO] [stdout] running 5 tests [INFO] [stdout] test format::test::get_all_pull_requests_github ... ok [INFO] [stdout] test format::test::get_all_issues ... ok [INFO] [stdout] test git::test::format_git_url ... ok [INFO] [stdout] test format::test::issue_pr_links ... ok [INFO] [stdout] test format::test::get_all_pull_requests_gitlab ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b4494da4ea45a448e77bd359ca6eb5528ab42a2169b7bc2ae50f61ba0cbec123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4494da4ea45a448e77bd359ca6eb5528ab42a2169b7bc2ae50f61ba0cbec123", kill_on_drop: false }` [INFO] [stdout] b4494da4ea45a448e77bd359ca6eb5528ab42a2169b7bc2ae50f61ba0cbec123