[INFO] fetching crate nameof 1.2.0... [INFO] checking nameof-1.2.0 against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] extracting crate nameof 1.2.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate nameof 1.2.0 on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate nameof 1.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate nameof 1.2.0 [INFO] tweaked toml for crates.io crate nameof 1.2.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate crates.io crate nameof 1.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6d1d37a5ddc48322ed39f2cc47e3470b630dc85cd30e14b720eef37d7e9cbd9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c6d1d37a5ddc48322ed39f2cc47e3470b630dc85cd30e14b720eef37d7e9cbd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6d1d37a5ddc48322ed39f2cc47e3470b630dc85cd30e14b720eef37d7e9cbd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6d1d37a5ddc48322ed39f2cc47e3470b630dc85cd30e14b720eef37d7e9cbd9", kill_on_drop: false }` [INFO] [stdout] c6d1d37a5ddc48322ed39f2cc47e3470b630dc85cd30e14b720eef37d7e9cbd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c93e1a77947d231a48b78bc6e6f24cd36d4784e5996d96866e1872274306f10c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c93e1a77947d231a48b78bc6e6f24cd36d4784e5996d96866e1872274306f10c", kill_on_drop: false }` [INFO] [stderr] Checking nameof v1.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> examples/basic.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | println!("Binding `{}` holds `{}`.", name_of!(text), text); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> src/lib.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | / || { [INFO] [stdout] 86 | | &$n; [INFO] [stdout] 87 | | }; [INFO] [stdout] | |__________^ [INFO] [stdout] ... [INFO] [stdout] 169 | assert_eq!(name_of!(test_variable), "test_variable"); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> src/lib.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | / || { [INFO] [stdout] 86 | | &$n; [INFO] [stdout] 87 | | }; [INFO] [stdout] | |__________^ [INFO] [stdout] ... [INFO] [stdout] 174 | assert_eq!(name_of!(test_fn), "test_fn"); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> src/lib.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / || { [INFO] [stdout] 137 | | let _: $t; [INFO] [stdout] 138 | | }; [INFO] [stdout] | |__________^ [INFO] [stdout] ... [INFO] [stdout] 179 | assert_eq!(name_of!(type i32), "i32"); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> src/lib.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / || { [INFO] [stdout] 137 | | let _: $t; [INFO] [stdout] 138 | | }; [INFO] [stdout] | |__________^ [INFO] [stdout] ... [INFO] [stdout] 180 | assert_eq!(name_of_type!(i32), "i32"); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> src/lib.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / || { [INFO] [stdout] 137 | | let _: $t; [INFO] [stdout] 138 | | }; [INFO] [stdout] | |__________^ [INFO] [stdout] ... [INFO] [stdout] 185 | assert_eq!(name_of!(type TestStruct), "TestStruct"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> src/lib.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / || { [INFO] [stdout] 137 | | let _: $t; [INFO] [stdout] 138 | | }; [INFO] [stdout] | |__________^ [INFO] [stdout] ... [INFO] [stdout] 186 | assert_eq!(name_of_type!(TestStruct), "TestStruct"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> src/lib.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / || { [INFO] [stdout] 137 | | let _: $t; [INFO] [stdout] 138 | | }; [INFO] [stdout] | |__________^ [INFO] [stdout] ... [INFO] [stdout] 192 | name_of!(type TestGenericStruct), [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> src/lib.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / || { [INFO] [stdout] 137 | | let _: $t; [INFO] [stdout] 138 | | }; [INFO] [stdout] | |__________^ [INFO] [stdout] ... [INFO] [stdout] 197 | name_of_type!(TestGenericStruct), [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> src/lib.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / || { [INFO] [stdout] 137 | | let _: $t; [INFO] [stdout] 138 | | }; [INFO] [stdout] | |__________^ [INFO] [stdout] ... [INFO] [stdout] 205 | name_of!(type TestGenericStructMultiType>), [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> src/lib.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / || { [INFO] [stdout] 137 | | let _: $t; [INFO] [stdout] 138 | | }; [INFO] [stdout] | |__________^ [INFO] [stdout] ... [INFO] [stdout] 210 | name_of_type!( TestGenericStructMultiType>), [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> src/lib.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | / |f: $t| { [INFO] [stdout] 99 | | let _ = &f.$n; [INFO] [stdout] 100 | | }; [INFO] [stdout] | |__________^ [INFO] [stdout] ... [INFO] [stdout] 217 | assert_eq!(name_of!(test_field in TestStruct), "test_field"); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> examples/basic.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 28 | println!("Function `{}` says `{}`.", name_of!(greet), greet()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> src/lib.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | / |f: $t| { [INFO] [stdout] 99 | | let _ = &f.$n; [INFO] [stdout] 100 | | }; [INFO] [stdout] | |__________^ [INFO] [stdout] ... [INFO] [stdout] 222 | assert_eq!(name_of!(test_field in TestGenericStruct), "test_field"); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> examples/basic.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | name_of!(type TestStruct), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> examples/basic.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | name_of!(test_field in TestStruct) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> examples/basic.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | name_of!(type GenericStruct), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> src/lib.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | / |f: $t| { [INFO] [stdout] 99 | | let _ = &f.$n; [INFO] [stdout] 100 | | }; [INFO] [stdout] | |__________^ [INFO] [stdout] ... [INFO] [stdout] 228 | name_of!(test_field_t in TestGenericStructMultiType>), [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> examples/basic.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | name_of!(test_field_t in GenericStruct) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> examples/basic.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | name_of!(type i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> src/lib.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | / |f: $t| { [INFO] [stdout] 99 | | let _ = &f.$n; [INFO] [stdout] 100 | | }; [INFO] [stdout] | |__________^ [INFO] [stdout] ... [INFO] [stdout] 233 | name_of!(test_field_u in TestGenericStructMultiType>), [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> examples/basic.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | name_of!(type f64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> src/lib.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | / || { [INFO] [stdout] 107 | | let _ = &<$t>::$n; [INFO] [stdout] 108 | | }; [INFO] [stdout] | |__________^ [INFO] [stdout] ... [INFO] [stdout] 240 | assert_eq!(name_of!(const TEST_CONST in TestStruct), "TEST_CONST"); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> tests/nameof_type_2015_edition.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!("File", name_of!(type File)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused closure that must be used [INFO] [stdout] --> tests/nameof_type_2018_edition.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!("File", name_of!(type File)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `Command { std: "docker" "inspect" "c93e1a77947d231a48b78bc6e6f24cd36d4784e5996d96866e1872274306f10c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c93e1a77947d231a48b78bc6e6f24cd36d4784e5996d96866e1872274306f10c", kill_on_drop: false }` [INFO] [stdout] c93e1a77947d231a48b78bc6e6f24cd36d4784e5996d96866e1872274306f10c