[INFO] crate ptree 0.2.1 is already in cache [INFO] checking ptree-0.2.1 against master#30ca215b4e38b32aa7abdd635c5e2d56f5724494 for pr-66037 [INFO] extracting crate ptree 0.2.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate ptree 0.2.1 on toolchain 30ca215b4e38b32aa7abdd635c5e2d56f5724494 [INFO] running `"/workspace/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "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-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3da85b2b1d08092314fd5123d78f2dfcee465d5ee46a710234f488c936c0b5ef [INFO] running `"docker" "start" "-a" "3da85b2b1d08092314fd5123d78f2dfcee465d5ee46a710234f488c936c0b5ef"` [INFO] [stderr] Checking xml-rs v0.6.1 [INFO] [stderr] Checking tint v1.0.1 [INFO] [stderr] Checking serde v1.0.104 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Checking serde-value v0.5.3 [INFO] [stderr] Checking serde-xml-any v0.0.3 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking ron v0.3.0 [INFO] [stderr] Checking version-sync v0.5.0 [INFO] [stderr] Checking config v0.9.3 [INFO] [stderr] Checking serde_any v0.5.0 [INFO] [stderr] Checking 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 [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] running `"docker" "inspect" "3da85b2b1d08092314fd5123d78f2dfcee465d5ee46a710234f488c936c0b5ef"` [INFO] running `"docker" "rm" "-f" "3da85b2b1d08092314fd5123d78f2dfcee465d5ee46a710234f488c936c0b5ef"` [INFO] [stdout] 3da85b2b1d08092314fd5123d78f2dfcee465d5ee46a710234f488c936c0b5ef