[INFO] fetching crate treedir 0.1.1... [INFO] building treedir-0.1.1 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate treedir 0.1.1 into /workspace/builds/worker-1-tc2/source [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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate treedir 0.1.1 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate treedir 0.1.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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70d58213e2d16852d5e1124f2056539f3ff135356619fa269da31fdf9b9939a8 [INFO] running `Command { std: "docker" "start" "-a" "70d58213e2d16852d5e1124f2056539f3ff135356619fa269da31fdf9b9939a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70d58213e2d16852d5e1124f2056539f3ff135356619fa269da31fdf9b9939a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70d58213e2d16852d5e1124f2056539f3ff135356619fa269da31fdf9b9939a8", kill_on_drop: false }` [INFO] [stdout] 70d58213e2d16852d5e1124f2056539f3ff135356619fa269da31fdf9b9939a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce436fa91c040105ff0893a6e9a53dae97d1db597219cc6d4658b5b828413b86 [INFO] running `Command { std: "docker" "start" "-a" "ce436fa91c040105ff0893a6e9a53dae97d1db597219cc6d4658b5b828413b86", 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 treedir v0.1.1 (/opt/rustwide/workdir) [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: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "ce436fa91c040105ff0893a6e9a53dae97d1db597219cc6d4658b5b828413b86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce436fa91c040105ff0893a6e9a53dae97d1db597219cc6d4658b5b828413b86", kill_on_drop: false }` [INFO] [stdout] ce436fa91c040105ff0893a6e9a53dae97d1db597219cc6d4658b5b828413b86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78407a7a79608cbfc85c2984ffbed4b93930ee7571c01863ec1ce2958c5082ee [INFO] running `Command { std: "docker" "start" "-a" "78407a7a79608cbfc85c2984ffbed4b93930ee7571c01863ec1ce2958c5082ee", 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 crossbeam-utils v0.8.5 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling libc v0.2.99 [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] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling oorandom v11.1.3 [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: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling treedir v0.1.1 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 27.61s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "78407a7a79608cbfc85c2984ffbed4b93930ee7571c01863ec1ce2958c5082ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78407a7a79608cbfc85c2984ffbed4b93930ee7571c01863ec1ce2958c5082ee", kill_on_drop: false }` [INFO] [stdout] 78407a7a79608cbfc85c2984ffbed4b93930ee7571c01863ec1ce2958c5082ee