[INFO] cloning repository https://github.com/cobac/laml [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cobac/laml" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcobac%2Flaml", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcobac%2Flaml'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c5889b10a803c8b73e3573c674d41e49ee78998 [INFO] checking cobac/laml against master#9bfa31f632912180dc742809bcc51a97f2d7079d for pr-140151 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcobac%2Flaml" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cobac/laml on toolchain 9bfa31f632912180dc742809bcc51a97f2d7079d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cobac/laml [INFO] finished tweaking git repo https://github.com/cobac/laml [INFO] tweaked toml for git repo https://github.com/cobac/laml written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cobac/laml 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" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f6234c1052894c5cc836a2060679e990eb3db3609f3976579e59ff166dc9876 [INFO] running `Command { std: "docker" "start" "-a" "4f6234c1052894c5cc836a2060679e990eb3db3609f3976579e59ff166dc9876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f6234c1052894c5cc836a2060679e990eb3db3609f3976579e59ff166dc9876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f6234c1052894c5cc836a2060679e990eb3db3609f3976579e59ff166dc9876", kill_on_drop: false }` [INFO] [stdout] 4f6234c1052894c5cc836a2060679e990eb3db3609f3976579e59ff166dc9876 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 518c74531e99cd56b7b0e10ed44b0e0864a0eef5ea324da91d0a210b99b5d8b3 [INFO] running `Command { std: "docker" "start" "-a" "518c74531e99cd56b7b0e10ed44b0e0864a0eef5ea324da91d0a210b99b5d8b3", kill_on_drop: false }` [INFO] [stderr] Checking laml v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `laml` [INFO] [stdout] --> src/lib.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn laml2yaml(laml: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_laml` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Atom` is never constructed [INFO] [stdout] --> src/lib.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Atom(String); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> src/lib.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pair` is never constructed [INFO] [stdout] --> src/lib.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Pair { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Laml` is never constructed [INFO] [stdout] --> src/lib.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Laml { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `laml` [INFO] [stdout] --> src/lib.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn laml2yaml(laml: &str) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_laml` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Atom` is never constructed [INFO] [stdout] --> src/lib.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Atom(String); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> src/lib.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pair` is never constructed [INFO] [stdout] --> src/lib.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Pair { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Laml` is never constructed [INFO] [stdout] --> src/lib.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Laml { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `laml::laml2yaml` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use laml::laml2yaml; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `laml::laml2yaml` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use laml::laml2yaml; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | fn main(path: &Path) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | fn transpile(file: &Path) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transpile` is never used [INFO] [stdout] --> src/main.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn transpile(file: &Path) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0580]: `main` function has wrong type [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | fn main(path: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ incorrect number of function parameters [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn()` [INFO] [stdout] found signature `for<'a> fn(&'a Path)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | fn main(path: &Path) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | fn transpile(file: &Path) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0580`. [INFO] [stdout] [INFO] [stderr] error: could not compile `laml` (bin "laml") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "518c74531e99cd56b7b0e10ed44b0e0864a0eef5ea324da91d0a210b99b5d8b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "518c74531e99cd56b7b0e10ed44b0e0864a0eef5ea324da91d0a210b99b5d8b3", kill_on_drop: false }` [INFO] [stdout] 518c74531e99cd56b7b0e10ed44b0e0864a0eef5ea324da91d0a210b99b5d8b3