[INFO] cloning repository https://github.com/goodcodedev/descr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/goodcodedev/descr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoodcodedev%2Fdescr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoodcodedev%2Fdescr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a64461e68785ec82eac42d9528684cec37e79de [INFO] checking goodcodedev/descr against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoodcodedev%2Fdescr" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/goodcodedev/descr on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/goodcodedev/descr [INFO] finished tweaking git repo https://github.com/goodcodedev/descr [INFO] tweaked toml for git repo https://github.com/goodcodedev/descr written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/goodcodedev/descr already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 625cd2a8ae29886cc96753cfa4c5e6372a5e2c45d5f114fa1c11c06358bf3a67 [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" "625cd2a8ae29886cc96753cfa4c5e6372a5e2c45d5f114fa1c11c06358bf3a67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "625cd2a8ae29886cc96753cfa4c5e6372a5e2c45d5f114fa1c11c06358bf3a67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "625cd2a8ae29886cc96753cfa4c5e6372a5e2c45d5f114fa1c11c06358bf3a67", kill_on_drop: false }` [INFO] [stdout] 625cd2a8ae29886cc96753cfa4c5e6372a5e2c45d5f114fa1c11c06358bf3a67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de6452d41ac55cea4eca54f220d293fc9680bc1c4f74d875823d03c078d465db [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" "de6452d41ac55cea4eca54f220d293fc9680bc1c4f74d875823d03c078d465db", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Checking elapsed v0.1.2 [INFO] [stderr] Checking itertools v0.7.4 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking descr-common v0.1.0 (/opt/rustwide/workdir/descr-common) [INFO] [stderr] Checking descr-lang v0.1.0 (/opt/rustwide/workdir/descr-lang) [INFO] [stderr] Checking json-descr v0.1.0 (/opt/rustwide/workdir/langs/json-descr) [INFO] [stderr] Checking descr-gen v0.1.0 (/opt/rustwide/workdir/descr-gen) [INFO] [stdout] warning: the item `HashSet` is imported redundantly [INFO] [stdout] --> descr-gen/src/process/build_ast.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashSet; [INFO] [stdout] | ------------------------- the item `HashSet` is already imported here [INFO] [stdout] ... [INFO] [stdout] 313 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> descr-gen/src/lang_data/rule.rs:984:21 [INFO] [stdout] | [INFO] [stdout] 984 | String::from(member_mapped.1.as_ref()), [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `String: From<&_>` [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0495]: cannot infer an appropriate lifetime for borrow expression due to conflicting requirements [INFO] [stdout] --> descr-gen/src/process/build_parsers.rs:116:56 [INFO] [stdout] | [INFO] [stdout] 116 | rule.parts.push(Self::process_token(token, &self.data.typed_parts)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the anonymous lifetime defined on the method body at 87:9... [INFO] [stdout] --> descr-gen/src/process/build_parsers.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | &mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: ...so that reference does not outlive borrowed content [INFO] [stdout] --> descr-gen/src/process/build_parsers.rs:116:56 [INFO] [stdout] | [INFO] [stdout] 116 | rule.parts.push(Self::process_token(token, &self.data.typed_parts)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: but, the lifetime must be valid for the lifetime `'a` as defined on the impl at 12:6... [INFO] [stdout] --> descr-gen/src/process/build_parsers.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a, 'd: 'a> BuildParsers<'a, 'd> { [INFO] [stdout] | ^^ [INFO] [stdout] note: ...so that the types are compatible [INFO] [stdout] --> descr-gen/src/process/build_parsers.rs:116:29 [INFO] [stdout] | [INFO] [stdout] 116 | rule.parts.push(Self::process_token(token, &self.data.typed_parts)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected `BuildParsers<'_, '_>` [INFO] [stdout] found `BuildParsers<'a, 'd>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0621]: explicit lifetime required in the type of `ast_data` [INFO] [stdout] --> descr-gen/src/process/build_ast.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 103 | ast_data: &HashMap<&'d str, AstData<'d>>, [INFO] [stdout] | ------------------------------ help: add explicit lifetime `'a` to the type of `ast_data`: `&'a HashMap<&'d str, data::AstData<'d>>` [INFO] [stdout] ... [INFO] [stdout] 124 | Self::process_parts_rule(rule, struct_data, typed_parts, snake_cased); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ lifetime `'a` required [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0621]: explicit lifetime required in the type of `list_data` [INFO] [stdout] --> descr-gen/src/process/build_ast.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 155 | list_data: &HashMap<&'d str, ListData<'d>>, [INFO] [stdout] | ------------------------------- help: add explicit lifetime `'a` to the type of `list_data`: `&'a HashMap<&'d str, data::ListData<'d>>` [INFO] [stdout] ... [INFO] [stdout] 177 | Self::process_parts_rule(rule, struct_data, typed_parts, snake_cased); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ lifetime `'a` required [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0495, E0621. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `descr-gen` due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "de6452d41ac55cea4eca54f220d293fc9680bc1c4f74d875823d03c078d465db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de6452d41ac55cea4eca54f220d293fc9680bc1c4f74d875823d03c078d465db", kill_on_drop: false }` [INFO] [stdout] de6452d41ac55cea4eca54f220d293fc9680bc1c4f74d875823d03c078d465db