[INFO] cloning repository https://github.com/rexwu1104/lambda [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rexwu1104/lambda" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frexwu1104%2Flambda", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frexwu1104%2Flambda'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d6bf666d0d92bd5c7e9ecaa6ae258c30706b99d [INFO] checking rexwu1104/lambda against try#35b6491ce6d2b388d0a5de1e59e2123604af807f for pr-136539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frexwu1104%2Flambda" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rexwu1104/lambda on toolchain 35b6491ce6d2b388d0a5de1e59e2123604af807f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35b6491ce6d2b388d0a5de1e59e2123604af807f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rexwu1104/lambda [INFO] finished tweaking git repo https://github.com/rexwu1104/lambda [INFO] tweaked toml for git repo https://github.com/rexwu1104/lambda written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rexwu1104/lambda 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" "+35b6491ce6d2b388d0a5de1e59e2123604af807f" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+35b6491ce6d2b388d0a5de1e59e2123604af807f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3ab503f5a4a5f251a6b62952921224889ec98e0282df9ba8ef5e6b1cbf557f3 [INFO] running `Command { std: "docker" "start" "-a" "e3ab503f5a4a5f251a6b62952921224889ec98e0282df9ba8ef5e6b1cbf557f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3ab503f5a4a5f251a6b62952921224889ec98e0282df9ba8ef5e6b1cbf557f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3ab503f5a4a5f251a6b62952921224889ec98e0282df9ba8ef5e6b1cbf557f3", kill_on_drop: false }` [INFO] [stdout] e3ab503f5a4a5f251a6b62952921224889ec98e0282df9ba8ef5e6b1cbf557f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+35b6491ce6d2b388d0a5de1e59e2123604af807f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5644a852efc9a11f08a398fc45b382261795582596511ba5cc522a8760bbd2a [INFO] running `Command { std: "docker" "start" "-a" "f5644a852efc9a11f08a398fc45b382261795582596511ba5cc522a8760bbd2a", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.134 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking lambda v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/lambda/utils/sys.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | cfg!(linux) [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `macos` [INFO] [stdout] --> src/lambda/utils/sys.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | cfg!(macos) [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "macos"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(macos)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Class` [INFO] [stdout] --> src/lambda/parser/generate.rs:2:178 [INFO] [stdout] | [INFO] [stdout] 2 | ...ession, Variable, ExpressionContent, CallFunction, TypeContent, Class, Tuple, ValueType, Struct}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/lambda/utils/sys.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | cfg!(linux) [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `macos` [INFO] [stdout] --> src/lambda/utils/sys.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | cfg!(macos) [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "macos"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(macos)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(macos)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Class` [INFO] [stdout] --> src/lambda/parser/generate.rs:2:178 [INFO] [stdout] | [INFO] [stdout] 2 | ...ession, Variable, ExpressionContent, CallFunction, TypeContent, Class, Tuple, ValueType, Struct}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lambda/utils/status.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | StatusType::Parse => |s, t| {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/lambda/utils/status.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | StatusType::Parse => |s, t| {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lambda/utils/status.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | StatusType::Normal => |s, t| {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/lambda/utils/status.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | StatusType::Normal => |s, t| {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lambda/utils/status.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | StatusType::File => |s, t| {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/lambda/utils/status.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | StatusType::File => |s, t| {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lambda/utils/status.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | StatusType::Parse => |s, t| {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/lambda/utils/status.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | StatusType::Parse => |s, t| {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lambda/utils/status.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | StatusType::Normal => |s, t| {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/lambda/utils/status.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | StatusType::Normal => |s, t| {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lambda/utils/status.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | StatusType::File => |s, t| {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/lambda/utils/status.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | StatusType::File => |s, t| {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.28s [INFO] running `Command { std: "docker" "inspect" "f5644a852efc9a11f08a398fc45b382261795582596511ba5cc522a8760bbd2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5644a852efc9a11f08a398fc45b382261795582596511ba5cc522a8760bbd2a", kill_on_drop: false }` [INFO] [stdout] f5644a852efc9a11f08a398fc45b382261795582596511ba5cc522a8760bbd2a