[INFO] cloning repository https://github.com/vluzko/Grace [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vluzko/Grace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvluzko%2FGrace", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvluzko%2FGrace'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dac465ee73041ca260963847a8e4ddb82e043151 [INFO] checking vluzko/Grace against master#0d56e340472882fa673d4b98d0802b9a799879d0 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvluzko%2FGrace" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vluzko/Grace on toolchain 0d56e340472882fa673d4b98d0802b9a799879d0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d56e340472882fa673d4b98d0802b9a799879d0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vluzko/Grace [INFO] finished tweaking git repo https://github.com/vluzko/Grace [INFO] tweaked toml for git repo https://github.com/vluzko/Grace written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d56e340472882fa673d4b98d0802b9a799879d0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d56e340472882fa673d4b98d0802b9a799879d0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async_once v0.2.6 [INFO] [stderr] Downloaded bytecount v0.6.3 [INFO] [stderr] Downloaded output_vt100 v0.1.3 [INFO] [stderr] Downloaded cached_proc_macro v0.15.0 [INFO] [stderr] Downloaded pretty_assertions v1.3.0 [INFO] [stderr] Downloaded cached v0.39.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+0d56e340472882fa673d4b98d0802b9a799879d0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ed6199bb0bd21313894bbeab6c2b50ef5b19015388c60a0eeac79b173a5ecc6 [INFO] running `Command { std: "docker" "start" "-a" "1ed6199bb0bd21313894bbeab6c2b50ef5b19015388c60a0eeac79b173a5ecc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ed6199bb0bd21313894bbeab6c2b50ef5b19015388c60a0eeac79b173a5ecc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ed6199bb0bd21313894bbeab6c2b50ef5b19015388c60a0eeac79b173a5ecc6", kill_on_drop: false }` [INFO] [stdout] 1ed6199bb0bd21313894bbeab6c2b50ef5b19015388c60a0eeac79b173a5ecc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+0d56e340472882fa673d4b98d0802b9a799879d0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 852d7e7c6ff7f829070e33a449a81d3a00e967e99ecf87e95b7af3c704817258 [INFO] running `Command { std: "docker" "start" "-a" "852d7e7c6ff7f829070e33a449a81d3a00e967e99ecf87e95b7af3c704817258", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking async_once v0.2.6 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking bytecount v0.6.3 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking itertools v0.10.4 [INFO] [stderr] Checking pretty_assertions v1.3.0 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking petgraph v0.6.2 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking futures v0.3.24 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking proptest v1.0.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling cached_proc_macro v0.15.0 [INFO] [stderr] Checking cached v0.39.0 [INFO] [stderr] Checking grace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/expression.rs:475:25 [INFO] [stdout] | [INFO] [stdout] 475 | _ => panic!(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/expression.rs:475:25 [INFO] [stdout] | [INFO] [stdout] 475 | _ => panic!(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/type_checking/scope.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | _ => panic!() [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/type_checking/scope.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | _ => panic!() [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/grace_error.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | fn add(self, other: Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/grace_error.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | fn add(self, other: Self) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ast_to_context` is never used [INFO] [stdout] --> src/compiler_layers.rs:486:16 [INFO] [stdout] | [INFO] [stdout] 486 | pub (crate) fn ast_to_context(mut input: Node, start_context: Option) -> (Node, Context) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ast_to_type_rewrites` is never used [INFO] [stdout] --> src/compiler_layers.rs:503:16 [INFO] [stdout] | [INFO] [stdout] 503 | pub (crate) fn ast_to_type_rewrites(input: Node, start_context: Option) -> (Node, Context) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_function_to_context` is never used [INFO] [stdout] --> src/test_utils.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn add_function_to_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_struct_to_context` is never used [INFO] [stdout] --> src/test_utils.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn add_struct_to_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_identifier_to_context` is never used [INFO] [stdout] --> src/test_utils.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) fn add_identifier_to_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unary_trait` is never used [INFO] [stdout] --> src/type_checking/context.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn unary_trait(trait_name: Identifier, method_name: Identifier) -> Trait { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `builtin_unary_traits` is never used [INFO] [stdout] --> src/type_checking/context.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn builtin_unary_traits() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_against_expected` is never used [INFO] [stdout] --> tests/utils/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn check_against_expected(subfolder: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unary_trait` is never used [INFO] [stdout] --> src/type_checking/context.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn unary_trait(trait_name: Identifier, method_name: Identifier) -> Trait { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `builtin_unary_traits` is never used [INFO] [stdout] --> src/type_checking/context.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn builtin_unary_traits() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.72s [INFO] running `Command { std: "docker" "inspect" "852d7e7c6ff7f829070e33a449a81d3a00e967e99ecf87e95b7af3c704817258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "852d7e7c6ff7f829070e33a449a81d3a00e967e99ecf87e95b7af3c704817258", kill_on_drop: false }` [INFO] [stdout] 852d7e7c6ff7f829070e33a449a81d3a00e967e99ecf87e95b7af3c704817258