[INFO] cloning repository https://github.com/Amphibological/chi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Amphibological/chi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmphibological%2Fchi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmphibological%2Fchi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 641cc68c359957ff40526366b78bdfc0104b7a5f [INFO] building Amphibological/chi 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%2FAmphibological%2Fchi" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Amphibological/chi 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/Amphibological/chi [INFO] finished tweaking git repo https://github.com/Amphibological/chi [INFO] tweaked toml for git repo https://github.com/Amphibological/chi written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Amphibological/chi 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] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.58 [INFO] [stderr] Downloaded llvm-sys v100.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 81a1bfe379a0aa9bbedfe87556f13540dafa990c368460fcf77c6afa5a03d426 [INFO] running `Command { std: "docker" "start" "-a" "81a1bfe379a0aa9bbedfe87556f13540dafa990c368460fcf77c6afa5a03d426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81a1bfe379a0aa9bbedfe87556f13540dafa990c368460fcf77c6afa5a03d426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81a1bfe379a0aa9bbedfe87556f13540dafa990c368460fcf77c6afa5a03d426", kill_on_drop: false }` [INFO] [stdout] 81a1bfe379a0aa9bbedfe87556f13540dafa990c368460fcf77c6afa5a03d426 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d6bdeed2bd01a5d653d9a26ded9144bf8a21c59f53584de2a1f70b3e8b8cc80b [INFO] running `Command { std: "docker" "start" "-a" "d6bdeed2bd01a5d653d9a26ded9144bf8a21c59f53584de2a1f70b3e8b8cc80b", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling llvm-sys v100.1.0 [INFO] [stderr] Compiling elgin v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `typ`, `msg`, `pos`, and `len` are never read [INFO] [stdout] --> src/errors.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Error { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 34 | typ: ErrorType, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | len: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/astgen.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 79 | UseStatement { [INFO] [stdout] | ------------ field in this variant [INFO] [stdout] 80 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/astgen.rs:525:27 [INFO] [stdout] | [INFO] [stdout] 525 | o => unreachable!(o), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 525 | o => unreachable!("{}", o), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec` will be dropped [INFO] [stdout] --> src/llvm.rs:650:18 [INFO] [stdout] | [INFO] [stdout] 645 | let mut error_msg: *mut i8 = "" [INFO] [stdout] | __________________________________________- [INFO] [stdout] 646 | | .as_bytes() [INFO] [stdout] 647 | | .iter() [INFO] [stdout] 648 | | .map(|b| *b as i8) [INFO] [stdout] 649 | | .collect::>() [INFO] [stdout] | |____________________________________- this `Vec` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] 650 | .as_mut_ptr(); [INFO] [stdout] | ^^^^^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_mut_ptr` the `Vec` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.07s [INFO] running `Command { std: "docker" "inspect" "d6bdeed2bd01a5d653d9a26ded9144bf8a21c59f53584de2a1f70b3e8b8cc80b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6bdeed2bd01a5d653d9a26ded9144bf8a21c59f53584de2a1f70b3e8b8cc80b", kill_on_drop: false }` [INFO] [stdout] d6bdeed2bd01a5d653d9a26ded9144bf8a21c59f53584de2a1f70b3e8b8cc80b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 90fcd432a604241a2d1d8fbe3ef74703232281924973c8460d41aa8603a543f1 [INFO] running `Command { std: "docker" "start" "-a" "90fcd432a604241a2d1d8fbe3ef74703232281924973c8460d41aa8603a543f1", kill_on_drop: false }` [INFO] [stderr] Compiling elgin v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `typ`, `msg`, `pos`, and `len` are never read [INFO] [stdout] --> src/errors.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Error { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 34 | typ: ErrorType, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | len: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/astgen.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 79 | UseStatement { [INFO] [stdout] | ------------ field in this variant [INFO] [stdout] 80 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/astgen.rs:525:27 [INFO] [stdout] | [INFO] [stdout] 525 | o => unreachable!(o), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 525 | o => unreachable!("{}", o), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec` will be dropped [INFO] [stdout] --> src/llvm.rs:650:18 [INFO] [stdout] | [INFO] [stdout] 645 | let mut error_msg: *mut i8 = "" [INFO] [stdout] | __________________________________________- [INFO] [stdout] 646 | | .as_bytes() [INFO] [stdout] 647 | | .iter() [INFO] [stdout] 648 | | .map(|b| *b as i8) [INFO] [stdout] 649 | | .collect::>() [INFO] [stdout] | |____________________________________- this `Vec` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] 650 | .as_mut_ptr(); [INFO] [stdout] | ^^^^^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_mut_ptr` the `Vec` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.49s [INFO] running `Command { std: "docker" "inspect" "90fcd432a604241a2d1d8fbe3ef74703232281924973c8460d41aa8603a543f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90fcd432a604241a2d1d8fbe3ef74703232281924973c8460d41aa8603a543f1", kill_on_drop: false }` [INFO] [stdout] 90fcd432a604241a2d1d8fbe3ef74703232281924973c8460d41aa8603a543f1