[INFO] fetching crate fn_type_alias 0.1.0...
[INFO] testing fn_type_alias-0.1.0 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate fn_type_alias 0.1.0 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate fn_type_alias 0.1.0 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate fn_type_alias 0.1.0
[INFO] finished tweaking crates.io crate fn_type_alias 0.1.0
[INFO] tweaked toml for crates.io crate fn_type_alias 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 5 packages to latest compatible versions
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1994d2faa5f155a503b9af30b1995befcd04d48989595e3bb605695ba9df08e8
[INFO] running `Command { std: "docker" "start" "-a" "1994d2faa5f155a503b9af30b1995befcd04d48989595e3bb605695ba9df08e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1994d2faa5f155a503b9af30b1995befcd04d48989595e3bb605695ba9df08e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1994d2faa5f155a503b9af30b1995befcd04d48989595e3bb605695ba9df08e8", kill_on_drop: false }`
[INFO] [stdout] 1994d2faa5f155a503b9af30b1995befcd04d48989595e3bb605695ba9df08e8
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3e0a94dc09bad84b944418e7049e8489e975978f41aaa6139b9d60787fe63699
[INFO] running `Command { std: "docker" "start" "-a" "3e0a94dc09bad84b944418e7049e8489e975978f41aaa6139b9d60787fe63699", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.83
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling fn_type_alias v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.42s
[INFO] running `Command { std: "docker" "inspect" "3e0a94dc09bad84b944418e7049e8489e975978f41aaa6139b9d60787fe63699", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3e0a94dc09bad84b944418e7049e8489e975978f41aaa6139b9d60787fe63699", kill_on_drop: false }`
[INFO] [stdout] 3e0a94dc09bad84b944418e7049e8489e975978f41aaa6139b9d60787fe63699
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 04501db7e7b74561b8545267316688631684a6f95c417eb7e7c314e9abadb0f4
[INFO] running `Command { std: "docker" "start" "-a" "04501db7e7b74561b8545267316688631684a6f95c417eb7e7c314e9abadb0f4", kill_on_drop: false }`
[INFO] [stderr]    Compiling fn_type_alias v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s
[INFO] running `Command { std: "docker" "inspect" "04501db7e7b74561b8545267316688631684a6f95c417eb7e7c314e9abadb0f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "04501db7e7b74561b8545267316688631684a6f95c417eb7e7c314e9abadb0f4", kill_on_drop: false }`
[INFO] [stdout] 04501db7e7b74561b8545267316688631684a6f95c417eb7e7c314e9abadb0f4
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 63db891cea49cd775098dc5ea5ac4826008405cd76a6b4237ff37e0dd303ef0c
[INFO] running `Command { std: "docker" "start" "-a" "63db891cea49cd775098dc5ea5ac4826008405cd76a6b4237ff37e0dd303ef0c", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fn_type_alias-d6d8ae2dd0f48526)
[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 fn_type_alias
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - (line 9) ... FAILED
[INFO] [stdout] test src/lib.rs - type_alias (line 16) ... FAILED
[INFO] [stdout] test src/lib.rs - type_alias (line 35) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] test src/lib.rs - (line 28) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 9) stdout ----
[INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root
[INFO] [stdout]  --> src/lib.rs:11:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate fn_type_alias;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: there are too many leading `super` keywords
[INFO] [stdout]  --> src/lib.rs:14:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(super) fn hello_world() {
[INFO] [stdout]   |     ^^^^^ there are too many leading `super` keywords
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `HelloWorldFn` is defined multiple times
[INFO] [stdout]   --> src/lib.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 7  |   pub(super) fn hello_world() {
[INFO] [stdout]    |   --------------------------- previous definition of the type `HelloWorldFn` here
[INFO] [stdout] ...
[INFO] [stdout] 11 |   #[type_alias(pub(crate), HelloWorldFn)] // The type alias will be pub(crate), but the function will be pub
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 12 | | pub fn hello_world() {
[INFO] [stdout] 13 | |     println!("hello world!");
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^ `HelloWorldFn` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HelloWorldFn` must be defined only once in the type namespace of this block
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `hello_world` is defined multiple times
[INFO] [stdout]   --> src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub(super) fn hello_world() {
[INFO] [stdout]    | --------------------------- previous definition of the value `hello_world` here
[INFO] [stdout] ...
[INFO] [stdout] 12 | pub fn hello_world() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^ `hello_world` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `hello_world` must be defined only once in the value namespace of this block
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0428, E0433, E0468.
[INFO] [stdout] For more information about an error, try `rustc --explain E0428`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - type_alias (line 16) stdout ----
[INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root
[INFO] [stdout]  --> src/lib.rs:18:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate fn_type_alias;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: there are too many leading `super` keywords
[INFO] [stdout]  --> src/lib.rs:21:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(super) fn hello_world() {
[INFO] [stdout]   |     ^^^^^ there are too many leading `super` keywords
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `HelloWorldFn` is defined multiple times
[INFO] [stdout]   --> src/lib.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 7  |   pub(super) fn hello_world() {
[INFO] [stdout]    |   --------------------------- previous definition of the type `HelloWorldFn` here
[INFO] [stdout] ...
[INFO] [stdout] 11 |   #[type_alias(pub(crate), HelloWorldFn)] // The type alias will be pub(crate), but the function will be pub
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 12 | | pub fn hello_world() {
[INFO] [stdout] 13 | |     println!("hello world!");
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^ `HelloWorldFn` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HelloWorldFn` must be defined only once in the type namespace of this block
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `hello_world` is defined multiple times
[INFO] [stdout]   --> src/lib.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub(super) fn hello_world() {
[INFO] [stdout]    | --------------------------- previous definition of the value `hello_world` here
[INFO] [stdout] ...
[INFO] [stdout] 12 | pub fn hello_world() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^ `hello_world` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `hello_world` must be defined only once in the value namespace of this block
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0428, E0433, E0468.
[INFO] [stdout] For more information about an error, try `rustc --explain E0428`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - type_alias (line 35) stdout ----
[INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root
[INFO] [stdout]  --> src/lib.rs:37:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate fn_type_alias;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `fn_abi`
[INFO] [stdout]  --> src/lib.rs:40:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | extern crate fn_abi;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `HelloWorldFn` is defined multiple times
[INFO] [stdout]   --> src/lib.rs:54:1
[INFO] [stdout]    |
[INFO] [stdout] 9  | / #[abi(
[INFO] [stdout] 10 | |     linux32 = "C",
[INFO] [stdout] 11 | |     linux64 = "C",
[INFO] [stdout] 12 | |     win32 = "thiscall",
[INFO] [stdout] ...  |
[INFO] [stdout] 17 | |     println!("hello world!");
[INFO] [stdout] 18 | | }
[INFO] [stdout]    | |_- previous definition of the type `HelloWorldFn` here
[INFO] [stdout] ...
[INFO] [stdout] 21 |   pub type HelloWorldFn = extern "stdcall" fn();
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `HelloWorldFn` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HelloWorldFn` must be defined only once in the type namespace of this block
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `hello_world` is defined multiple times
[INFO] [stdout]   --> src/lib.rs:55:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub extern fn hello_world() {
[INFO] [stdout]    | --------------------------- previous definition of the value `hello_world` here
[INFO] [stdout] ...
[INFO] [stdout] 22 | pub extern "stdcall" fn hello_world() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `hello_world` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `hello_world` must be defined only once in the value namespace of this block
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `abi` in this scope
[INFO] [stdout]  --> src/lib.rs:42:3
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[abi(
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] warning: use of calling convention not supported on this target
[INFO] [stdout]   --> src/lib.rs:55:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub extern "stdcall" fn hello_world() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
[INFO] [stdout]    = note: `#[warn(unsupported_calling_conventions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0428, E0463, E0468.
[INFO] [stdout] For more information about an error, try `rustc --explain E0428`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 28) stdout ----
[INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root
[INFO] [stdout]  --> src/lib.rs:30:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate fn_type_alias;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `fn_abi`
[INFO] [stdout]  --> src/lib.rs:33:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | extern crate fn_abi;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `HelloWorldFn` is defined multiple times
[INFO] [stdout]   --> src/lib.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 9  | / #[abi(
[INFO] [stdout] 10 | |     linux32 = "C",
[INFO] [stdout] 11 | |     linux64 = "C",
[INFO] [stdout] 12 | |     win32 = "thiscall",
[INFO] [stdout] ...  |
[INFO] [stdout] 17 | |     println!("hello world!");
[INFO] [stdout] 18 | | }
[INFO] [stdout]    | |_- previous definition of the type `HelloWorldFn` here
[INFO] [stdout] ...
[INFO] [stdout] 21 |   pub type HelloWorldFn = extern "stdcall" fn();
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `HelloWorldFn` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HelloWorldFn` must be defined only once in the type namespace of this block
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `hello_world` is defined multiple times
[INFO] [stdout]   --> src/lib.rs:48:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub extern fn hello_world() {
[INFO] [stdout]    | --------------------------- previous definition of the value `hello_world` here
[INFO] [stdout] ...
[INFO] [stdout] 22 | pub extern "stdcall" fn hello_world() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `hello_world` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `hello_world` must be defined only once in the value namespace of this block
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `abi` in this scope
[INFO] [stdout]  --> src/lib.rs:35:3
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[abi(
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] warning: use of calling convention not supported on this target
[INFO] [stdout]   --> src/lib.rs:48:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub extern "stdcall" fn hello_world() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
[INFO] [stdout]    = note: `#[warn(unsupported_calling_conventions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0428, E0463, E0468.
[INFO] [stdout] For more information about an error, try `rustc --explain E0428`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 28)
[INFO] [stdout]     src/lib.rs - (line 9)
[INFO] [stdout]     src/lib.rs - type_alias (line 16)
[INFO] [stdout]     src/lib.rs - type_alias (line 35)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "63db891cea49cd775098dc5ea5ac4826008405cd76a6b4237ff37e0dd303ef0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63db891cea49cd775098dc5ea5ac4826008405cd76a6b4237ff37e0dd303ef0c", kill_on_drop: false }`
[INFO] [stdout] 63db891cea49cd775098dc5ea5ac4826008405cd76a6b4237ff37e0dd303ef0c
[INFO] testing fn_type_alias-0.1.0 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate fn_type_alias 0.1.0 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate fn_type_alias 0.1.0 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate fn_type_alias 0.1.0
[INFO] finished tweaking crates.io crate fn_type_alias 0.1.0
[INFO] tweaked toml for crates.io crate fn_type_alias 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 5 packages to latest compatible versions
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 681b7549ed3b4a1748d87519a654eaaa25cbd5c900b3e5077b82046032b4e9b3
[INFO] running `Command { std: "docker" "start" "-a" "681b7549ed3b4a1748d87519a654eaaa25cbd5c900b3e5077b82046032b4e9b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "681b7549ed3b4a1748d87519a654eaaa25cbd5c900b3e5077b82046032b4e9b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "681b7549ed3b4a1748d87519a654eaaa25cbd5c900b3e5077b82046032b4e9b3", kill_on_drop: false }`
[INFO] [stdout] 681b7549ed3b4a1748d87519a654eaaa25cbd5c900b3e5077b82046032b4e9b3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5530c0cac20926ffd2ca72ff28f00e6a0085daf785ff2600e795edecf244b912
[INFO] running `Command { std: "docker" "start" "-a" "5530c0cac20926ffd2ca72ff28f00e6a0085daf785ff2600e795edecf244b912", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.83
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling fn_type_alias v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.19s
[INFO] running `Command { std: "docker" "inspect" "5530c0cac20926ffd2ca72ff28f00e6a0085daf785ff2600e795edecf244b912", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5530c0cac20926ffd2ca72ff28f00e6a0085daf785ff2600e795edecf244b912", kill_on_drop: false }`
[INFO] [stdout] 5530c0cac20926ffd2ca72ff28f00e6a0085daf785ff2600e795edecf244b912
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d9d5badb9fba443b8faab750d6442d73ecd6f26e68c193b67c37c66751060d5f
[INFO] running `Command { std: "docker" "start" "-a" "d9d5badb9fba443b8faab750d6442d73ecd6f26e68c193b67c37c66751060d5f", kill_on_drop: false }`
[INFO] [stderr]    Compiling fn_type_alias v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.71s
[INFO] running `Command { std: "docker" "inspect" "d9d5badb9fba443b8faab750d6442d73ecd6f26e68c193b67c37c66751060d5f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d9d5badb9fba443b8faab750d6442d73ecd6f26e68c193b67c37c66751060d5f", kill_on_drop: false }`
[INFO] [stdout] d9d5badb9fba443b8faab750d6442d73ecd6f26e68c193b67c37c66751060d5f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b0e4852665e010471138fa369a9a6744cbd9fc9fdbc0fd9ca0a2d6e054c02ed3
[INFO] running `Command { std: "docker" "start" "-a" "b0e4852665e010471138fa369a9a6744cbd9fc9fdbc0fd9ca0a2d6e054c02ed3", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fn_type_alias-d6d8ae2dd0f48526)
[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 fn_type_alias
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - type_alias (line 35) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 9) ... FAILED
[INFO] [stdout] test src/lib.rs - type_alias (line 16) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] test src/lib.rs - (line 28) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - type_alias (line 35) stdout ----
[INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root
[INFO] [stdout]  --> src/lib.rs:37:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate fn_type_alias;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `fn_abi`
[INFO] [stdout]  --> src/lib.rs:40:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | extern crate fn_abi;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `HelloWorldFn` is defined multiple times
[INFO] [stdout]   --> src/lib.rs:54:1
[INFO] [stdout]    |
[INFO] [stdout] 9  | / #[abi(
[INFO] [stdout] 10 | |     linux32 = "C",
[INFO] [stdout] 11 | |     linux64 = "C",
[INFO] [stdout] 12 | |     win32 = "thiscall",
[INFO] [stdout] ...  |
[INFO] [stdout] 17 | |     println!("hello world!");
[INFO] [stdout] 18 | | }
[INFO] [stdout]    | |_- previous definition of the type `HelloWorldFn` here
[INFO] [stdout] ...
[INFO] [stdout] 21 |   pub type HelloWorldFn = extern "stdcall" fn();
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `HelloWorldFn` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HelloWorldFn` must be defined only once in the type namespace of this block
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `hello_world` is defined multiple times
[INFO] [stdout]   --> src/lib.rs:55:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub extern fn hello_world() {
[INFO] [stdout]    | --------------------------- previous definition of the value `hello_world` here
[INFO] [stdout] ...
[INFO] [stdout] 22 | pub extern "stdcall" fn hello_world() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `hello_world` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `hello_world` must be defined only once in the value namespace of this block
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `abi` in this scope
[INFO] [stdout]  --> src/lib.rs:42:3
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[abi(
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] warning: use of calling convention not supported on this target
[INFO] [stdout]   --> src/lib.rs:55:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub extern "stdcall" fn hello_world() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
[INFO] [stdout]    = note: `#[warn(unsupported_calling_conventions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0428, E0463, E0468.
[INFO] [stdout] For more information about an error, try `rustc --explain E0428`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 9) stdout ----
[INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root
[INFO] [stdout]  --> src/lib.rs:11:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate fn_type_alias;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: there are too many leading `super` keywords
[INFO] [stdout]  --> src/lib.rs:14:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(super) fn hello_world() {
[INFO] [stdout]   |     ^^^^^ there are too many leading `super` keywords
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `HelloWorldFn` is defined multiple times
[INFO] [stdout]   --> src/lib.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 7  |   pub(super) fn hello_world() {
[INFO] [stdout]    |   --------------------------- previous definition of the type `HelloWorldFn` here
[INFO] [stdout] ...
[INFO] [stdout] 11 |   #[type_alias(pub(crate), HelloWorldFn)] // The type alias will be pub(crate), but the function will be pub
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 12 | | pub fn hello_world() {
[INFO] [stdout] 13 | |     println!("hello world!");
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^ `HelloWorldFn` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HelloWorldFn` must be defined only once in the type namespace of this block
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `hello_world` is defined multiple times
[INFO] [stdout]   --> src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub(super) fn hello_world() {
[INFO] [stdout]    | --------------------------- previous definition of the value `hello_world` here
[INFO] [stdout] ...
[INFO] [stdout] 12 | pub fn hello_world() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^ `hello_world` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `hello_world` must be defined only once in the value namespace of this block
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0428, E0433, E0468.
[INFO] [stdout] For more information about an error, try `rustc --explain E0428`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - type_alias (line 16) stdout ----
[INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root
[INFO] [stdout]  --> src/lib.rs:18:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate fn_type_alias;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: there are too many leading `super` keywords
[INFO] [stdout]  --> src/lib.rs:21:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(super) fn hello_world() {
[INFO] [stdout]   |     ^^^^^ there are too many leading `super` keywords
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `HelloWorldFn` is defined multiple times
[INFO] [stdout]   --> src/lib.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 7  |   pub(super) fn hello_world() {
[INFO] [stdout]    |   --------------------------- previous definition of the type `HelloWorldFn` here
[INFO] [stdout] ...
[INFO] [stdout] 11 |   #[type_alias(pub(crate), HelloWorldFn)] // The type alias will be pub(crate), but the function will be pub
[INFO] [stdout]    |  ______________^
[INFO] [stdout] 12 | | pub fn hello_world() {
[INFO] [stdout] 13 | |     println!("hello world!");
[INFO] [stdout] 14 | | }
[INFO] [stdout]    | |_^ `HelloWorldFn` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HelloWorldFn` must be defined only once in the type namespace of this block
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `hello_world` is defined multiple times
[INFO] [stdout]   --> src/lib.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub(super) fn hello_world() {
[INFO] [stdout]    | --------------------------- previous definition of the value `hello_world` here
[INFO] [stdout] ...
[INFO] [stdout] 12 | pub fn hello_world() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^ `hello_world` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `hello_world` must be defined only once in the value namespace of this block
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0428, E0433, E0468.
[INFO] [stdout] For more information about an error, try `rustc --explain E0428`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 28) stdout ----
[INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root
[INFO] [stdout]  --> src/lib.rs:30:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate fn_type_alias;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `fn_abi`
[INFO] [stdout]  --> src/lib.rs:33:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | extern crate fn_abi;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `HelloWorldFn` is defined multiple times
[INFO] [stdout]   --> src/lib.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 9  | / #[abi(
[INFO] [stdout] 10 | |     linux32 = "C",
[INFO] [stdout] 11 | |     linux64 = "C",
[INFO] [stdout] 12 | |     win32 = "thiscall",
[INFO] [stdout] ...  |
[INFO] [stdout] 17 | |     println!("hello world!");
[INFO] [stdout] 18 | | }
[INFO] [stdout]    | |_- previous definition of the type `HelloWorldFn` here
[INFO] [stdout] ...
[INFO] [stdout] 21 |   pub type HelloWorldFn = extern "stdcall" fn();
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `HelloWorldFn` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HelloWorldFn` must be defined only once in the type namespace of this block
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `hello_world` is defined multiple times
[INFO] [stdout]   --> src/lib.rs:48:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub extern fn hello_world() {
[INFO] [stdout]    | --------------------------- previous definition of the value `hello_world` here
[INFO] [stdout] ...
[INFO] [stdout] 22 | pub extern "stdcall" fn hello_world() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `hello_world` redefined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `hello_world` must be defined only once in the value namespace of this block
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `abi` in this scope
[INFO] [stdout]  --> src/lib.rs:35:3
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[abi(
[INFO] [stdout]   |   ^^^
[INFO] [stdout] 
[INFO] [stdout] warning: use of calling convention not supported on this target
[INFO] [stdout]   --> src/lib.rs:48:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub extern "stdcall" fn hello_world() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
[INFO] [stdout]    = note: `#[warn(unsupported_calling_conventions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0428, E0463, E0468.
[INFO] [stdout] For more information about an error, try `rustc --explain E0428`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 28)
[INFO] [stdout]     src/lib.rs - (line 9)
[INFO] [stdout]     src/lib.rs - type_alias (line 16)
[INFO] [stdout]     src/lib.rs - type_alias (line 35)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b0e4852665e010471138fa369a9a6744cbd9fc9fdbc0fd9ca0a2d6e054c02ed3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b0e4852665e010471138fa369a9a6744cbd9fc9fdbc0fd9ca0a2d6e054c02ed3", kill_on_drop: false }`
[INFO] [stdout] b0e4852665e010471138fa369a9a6744cbd9fc9fdbc0fd9ca0a2d6e054c02ed3
