[INFO] crate ptree 0.2.1 is already in cache [INFO] testing ptree-0.2.1 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate ptree 0.2.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate ptree 0.2.1 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate ptree 0.2.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ptree 0.2.1 [INFO] tweaked toml for crates.io crate ptree 0.2.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6f1c393b4fe08bbf0ef6ad5dab526ad0307d136add69e32da57a655a1833ff53 [INFO] running `"docker" "start" "-a" "6f1c393b4fe08bbf0ef6ad5dab526ad0307d136add69e32da57a655a1833ff53"` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling tint v1.0.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling directories v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling serde-hjson v0.8.2 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling config v0.9.3 [INFO] [stderr] Compiling ptree v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `"docker" "inspect" "6f1c393b4fe08bbf0ef6ad5dab526ad0307d136add69e32da57a655a1833ff53"` [INFO] running `"docker" "rm" "-f" "6f1c393b4fe08bbf0ef6ad5dab526ad0307d136add69e32da57a655a1833ff53"` [INFO] [stdout] 6f1c393b4fe08bbf0ef6ad5dab526ad0307d136add69e32da57a655a1833ff53 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dff0fc82f22719f8b7258e41ae61d83dc937370010a501f8e3293fb31b5de2a8 [INFO] running `"docker" "start" "-a" "dff0fc82f22719f8b7258e41ae61d83dc937370010a501f8e3293fb31b5de2a8"` [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling serde_yaml v0.7.5 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling serde-xml-any v0.0.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling ron v0.3.0 [INFO] [stderr] Compiling version-sync v0.5.0 [INFO] [stderr] Compiling serde_any v0.5.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling ptree v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/serde.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0631]: type mismatch in function arguments [INFO] [stderr] --> examples/serde.rs:26:68 [INFO] [stderr] | [INFO] [stderr] 26 | #[structopt(short = "l", long = "leaf-style", parse(from_str = "style_from_str"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ expected signature of `fn(&str) -> _` [INFO] [stderr] ... [INFO] [stderr] 50 | fn style_from_str(s: &&str) -> Style { [INFO] [stderr] | ------------------------------------ found signature of `for<'r, 's> fn(&'r &'s str) -> _` [INFO] [stderr] [INFO] [stderr] error[E0631]: type mismatch in function arguments [INFO] [stderr] --> examples/serde.rs:29:70 [INFO] [stderr] | [INFO] [stderr] 29 | #[structopt(short = "b", long = "branch-style", parse(from_str = "style_from_str"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ expected signature of `fn(&str) -> _` [INFO] [stderr] ... [INFO] [stderr] 50 | fn style_from_str(s: &&str) -> Style { [INFO] [stderr] | ------------------------------------ found signature of `for<'r, 's> fn(&'r &'s str) -> _` [INFO] [stderr] [INFO] [stderr] error[E0631]: type mismatch in function arguments [INFO] [stderr] --> examples/serde.rs:32:71 [INFO] [stderr] | [INFO] [stderr] 32 | #[structopt(short = "c", long = "character-set", parse(from_str = "chars_from_str"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ expected signature of `fn(&str) -> _` [INFO] [stderr] ... [INFO] [stderr] 39 | fn chars_from_str(s: &&str) -> ptree::IndentChars { [INFO] [stderr] | ------------------------------------------------- found signature of `for<'r, 's> fn(&'r &'s str) -> _` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0631`. [INFO] [stderr] error: could not compile `ptree`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "dff0fc82f22719f8b7258e41ae61d83dc937370010a501f8e3293fb31b5de2a8"` [INFO] running `"docker" "rm" "-f" "dff0fc82f22719f8b7258e41ae61d83dc937370010a501f8e3293fb31b5de2a8"` [INFO] [stdout] dff0fc82f22719f8b7258e41ae61d83dc937370010a501f8e3293fb31b5de2a8