[INFO] cloning repository https://github.com/anderejd/extern_attrib [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anderejd/extern_attrib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanderejd%2Fextern_attrib", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanderejd%2Fextern_attrib'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a70c0caf5ddb993cde6e65d89b125f168e1d5dcc [INFO] checking anderejd/extern_attrib/a70c0caf5ddb993cde6e65d89b125f168e1d5dcc against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanderejd%2Fextern_attrib" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anderejd/extern_attrib on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anderejd/extern_attrib [INFO] finished tweaking git repo https://github.com/anderejd/extern_attrib [INFO] tweaked toml for git repo https://github.com/anderejd/extern_attrib written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/anderejd/extern_attrib 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Updating extern_attrib v0.1.0 (/workspace/builds/worker-0-tc1/source) -> v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 824fbce333a098d6bb8046dd903d87bd924ee0c9cd41651c1e216de3b8db22d4 [INFO] running `Command { std: "docker" "start" "-a" "824fbce333a098d6bb8046dd903d87bd924ee0c9cd41651c1e216de3b8db22d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "824fbce333a098d6bb8046dd903d87bd924ee0c9cd41651c1e216de3b8db22d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "824fbce333a098d6bb8046dd903d87bd924ee0c9cd41651c1e216de3b8db22d4", kill_on_drop: false }` [INFO] [stdout] 824fbce333a098d6bb8046dd903d87bd924ee0c9cd41651c1e216de3b8db22d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 594c66340b08e0a19f39c98b547a9b255df5d8e249380cda7e76d434871de743 [INFO] running `Command { std: "docker" "start" "-a" "594c66340b08e0a19f39c98b547a9b255df5d8e249380cda7e76d434871de743", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking unicode-xid v0.0.4 [INFO] [stderr] Checking quote v0.3.15 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking extern_attrib v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | { //! This scope drops abi_opt after mutation. [INFO] [stdout] | _____- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | | let abi_opt = match item.node { [INFO] [stdout] 37 | | ItemKind::Fn(_, _, _, ref mut opt, _, _) => opt, [INFO] [stdout] 38 | | _ => return input [INFO] [stdout] 39 | | }; [INFO] [stdout] 40 | | modify_abi(abi_opt); [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | { //! This scope drops abi_opt after mutation. [INFO] [stdout] | _____- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | | let abi_opt = match item.node { [INFO] [stdout] 37 | | ItemKind::Fn(_, _, _, ref mut opt, _, _) => opt, [INFO] [stdout] 38 | | _ => return input [INFO] [stdout] 39 | | }; [INFO] [stdout] 40 | | modify_abi(abi_opt); [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | { //! This scope drops abi_opt after mutation. [INFO] [stdout] | _____- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | | let abi_opt = match item.node { [INFO] [stdout] 37 | | ItemKind::Fn(_, _, _, ref mut opt, _, _) => opt, [INFO] [stdout] 38 | | _ => return input [INFO] [stdout] 39 | | }; [INFO] [stdout] 40 | | modify_abi(abi_opt); [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `extra_attrib_to_make_things_harder` [INFO] [stdout] --> tests/tests.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(not(extra_attrib_to_make_things_harder = "for the procedural macro"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(extra_attrib_to_make_things_harder, values("for the procedural macro"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(extra_attrib_to_make_things_harder, values(\"for the procedural macro\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/tests.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | /// This should cause build failure if extern_auto is incorrect. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | #[cfg(not(target_os = "windows"))] [INFO] [stdout] 26 | let f: extern "C" fn(i: i32) -> i32 = modified_by_attrib; [INFO] [stdout] | --------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/tests.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.67s [INFO] running `Command { std: "docker" "inspect" "594c66340b08e0a19f39c98b547a9b255df5d8e249380cda7e76d434871de743", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "594c66340b08e0a19f39c98b547a9b255df5d8e249380cda7e76d434871de743", kill_on_drop: false }` [INFO] [stdout] 594c66340b08e0a19f39c98b547a9b255df5d8e249380cda7e76d434871de743