[INFO] cloning repository https://github.com/jacobhenn/kwed [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jacobhenn/kwed" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobhenn%2Fkwed", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobhenn%2Fkwed'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a0ad1c8b60b2981d6209533147c6459a722071e [INFO] building jacobhenn/kwed against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobhenn%2Fkwed" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jacobhenn/kwed on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jacobhenn/kwed [INFO] finished tweaking git repo https://github.com/jacobhenn/kwed [INFO] tweaked toml for git repo https://github.com/jacobhenn/kwed written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jacobhenn/kwed 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82e42c0bac54df270b0dbf989ef409be7ead7aca43036e1fafe04addf11192fc [INFO] running `Command { std: "docker" "start" "-a" "82e42c0bac54df270b0dbf989ef409be7ead7aca43036e1fafe04addf11192fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82e42c0bac54df270b0dbf989ef409be7ead7aca43036e1fafe04addf11192fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82e42c0bac54df270b0dbf989ef409be7ead7aca43036e1fafe04addf11192fc", kill_on_drop: false }` [INFO] [stdout] 82e42c0bac54df270b0dbf989ef409be7ead7aca43036e1fafe04addf11192fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25590559be1af983023800150c169fc63a64ea674502208fc8965149e74ac755 [INFO] running `Command { std: "docker" "start" "-a" "25590559be1af983023800150c169fc63a64ea674502208fc8965149e74ac755", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling lexopt v0.3.0 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling ahash v0.8.8 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling chumsky v0.9.3 [INFO] [stderr] Compiling kwed v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cmp` [INFO] [stdout] --> src/ast/sugared.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{cmp, collections::HashMap, iter, rc::Rc}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logn` [INFO] [stdout] --> src/ast/desugared.rs:1:51 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ast::sugared, bail, err::Result, log, logn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/kernel/eval.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | bail, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> src/kernel/typeck.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{cmp, collections::HashSet, iter, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `checked_module` [INFO] [stdout] --> src/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let checked_module = match checked_module_res { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checked_module` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_expr` are never used [INFO] [stdout] --> src/ast/mod.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Ident { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 29 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn to_expr(self, level: usize) -> desugared::Expr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ast/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Path { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 93 | pub fn new(components: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rc` is never used [INFO] [stdout] --> src/ast/sugared.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 163 | impl Expr { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn rc(self) -> Rc { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `module_name` is never read [INFO] [stdout] --> src/ast/sugared.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 201 | pub struct Desugarer { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 202 | module: Module, [INFO] [stdout] 203 | module_name: Ident, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `span` and `new` are never used [INFO] [stdout] --> src/ast/desugared.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 230 | impl Arm { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 231 | pub fn span(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `type_type`, `fn_params_impl`, `fn_params`, `root_body`, and `is_ident_with_name` are never used [INFO] [stdout] --> src/ast/desugared.rs:314:12 [INFO] [stdout] | [INFO] [stdout] 309 | impl Expr { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn type_type(level: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | fn fn_params_impl<'a>(&'a self, params: &mut Vec<&'a BindingParam>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | pub fn fn_params(&self) -> Vec<&BindingParam> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | pub fn root_body(&self) -> &Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | pub fn is_ident_with_name(&self, desired_name: &Ident) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `substitute_many` and `with_replacements` are never used [INFO] [stdout] --> src/kernel/eval.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Expr { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn substitute_many<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn with_replacements<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.68s [INFO] running `Command { std: "docker" "inspect" "25590559be1af983023800150c169fc63a64ea674502208fc8965149e74ac755", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25590559be1af983023800150c169fc63a64ea674502208fc8965149e74ac755", kill_on_drop: false }` [INFO] [stdout] 25590559be1af983023800150c169fc63a64ea674502208fc8965149e74ac755 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e4d442d6cf0f6a8bafe5fda60f3c8d3eb5ae5a73cfcda818efc0ddd04e65202 [INFO] running `Command { std: "docker" "start" "-a" "2e4d442d6cf0f6a8bafe5fda60f3c8d3eb5ae5a73cfcda818efc0ddd04e65202", kill_on_drop: false }` [INFO] [stderr] Compiling kwed v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cmp` [INFO] [stdout] --> src/ast/sugared.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{cmp, collections::HashMap, iter, rc::Rc}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logn` [INFO] [stdout] --> src/ast/desugared.rs:1:51 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ast::sugared, bail, err::Result, log, logn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/kernel/eval.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | bail, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> src/kernel/typeck.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{cmp, collections::HashSet, iter, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `checked_module` [INFO] [stdout] --> src/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let checked_module = match checked_module_res { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checked_module` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `to_expr` are never used [INFO] [stdout] --> src/ast/mod.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Ident { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 29 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn to_expr(self, level: usize) -> desugared::Expr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ast/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Path { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 93 | pub fn new(components: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rc` is never used [INFO] [stdout] --> src/ast/sugared.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 163 | impl Expr { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn rc(self) -> Rc { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `module_name` is never read [INFO] [stdout] --> src/ast/sugared.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 201 | pub struct Desugarer { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 202 | module: Module, [INFO] [stdout] 203 | module_name: Ident, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `span` and `new` are never used [INFO] [stdout] --> src/ast/desugared.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 230 | impl Arm { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 231 | pub fn span(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `type_type`, `fn_params_impl`, `fn_params`, `root_body`, and `is_ident_with_name` are never used [INFO] [stdout] --> src/ast/desugared.rs:314:12 [INFO] [stdout] | [INFO] [stdout] 309 | impl Expr { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn type_type(level: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | fn fn_params_impl<'a>(&'a self, params: &mut Vec<&'a BindingParam>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | pub fn fn_params(&self) -> Vec<&BindingParam> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | pub fn root_body(&self) -> &Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | pub fn is_ident_with_name(&self, desired_name: &Ident) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `substitute_many` and `with_replacements` are never used [INFO] [stdout] --> src/kernel/eval.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Expr { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn substitute_many<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn with_replacements<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.05s [INFO] running `Command { std: "docker" "inspect" "2e4d442d6cf0f6a8bafe5fda60f3c8d3eb5ae5a73cfcda818efc0ddd04e65202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e4d442d6cf0f6a8bafe5fda60f3c8d3eb5ae5a73cfcda818efc0ddd04e65202", kill_on_drop: false }` [INFO] [stdout] 2e4d442d6cf0f6a8bafe5fda60f3c8d3eb5ae5a73cfcda818efc0ddd04e65202