[INFO] cloning repository https://github.com/AdamHarries/type-inference [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AdamHarries/type-inference" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdamHarries%2Ftype-inference"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdamHarries%2Ftype-inference'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] fff1f2bae398796ad58813bfa8b365ce436922b1 [INFO] checking AdamHarries/type-inference against try#89c05fd3cc6404a13e1bd71450c6132a2755fa4b for pr-69741 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdamHarries%2Ftype-inference" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AdamHarries/type-inference on toolchain 89c05fd3cc6404a13e1bd71450c6132a2755fa4b [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/AdamHarries/type-inference [INFO] finished tweaking git repo https://github.com/AdamHarries/type-inference [INFO] tweaked toml for git repo https://github.com/AdamHarries/type-inference written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/AdamHarries/type-inference already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "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" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "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] 8fb82225c0e75d46cca29daac9e379a316fe8613d00c8ef02b3f67e1448168ff [INFO] running `"docker" "start" "-a" "8fb82225c0e75d46cca29daac9e379a316fe8613d00c8ef02b3f67e1448168ff"` [INFO] [stderr] Checking infer v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/context.rs:283:13 [INFO] [stderr] | [INFO] [stderr] 283 | _ => Type::Unit, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:26:19 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn is_subtype(mut s: CheckState, a: Type, b: Type) -> Option { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/context.rs:283:13 [INFO] [stderr] | [INFO] [stderr] 283 | _ => Type::Unit, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:26:19 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn is_subtype(mut s: CheckState, a: Type, b: Type) -> Option { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `is_mono` [INFO] [stderr] --> src/types.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | fn is_mono(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `nextEVar` should have a snake case name [INFO] [stderr] --> src/lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub nextEVar: usize, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `next_evar` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `is_mono` [INFO] [stderr] --> src/types.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | fn is_mono(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `nextEVar` should have a snake case name [INFO] [stderr] --> src/lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub nextEVar: usize, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `next_evar` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `"docker" "inspect" "8fb82225c0e75d46cca29daac9e379a316fe8613d00c8ef02b3f67e1448168ff"` [INFO] running `"docker" "rm" "-f" "8fb82225c0e75d46cca29daac9e379a316fe8613d00c8ef02b3f67e1448168ff"` [INFO] [stdout] 8fb82225c0e75d46cca29daac9e379a316fe8613d00c8ef02b3f67e1448168ff