[INFO] fetching crate treedir 0.1.1... [INFO] crate treedir 0.1.1 is already in cache [INFO] crate treedir 0.1.1 is already in cache [INFO] crate treedir 0.1.1 is already in cache [INFO] crate treedir 0.1.1 is already in cache [INFO] crate treedir 0.1.1 is already in cache [INFO] crate treedir 0.1.1 is already in cache [INFO] crate treedir 0.1.1 is already in cache [INFO] crate treedir 0.1.1 is already in cache [INFO] crate treedir 0.1.1 is already in cache [INFO] crate treedir 0.1.1 is already in cache [INFO] crate treedir 0.1.1 is already in cache [INFO] crate treedir 0.1.1 is already in cache [INFO] crate treedir 0.1.1 is already in cache [INFO] crate treedir 0.1.1 is already in cache [INFO] checking treedir-0.1.1 against master#ea6ab1bd845790fb31ba790d2c7aec898f89fe62 for pr-99880 [INFO] extracting crate treedir 0.1.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate treedir 0.1.1 on toolchain ea6ab1bd845790fb31ba790d2c7aec898f89fe62 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate treedir 0.1.1 [INFO] finished tweaking crates.io crate treedir 0.1.1 [INFO] tweaked toml for crates.io crate treedir 0.1.1 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate crates.io crate treedir 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 976149bb0664bb0d397793afb96394fa7e053a45cf953550e15c265db79deb5d [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" "976149bb0664bb0d397793afb96394fa7e053a45cf953550e15c265db79deb5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "976149bb0664bb0d397793afb96394fa7e053a45cf953550e15c265db79deb5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "976149bb0664bb0d397793afb96394fa7e053a45cf953550e15c265db79deb5d", kill_on_drop: false }` [INFO] [stdout] 976149bb0664bb0d397793afb96394fa7e053a45cf953550e15c265db79deb5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bae45cb92e51337db293a5e0c9c475ca70c052dcd345342e26eba5f9fc9416a [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" "0bae45cb92e51337db293a5e0c9c475ca70c052dcd345342e26eba5f9fc9416a", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking treedir v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stdout] warning: fields `entry_type` and `children` are never read [INFO] [stdout] --> src/lib.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 69 | entry_path: PathBuf, [INFO] [stdout] 70 | entry_type: EntryType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | children: Rc>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tree` [INFO] [stdout] --> src/main.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | use treedir::{Tree, generate_tree}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/main.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | if(args.len() != 2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 26 - if(args.len() != 2) { [INFO] [stdout] 26 + if args.len() != 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stdout] warning: unused import: `Tree` [INFO] [stdout] --> src/main.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | use treedir::{Tree, generate_tree}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/main.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | if(args.len() != 2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 26 - if(args.len() != 2) { [INFO] [stdout] 26 + if args.len() != 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entry_type` and `children` are never read [INFO] [stdout] --> src/lib.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 69 | entry_path: PathBuf, [INFO] [stdout] 70 | entry_type: EntryType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | children: Rc>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tree` [INFO] [stdout] --> benches/benchmark.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use treedir::{Tree, generate_tree}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `black_box` [INFO] [stdout] --> benches/benchmark.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use criterion::{black_box, criterion_group, criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> benches/benchmark.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | generate_tree(path); [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.87s [INFO] running `Command { std: "docker" "inspect" "0bae45cb92e51337db293a5e0c9c475ca70c052dcd345342e26eba5f9fc9416a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bae45cb92e51337db293a5e0c9c475ca70c052dcd345342e26eba5f9fc9416a", kill_on_drop: false }` [INFO] [stdout] 0bae45cb92e51337db293a5e0c9c475ca70c052dcd345342e26eba5f9fc9416a