[INFO] fetching crate fastrace-macro 0.7.14... [INFO] testing fastrace-macro-0.7.14 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate fastrace-macro 0.7.14 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate fastrace-macro 0.7.14 [INFO] finished tweaking crates.io crate fastrace-macro 0.7.14 [INFO] tweaked toml for crates.io crate fastrace-macro 0.7.14 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fastrace-macro 0.7.14 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f114bdea7df0ccfbff6c8bc471d3aa8751c72761db2217e49c1b1cc5ab64eaae [INFO] running `Command { std: "docker" "start" "-a" "f114bdea7df0ccfbff6c8bc471d3aa8751c72761db2217e49c1b1cc5ab64eaae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f114bdea7df0ccfbff6c8bc471d3aa8751c72761db2217e49c1b1cc5ab64eaae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f114bdea7df0ccfbff6c8bc471d3aa8751c72761db2217e49c1b1cc5ab64eaae", kill_on_drop: false }` [INFO] [stdout] f114bdea7df0ccfbff6c8bc471d3aa8751c72761db2217e49c1b1cc5ab64eaae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 189561da1457c43abaa7dc1281f5da1fc111e4451a39d30ce72d9fc819bd6edd [INFO] running `Command { std: "docker" "start" "-a" "189561da1457c43abaa7dc1281f5da1fc111e4451a39d30ce72d9fc819bd6edd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling fastrace-macro v0.7.14 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/lib.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let args = parse_macro_input!(args as Args); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/lib.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let input = parse_macro_input!(item as ItemFn); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_name` [INFO] [stdout] --> src/lib.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let func_name = input.sig.ident.to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_body` [INFO] [stdout] --> src/lib.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let func_body = if let Some(internal_fun) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_fun` [INFO] [stdout] --> src/lib.rs:131:33 [INFO] [stdout] | [INFO] [stdout] 131 | let func_body = if let Some(internal_fun) = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_fun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `async_expr` [INFO] [stdout] --> src/lib.rs:143:35 [INFO] [stdout] | [INFO] [stdout] 143 | AsyncTraitKind::Async(async_expr) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_async_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instrumented_block` [INFO] [stdout] --> src/lib.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | let instrumented_block = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instrumented_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `async_attrs` [INFO] [stdout] --> src/lib.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | let async_attrs = &async_expr.attrs; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_async_attrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attrs` [INFO] [stdout] --> src/lib.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | attrs, vis, sig, .. [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_attrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vis` [INFO] [stdout] --> src/lib.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 165 | attrs, vis, sig, .. [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/lib.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | attrs, vis, sig, .. [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type` [INFO] [stdout] --> src/lib.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | output: return_type, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/lib.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | inputs: params, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unsafety` [INFO] [stdout] --> src/lib.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | unsafety, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unsafety` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constness` [INFO] [stdout] --> src/lib.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | constness, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `abi` [INFO] [stdout] --> src/lib.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | abi, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_abi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> src/lib.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | ident, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asyncness` [INFO] [stdout] --> src/lib.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | asyncness, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asyncness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gen_params` [INFO] [stdout] --> src/lib.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | params: gen_params, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gen_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `where_clause` [INFO] [stdout] --> src/lib.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | where_clause, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_where_clause` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.56s [INFO] running `Command { std: "docker" "inspect" "189561da1457c43abaa7dc1281f5da1fc111e4451a39d30ce72d9fc819bd6edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "189561da1457c43abaa7dc1281f5da1fc111e4451a39d30ce72d9fc819bd6edd", kill_on_drop: false }` [INFO] [stdout] 189561da1457c43abaa7dc1281f5da1fc111e4451a39d30ce72d9fc819bd6edd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37decdc9ad6ed1a9f1bc3972a60862f17954095f4a320f8a5273d7d03f879750 [INFO] running `Command { std: "docker" "start" "-a" "37decdc9ad6ed1a9f1bc3972a60862f17954095f4a320f8a5273d7d03f879750", kill_on_drop: false }` [INFO] [stderr] Compiling fastrace-macro v0.7.14 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/lib.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let args = parse_macro_input!(args as Args); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/lib.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let input = parse_macro_input!(item as ItemFn); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_name` [INFO] [stdout] --> src/lib.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let func_name = input.sig.ident.to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_body` [INFO] [stdout] --> src/lib.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let func_body = if let Some(internal_fun) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_fun` [INFO] [stdout] --> src/lib.rs:131:33 [INFO] [stdout] | [INFO] [stdout] 131 | let func_body = if let Some(internal_fun) = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_fun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `async_expr` [INFO] [stdout] --> src/lib.rs:143:35 [INFO] [stdout] | [INFO] [stdout] 143 | AsyncTraitKind::Async(async_expr) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_async_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instrumented_block` [INFO] [stdout] --> src/lib.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | let instrumented_block = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instrumented_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `async_attrs` [INFO] [stdout] --> src/lib.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | let async_attrs = &async_expr.attrs; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_async_attrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attrs` [INFO] [stdout] --> src/lib.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | attrs, vis, sig, .. [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_attrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vis` [INFO] [stdout] --> src/lib.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 165 | attrs, vis, sig, .. [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/lib.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | attrs, vis, sig, .. [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type` [INFO] [stdout] --> src/lib.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | output: return_type, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/lib.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | inputs: params, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unsafety` [INFO] [stdout] --> src/lib.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | unsafety, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unsafety` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constness` [INFO] [stdout] --> src/lib.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | constness, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `abi` [INFO] [stdout] --> src/lib.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | abi, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_abi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> src/lib.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | ident, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asyncness` [INFO] [stdout] --> src/lib.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | asyncness, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asyncness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gen_params` [INFO] [stdout] --> src/lib.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | params: gen_params, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gen_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `where_clause` [INFO] [stdout] --> src/lib.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | where_clause, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_where_clause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/lib.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let args = parse_macro_input!(args as Args); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/lib.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let input = parse_macro_input!(item as ItemFn); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_name` [INFO] [stdout] --> src/lib.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let func_name = input.sig.ident.to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func_body` [INFO] [stdout] --> src/lib.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let func_body = if let Some(internal_fun) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_fun` [INFO] [stdout] --> src/lib.rs:131:33 [INFO] [stdout] | [INFO] [stdout] 131 | let func_body = if let Some(internal_fun) = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_fun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `async_expr` [INFO] [stdout] --> src/lib.rs:143:35 [INFO] [stdout] | [INFO] [stdout] 143 | AsyncTraitKind::Async(async_expr) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_async_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instrumented_block` [INFO] [stdout] --> src/lib.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | let instrumented_block = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instrumented_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `async_attrs` [INFO] [stdout] --> src/lib.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | let async_attrs = &async_expr.attrs; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_async_attrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attrs` [INFO] [stdout] --> src/lib.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | attrs, vis, sig, .. [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_attrs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vis` [INFO] [stdout] --> src/lib.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 165 | attrs, vis, sig, .. [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/lib.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | attrs, vis, sig, .. [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type` [INFO] [stdout] --> src/lib.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | output: return_type, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/lib.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | inputs: params, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unsafety` [INFO] [stdout] --> src/lib.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | unsafety, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unsafety` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constness` [INFO] [stdout] --> src/lib.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | constness, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `abi` [INFO] [stdout] --> src/lib.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | abi, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_abi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> src/lib.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | ident, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asyncness` [INFO] [stdout] --> src/lib.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | asyncness, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asyncness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gen_params` [INFO] [stdout] --> src/lib.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | params: gen_params, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gen_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `where_clause` [INFO] [stdout] --> src/lib.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | where_clause, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_where_clause` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "37decdc9ad6ed1a9f1bc3972a60862f17954095f4a320f8a5273d7d03f879750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37decdc9ad6ed1a9f1bc3972a60862f17954095f4a320f8a5273d7d03f879750", kill_on_drop: false }` [INFO] [stdout] 37decdc9ad6ed1a9f1bc3972a60862f17954095f4a320f8a5273d7d03f879750 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9e093647700895a27dbb18545eaa02e516100efdf04c76c73920bf9432dad66a [INFO] running `Command { std: "docker" "start" "-a" "9e093647700895a27dbb18545eaa02e516100efdf04c76c73920bf9432dad66a", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/lib.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | let args = parse_macro_input!(args as Args); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/lib.rs:126:9 [INFO] [stderr] | [INFO] [stderr] 126 | let input = parse_macro_input!(item as ItemFn); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `func_name` [INFO] [stderr] --> src/lib.rs:128:9 [INFO] [stderr] | [INFO] [stderr] 128 | let func_name = input.sig.ident.to_string(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `func_body` [INFO] [stderr] --> src/lib.rs:131:9 [INFO] [stderr] | [INFO] [stderr] 131 | let func_body = if let Some(internal_fun) = [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_body` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `internal_fun` [INFO] [stderr] --> src/lib.rs:131:33 [INFO] [stderr] | [INFO] [stderr] 131 | let func_body = if let Some(internal_fun) = [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_fun` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `async_expr` [INFO] [stderr] --> src/lib.rs:143:35 [INFO] [stderr] | [INFO] [stderr] 143 | AsyncTraitKind::Async(async_expr) => { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_async_expr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `instrumented_block` [INFO] [stderr] --> src/lib.rs:146:21 [INFO] [stderr] | [INFO] [stderr] 146 | let instrumented_block = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instrumented_block` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `async_attrs` [INFO] [stderr] --> src/lib.rs:148:21 [INFO] [stderr] | [INFO] [stderr] 148 | let async_attrs = &async_expr.attrs; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_async_attrs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `attrs` [INFO] [stderr] --> src/lib.rs:165:9 [INFO] [stderr] | [INFO] [stderr] 165 | attrs, vis, sig, .. [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_attrs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vis` [INFO] [stderr] --> src/lib.rs:165:16 [INFO] [stderr] | [INFO] [stderr] 165 | attrs, vis, sig, .. [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_vis` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sig` [INFO] [stderr] --> src/lib.rs:165:21 [INFO] [stderr] | [INFO] [stderr] 165 | attrs, vis, sig, .. [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `return_type` [INFO] [stderr] --> src/lib.rs:169:17 [INFO] [stderr] | [INFO] [stderr] 169 | output: return_type, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_type` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> src/lib.rs:170:17 [INFO] [stderr] | [INFO] [stderr] 170 | inputs: params, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `unsafety` [INFO] [stderr] --> src/lib.rs:171:9 [INFO] [stderr] | [INFO] [stderr] 171 | unsafety, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unsafety` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `constness` [INFO] [stderr] --> src/lib.rs:172:9 [INFO] [stderr] | [INFO] [stderr] 172 | constness, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constness` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `abi` [INFO] [stderr] --> src/lib.rs:173:9 [INFO] [stderr] | [INFO] [stderr] 173 | abi, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_abi` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ident` [INFO] [stderr] --> src/lib.rs:174:9 [INFO] [stderr] | [INFO] [stderr] 174 | ident, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `asyncness` [INFO] [stderr] --> src/lib.rs:175:9 [INFO] [stderr] | [INFO] [stderr] 175 | asyncness, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asyncness` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `gen_params` [INFO] [stderr] --> src/lib.rs:178:25 [INFO] [stderr] | [INFO] [stderr] 178 | params: gen_params, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gen_params` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `where_clause` [INFO] [stderr] --> src/lib.rs:179:17 [INFO] [stderr] | [INFO] [stderr] 179 | where_clause, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_where_clause` [INFO] [stderr] [INFO] [stderr] warning: `fastrace-macro` (lib) generated 20 warnings (run `cargo fix --lib -p fastrace-macro` to apply 20 suggestions) [INFO] [stderr] warning: `fastrace-macro` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fastrace_macro-9bbe64f197771747) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests fastrace_macro [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - trace (line 45) ... FAILED [INFO] [stdout] test src/lib.rs - trace (line 71) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - trace (line 45) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastrace` [INFO] [stdout] --> src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use fastrace::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `fastrace` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastrace`, use `cargo add fastrace` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `trace` in this scope [INFO] [stdout] --> src/lib.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 63 | #[trace(properties = { "k1": "v1", "a": "argument `a` is {a:?}" })] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 45 + use fastrace_macro::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `trace` in this scope [INFO] [stdout] --> src/lib.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 58 | #[trace(name = "qux", enter_on_poll = true)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 45 + use fastrace_macro::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `trace` in this scope [INFO] [stdout] --> src/lib.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 53 | #[trace(short_name = true)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 45 + use fastrace_macro::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `trace` in this scope [INFO] [stdout] --> src/lib.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[trace] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 45 + use fastrace_macro::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - trace (line 71) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastrace` [INFO] [stdout] --> src/lib.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | use fastrace::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `fastrace` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastrace`, use `cargo add fastrace` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fastrace` [INFO] [stdout] --> src/lib.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | use fastrace::local::LocalSpan; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `fastrace` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fastrace`, use `cargo add fastrace` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fastrace::local::LocalSpan` [INFO] [stdout] --> src/lib.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | use fastrace::local::LocalSpan; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Span` [INFO] [stdout] --> src/lib.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 80 | let __span__ = Span::enter_with_local_parent("simple_async"); [INFO] [stdout] | ^^^^ use of undeclared type `Span` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 71 + use proc_macro2::Span; [INFO] [stdout] | [INFO] [stdout] 71 + use proc_macro::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Span` [INFO] [stdout] --> src/lib.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | let __span__ = Span::enter_with_local_parent("example::properties").with_properties(|| { [INFO] [stdout] | ^^^^ use of undeclared type `Span` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 71 + use proc_macro2::Span; [INFO] [stdout] | [INFO] [stdout] 71 + use proc_macro::Span; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `in_span` found for `async` block `{async block@src/lib.rs:12:5: 12:10}` in the current scope [INFO] [stdout] --> src/lib.rs:84:6 [INFO] [stdout] | [INFO] [stdout] 81 | / async { [INFO] [stdout] ... | [INFO] [stdout] 84 | | .in_span(__span__) [INFO] [stdout] | | -^^^^^^^ method not found in `{async block@src/lib.rs:12:5: 12:10}` [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `enter_on_poll` found for `async` block `{async block@src/lib.rs:20:5: 20:10}` in the current scope [INFO] [stdout] --> src/lib.rs:92:6 [INFO] [stdout] | [INFO] [stdout] 89 | / async { [INFO] [stdout] ... | [INFO] [stdout] 92 | | .enter_on_poll("qux") [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `{async block@src/lib.rs:20:5: 20:10}` [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `in_span` found for `async` block `{async block@src/lib.rs:37:5: 37:10}` in the current scope [INFO] [stdout] --> src/lib.rs:109:6 [INFO] [stdout] | [INFO] [stdout] 106 | / async { [INFO] [stdout] ... | [INFO] [stdout] 109 | | .in_span(__span__) [INFO] [stdout] | | -^^^^^^^ method not found in `{async block@src/lib.rs:37:5: 37:10}` [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - trace (line 45) [INFO] [stdout] src/lib.rs - trace (line 71) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9e093647700895a27dbb18545eaa02e516100efdf04c76c73920bf9432dad66a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e093647700895a27dbb18545eaa02e516100efdf04c76c73920bf9432dad66a", kill_on_drop: false }` [INFO] [stdout] 9e093647700895a27dbb18545eaa02e516100efdf04c76c73920bf9432dad66a