[INFO] cloning repository https://github.com/grewalrehmat/ngux [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/grewalrehmat/ngux" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrewalrehmat%2Fngux", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrewalrehmat%2Fngux'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b1e262926736d452d66db89e9cac281be7eb681 [INFO] checking grewalrehmat/ngux against try#901d6c1c62d7c61e05469e996c297476078ee06b for pr-157082 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrewalrehmat%2Fngux" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/grewalrehmat/ngux [INFO] finished tweaking git repo https://github.com/grewalrehmat/ngux [INFO] tweaked toml for git repo https://github.com/grewalrehmat/ngux written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/grewalrehmat/ngux on toolchain 901d6c1c62d7c61e05469e996c297476078ee06b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901d6c1c62d7c61e05469e996c297476078ee06b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/grewalrehmat/ngux 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" "+901d6c1c62d7c61e05469e996c297476078ee06b" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 0792ef9fb28db77b193237c45aee2d9ab45c1575bf7293907a67081e914e3311 [INFO] running `Command { std: "docker" "start" "0792ef9fb28db77b193237c45aee2d9ab45c1575bf7293907a67081e914e3311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0792ef9fb28db77b193237c45aee2d9ab45c1575bf7293907a67081e914e3311" "/opt/rustwide/cargo-home/bin/cargo" "+901d6c1c62d7c61e05469e996c297476078ee06b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0792ef9fb28db77b193237c45aee2d9ab45c1575bf7293907a67081e914e3311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0792ef9fb28db77b193237c45aee2d9ab45c1575bf7293907a67081e914e3311" "/opt/rustwide/cargo-home/bin/cargo" "+901d6c1c62d7c61e05469e996c297476078ee06b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.93 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling os_str_bytes v6.0.1 [INFO] [stderr] Compiling indexmap v1.9.0 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking lscolors v0.10.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking predicates v2.1.1 [INFO] [stderr] Checking assert_cmd v2.0.4 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Compiling clap v3.1.18 [INFO] [stderr] Compiling clap_complete v3.1.4 [INFO] [stderr] Compiling ngux v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `DEFAULT_EXCLUDES` is never used [INFO] [stdout] --> src/cli.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const DEFAULT_EXCLUDES: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_EXCLUDES` is never used [INFO] [stdout] --> src/cli.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const DEFAULT_EXCLUDES: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/file_ops.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn read_file(path: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append_file` is never used [INFO] [stdout] --> src/file_ops.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn append_file(path: &str, data: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json_formatting.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(tree: &FileTree) -> SerializableTreeNode { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 34 | pub fn new(tree: &FileTree) -> SerializableTreeNode<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_EXCLUDES` is never used [INFO] [stdout] --> src/cli.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const DEFAULT_EXCLUDES: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/file_ops.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn read_file(path: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append_file` is never used [INFO] [stdout] --> src/file_ops.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn append_file(path: &str, data: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json_formatting.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(tree: &FileTree) -> SerializableTreeNode { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 34 | pub fn new(tree: &FileTree) -> SerializableTreeNode<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.32s [INFO] running `Command { std: "docker" "inspect" "0792ef9fb28db77b193237c45aee2d9ab45c1575bf7293907a67081e914e3311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0792ef9fb28db77b193237c45aee2d9ab45c1575bf7293907a67081e914e3311", kill_on_drop: false }` [INFO] [stdout] 0792ef9fb28db77b193237c45aee2d9ab45c1575bf7293907a67081e914e3311