[INFO] cloning repository https://github.com/maackle/minitest-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maackle/minitest-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaackle%2Fminitest-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaackle%2Fminitest-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0cd8a471af5496f8bb627f0553affd7c1a394a50
[INFO] checking maackle/minitest-rust/0cd8a471af5496f8bb627f0553affd7c1a394a50 against 1ed2df61a19042f231709eb05d032ae9e2cb2084 for pr-160235
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaackle%2Fminitest-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/maackle/minitest-rust
[INFO] finished tweaking git repo https://github.com/maackle/minitest-rust
[INFO] tweaked toml for git repo https://github.com/maackle/minitest-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/maackle/minitest-rust on toolchain 1ed2df61a19042f231709eb05d032ae9e2cb2084
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/maackle/minitest-rust 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" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded reflect v0.0.9
[INFO] [stderr]   Downloaded reflect-internal v0.0.9
[INFO] [stderr]   Downloaded ref-cast-impl v1.0.9
[INFO] [stderr]   Downloaded ref-cast v1.0.9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 45c34890b315432af51f096d932c9e77b7018f12398638d4888ba1794b790f7e
[INFO] running `Command { std: "docker" "start" "45c34890b315432af51f096d932c9e77b7018f12398638d4888ba1794b790f7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "45c34890b315432af51f096d932c9e77b7018f12398638d4888ba1794b790f7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "45c34890b315432af51f096d932c9e77b7018f12398638d4888ba1794b790f7e" "/opt/rustwide/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "45c34890b315432af51f096d932c9e77b7018f12398638d4888ba1794b790f7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "45c34890b315432af51f096d932c9e77b7018f12398638d4888ba1794b790f7e" "/opt/rustwide/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling ref-cast v1.0.9
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling ref-cast-impl v1.0.9
[INFO] [stderr]    Compiling reflect-internal v0.0.9
[INFO] [stderr]    Compiling reflect v0.0.9
[INFO] [stderr]     Checking minitest v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `spanned::Spanned`
[INFO] [stdout]  --> src/lib.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use quote::{spanned::Spanned, ToTokens};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Attribute` and `ItemFn`
[INFO] [stdout]  --> src/lib.rs:4:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | use syn::{parse_macro_input, Attribute, Item, ItemFn};
[INFO] [stdout]   |                              ^^^^^^^^^        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `spanned::Spanned`
[INFO] [stdout]  --> src/lib.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use quote::{spanned::Spanned, ToTokens};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Attribute` and `ItemFn`
[INFO] [stdout]  --> src/lib.rs:4:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | use syn::{parse_macro_input, Attribute, Item, ItemFn};
[INFO] [stdout]   |                              ^^^^^^^^^        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut test_type: Option<Ident> = None;
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `test_type`
[INFO] [stdout]   --> src/lib.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut test_type: Option<Ident> = None;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_type`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `special` is never read
[INFO] [stdout]   --> src/lib.rs:10:38
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let mut special: Option<Ident> = None;
[INFO] [stdout]    |                                      ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 15 |         special = Some(i);
[INFO] [stdout]    |         ----------------- `special` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `real_type` is never read
[INFO] [stdout]   --> src/lib.rs:12:40
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut real_type: Option<Ident> = None;
[INFO] [stdout]    |                                        ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 22 |         real_type = Some(i);
[INFO] [stdout]    |         ------------------- `real_type` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut test_type: Option<Ident> = None;
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `test_type`
[INFO] [stdout]   --> src/lib.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut test_type: Option<Ident> = None;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_type`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `special` is never read
[INFO] [stdout]   --> src/lib.rs:10:38
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let mut special: Option<Ident> = None;
[INFO] [stdout]    |                                      ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 15 |         special = Some(i);
[INFO] [stdout]    |         ----------------- `special` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `real_type` is never read
[INFO] [stdout]   --> src/lib.rs:12:40
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut real_type: Option<Ident> = None;
[INFO] [stdout]    |                                        ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 22 |         real_type = Some(i);
[INFO] [stdout]    |         ------------------- `real_type` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `spanned::Spanned`
[INFO] [stdout]  --> src/lib.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use quote::{spanned::Spanned, ToTokens};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Attribute` and `ItemFn`
[INFO] [stdout]  --> src/lib.rs:4:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | use syn::{parse_macro_input, Attribute, Item, ItemFn};
[INFO] [stdout]   |                              ^^^^^^^^^        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut test_type: Option<Ident> = None;
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `test_type`
[INFO] [stdout]   --> src/lib.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut test_type: Option<Ident> = None;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_type`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `special` is never read
[INFO] [stdout]   --> src/lib.rs:10:38
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let mut special: Option<Ident> = None;
[INFO] [stdout]    |                                      ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 15 |         special = Some(i);
[INFO] [stdout]    |         ----------------- `special` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `real_type` is never read
[INFO] [stdout]   --> src/lib.rs:12:40
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut real_type: Option<Ident> = None;
[INFO] [stdout]    |                                        ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 22 |         real_type = Some(i);
[INFO] [stdout]    |         ------------------- `real_type` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] [src/lib.rs:86:9] out.to_string() = "#[test] fn this_expands_test()\n{\n    let a = (std :: convert :: identity) (Foo(0)); let v = vec!\n    [(std :: convert :: identity) (Foo(1)), (std :: convert :: identity)\n    (Foo(2))]; assert_eq! (do_stuff(a, v), 3);\n} #[test] fn this_expands_real()\n{\n    let a = (Bar :: from) (Foo(0)); let v = vec!\n    [(Bar ::from) (Foo(1)), (Bar ::from) (Foo(2))]; assert_eq!\n    (do_stuff(a, v), 3);\n}"
[INFO] [stdout] warning: field `s` is never read
[INFO] [stdout]  --> tests/integration.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Bar {
[INFO] [stdout]   |        --- field in this struct
[INFO] [stdout] 6 |     x: u16,
[INFO] [stdout] 7 |     s: String,
[INFO] [stdout]   |     ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.99s
[INFO] running `Command { std: "docker" "inspect" "45c34890b315432af51f096d932c9e77b7018f12398638d4888ba1794b790f7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45c34890b315432af51f096d932c9e77b7018f12398638d4888ba1794b790f7e", kill_on_drop: false }`
[INFO] [stdout] 45c34890b315432af51f096d932c9e77b7018f12398638d4888ba1794b790f7e
