[INFO] fetching crate magic_static 2.0.1... [INFO] testing magic_static-2.0.1 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate magic_static 2.0.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate magic_static 2.0.1 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate magic_static 2.0.1 [INFO] finished tweaking crates.io crate magic_static 2.0.1 [INFO] tweaked toml for crates.io crate magic_static 2.0.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ca1baacfbd9bc5fd11ec32415e3de7ce8da36803dc0c208962cd6693b2ad725 [INFO] running `Command { std: "docker" "start" "-a" "7ca1baacfbd9bc5fd11ec32415e3de7ce8da36803dc0c208962cd6693b2ad725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ca1baacfbd9bc5fd11ec32415e3de7ce8da36803dc0c208962cd6693b2ad725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ca1baacfbd9bc5fd11ec32415e3de7ce8da36803dc0c208962cd6693b2ad725", kill_on_drop: false }` [INFO] [stdout] 7ca1baacfbd9bc5fd11ec32415e3de7ce8da36803dc0c208962cd6693b2ad725 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ee43079a50598463539a891aec2b013f9ba346c37691409a720322cce8a2572 [INFO] running `Command { std: "docker" "start" "-a" "8ee43079a50598463539a891aec2b013f9ba346c37691409a720322cce8a2572", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling magic_static_macro v2.0.1 [INFO] [stderr] Compiling magic_static v2.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.52s [INFO] running `Command { std: "docker" "inspect" "8ee43079a50598463539a891aec2b013f9ba346c37691409a720322cce8a2572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ee43079a50598463539a891aec2b013f9ba346c37691409a720322cce8a2572", kill_on_drop: false }` [INFO] [stdout] 8ee43079a50598463539a891aec2b013f9ba346c37691409a720322cce8a2572 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f17e34f2fd9762e8bf043f56aa5151979cfe4e2c256d1508d018440163ac23c [INFO] running `Command { std: "docker" "start" "-a" "7f17e34f2fd9762e8bf043f56aa5151979cfe4e2c256d1508d018440163ac23c", kill_on_drop: false }` [INFO] [stderr] Compiling magic_static v2.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "7f17e34f2fd9762e8bf043f56aa5151979cfe4e2c256d1508d018440163ac23c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f17e34f2fd9762e8bf043f56aa5151979cfe4e2c256d1508d018440163ac23c", kill_on_drop: false }` [INFO] [stdout] 7f17e34f2fd9762e8bf043f56aa5151979cfe4e2c256d1508d018440163ac23c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b605ce3b8d05313bd15693d98d88ab1702f46801ff2f0df665653dd793df537e [INFO] running `Command { std: "docker" "start" "-a" "b605ce3b8d05313bd15693d98d88ab1702f46801ff2f0df665653dd793df537e", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/magic_static-ae37dbc6dcbcbfd3) [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 magic_static [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - init (line 159) ... FAILED [INFO] [stdout] test src/lib.rs - magic_statics_mod (line 99) ... FAILED [INFO] [stdout] test src/lib.rs - magic_statics (line 27) ... FAILED [INFO] [stdout] test src/lib.rs - (line 29) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - init (line 159) stdout ---- [INFO] [stdout] error: cannot find macro `magic_static` in this scope [INFO] [stdout] --> src/lib.rs:162:2 [INFO] [stdout] | [INFO] [stdout] 4 | magic_static! { [INFO] [stdout] | ^^^^^^^^^^^^ help: a macro with a similar name exists: `magic_statics` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | macro_rules! magic_statics { [INFO] [stdout] | -------------------------- similarly named macro `magic_statics` defined here [INFO] [stdout] | [INFO] [stdout] note: `magic_static` is imported here, but it is an attribute: `#[magic_static]` [INFO] [stdout] --> src/lib.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate r#magic_static; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `magic_static` in this scope [INFO] [stdout] --> src/lib.rs:173:2 [INFO] [stdout] | [INFO] [stdout] 15 | magic_static! { [INFO] [stdout] | ^^^^^^^^^^^^ help: a macro with a similar name exists: `magic_statics` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | macro_rules! magic_statics { [INFO] [stdout] | -------------------------- similarly named macro `magic_statics` defined here [INFO] [stdout] | [INFO] [stdout] note: `magic_static` is imported here, but it is an attribute: `#[magic_static]` [INFO] [stdout] --> src/lib.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate r#magic_static; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAGIC` in this scope [INFO] [stdout] --> src/lib.rs:182:2 [INFO] [stdout] | [INFO] [stdout] 24 | / #[magic_static::main( [INFO] [stdout] 25 | | MAGIC, [INFO] [stdout] 26 | | BAR [INFO] [stdout] 27 | | )] [INFO] [stdout] | |______^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `magic_static::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BAR` in this scope [INFO] [stdout] --> src/lib.rs:182:2 [INFO] [stdout] | [INFO] [stdout] 24 | / #[magic_static::main( [INFO] [stdout] 25 | | MAGIC, [INFO] [stdout] 26 | | BAR [INFO] [stdout] 27 | | )] [INFO] [stdout] | |______^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `magic_static::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BAR` in module `foo` [INFO] [stdout] --> src/lib.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 34 | foo::BAR, [INFO] [stdout] | ^^^ not found in `foo` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAGIC` in module `foo` [INFO] [stdout] --> src/lib.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 35 | foo::MAGIC, [INFO] [stdout] | ^^^^^ not found in `foo` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - magic_statics_mod (line 99) stdout ---- [INFO] [stdout] error: cannot find macro `magic_statics_mod` in this scope [INFO] [stdout] --> src/lib.rs:102:2 [INFO] [stdout] | [INFO] [stdout] 5 | magic_statics_mod! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] magic_static::magic_statics_mod [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `magic_static` in module `self::foo` [INFO] [stdout] --> src/lib.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 24 | / #[magic_static::main( [INFO] [stdout] 25 | | mod foo // This will initialize all magic statics in `foo` [INFO] [stdout] 26 | | )] [INFO] [stdout] | |__^ not found in `self::foo` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `magic_static::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - magic_statics (line 27) stdout ---- [INFO] [stdout] error: cannot find macro `magic_statics` in this scope [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 4 | magic_statics! { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] magic_static::magic_statics [INFO] [stdout] [INFO] [stdout] error: cannot find macro `magic_statics_mod` in this scope [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 17 | magic_statics_mod! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] magic_static::magic_statics_mod [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `magic_static` in this scope [INFO] [stdout] --> src/lib.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[magic_static] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] magic_static::magic_static [INFO] [stdout] magic_static_macro::magic_static [INFO] [stdout] note: `magic_static` is imported here, but it is a crate, not an attribute [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate r#magic_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAGIC` in module `foo` [INFO] [stdout] --> src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 35 | / #[magic_static::main( [INFO] [stdout] 36 | | FOO_BAR, [INFO] [stdout] 37 | | [INFO] [stdout] 38 | | foo::MAGIC, [INFO] [stdout] ... | [INFO] [stdout] 41 | | mod baz // This will initialize all magic statics in the `baz` module [INFO] [stdout] 42 | | )] [INFO] [stdout] | |__^ not found in `foo` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `magic_static::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BAR` in module `foo` [INFO] [stdout] --> src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 35 | / #[magic_static::main( [INFO] [stdout] 36 | | FOO_BAR, [INFO] [stdout] 37 | | [INFO] [stdout] 38 | | foo::MAGIC, [INFO] [stdout] ... | [INFO] [stdout] 41 | | mod baz // This will initialize all magic statics in the `baz` module [INFO] [stdout] 42 | | )] [INFO] [stdout] | |__^ not found in `foo` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `magic_static::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `magic_static` in module `self::baz` [INFO] [stdout] --> src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 35 | / #[magic_static::main( [INFO] [stdout] 36 | | FOO_BAR, [INFO] [stdout] 37 | | [INFO] [stdout] 38 | | foo::MAGIC, [INFO] [stdout] ... | [INFO] [stdout] 41 | | mod baz // This will initialize all magic statics in the `baz` module [INFO] [stdout] 42 | | )] [INFO] [stdout] | |__^ not found in `self::baz` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `magic_static::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `__init` found for struct `JoinHandle` in the current scope [INFO] [stdout] --> src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 35 | / #[magic_static::main( [INFO] [stdout] 36 | | FOO_BAR, [INFO] [stdout] 37 | | [INFO] [stdout] 38 | | foo::MAGIC, [INFO] [stdout] ... | [INFO] [stdout] 41 | | mod baz // This will initialize all magic statics in the `baz` module [INFO] [stdout] 42 | | )] [INFO] [stdout] | |__^ method not found in `JoinHandle<()>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `magic_static::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - init (line 159) [INFO] [stdout] src/lib.rs - magic_statics (line 27) [INFO] [stdout] src/lib.rs - magic_statics_mod (line 99) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "b605ce3b8d05313bd15693d98d88ab1702f46801ff2f0df665653dd793df537e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b605ce3b8d05313bd15693d98d88ab1702f46801ff2f0df665653dd793df537e", kill_on_drop: false }` [INFO] [stdout] b605ce3b8d05313bd15693d98d88ab1702f46801ff2f0df665653dd793df537e