[INFO] fetching crate fn_type_alias 0.1.0... [INFO] testing fn_type_alias-0.1.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate fn_type_alias 0.1.0 into /workspace/builds/worker-61/source [INFO] validating manifest of crates.io crate fn_type_alias 0.1.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-61/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f3a45390ae3ba8fbe43390854d1b8412107485d6b3760e1507d33fa7a682000 [INFO] running `Command { std: "docker" "start" "-a" "4f3a45390ae3ba8fbe43390854d1b8412107485d6b3760e1507d33fa7a682000", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f3a45390ae3ba8fbe43390854d1b8412107485d6b3760e1507d33fa7a682000", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f3a45390ae3ba8fbe43390854d1b8412107485d6b3760e1507d33fa7a682000", kill_on_drop: false }` [INFO] [stdout] 4f3a45390ae3ba8fbe43390854d1b8412107485d6b3760e1507d33fa7a682000 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e27f3242961cf9018399b53a6bc36e20097ed5e1bfff41d92c9d10272e3cb2b4 [INFO] running `Command { std: "docker" "start" "-a" "e27f3242961cf9018399b53a6bc36e20097ed5e1bfff41d92c9d10272e3cb2b4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling fn_type_alias v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.87s [INFO] running `Command { std: "docker" "inspect" "e27f3242961cf9018399b53a6bc36e20097ed5e1bfff41d92c9d10272e3cb2b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e27f3242961cf9018399b53a6bc36e20097ed5e1bfff41d92c9d10272e3cb2b4", kill_on_drop: false }` [INFO] [stdout] e27f3242961cf9018399b53a6bc36e20097ed5e1bfff41d92c9d10272e3cb2b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3650218df3820cc3a78e0ea02a5c2bccf6d0305a52ad567312e7aafd392a70b9 [INFO] running `Command { std: "docker" "start" "-a" "3650218df3820cc3a78e0ea02a5c2bccf6d0305a52ad567312e7aafd392a70b9", kill_on_drop: false }` [INFO] [stderr] Compiling fn_type_alias v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "3650218df3820cc3a78e0ea02a5c2bccf6d0305a52ad567312e7aafd392a70b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3650218df3820cc3a78e0ea02a5c2bccf6d0305a52ad567312e7aafd392a70b9", kill_on_drop: false }` [INFO] [stdout] 3650218df3820cc3a78e0ea02a5c2bccf6d0305a52ad567312e7aafd392a70b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f8ebba53b2fa4d9b01c016b2bf2b674c5d84d2e1702d39769130e96dca05ca9a [INFO] running `Command { std: "docker" "start" "-a" "f8ebba53b2fa4d9b01c016b2bf2b674c5d84d2e1702d39769130e96dca05ca9a", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/fn_type_alias-61c9a1d94a501e21) [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 - (line 28) ... FAILED [INFO] [stdout] test src/lib.rs - type_alias (line 35) ... 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] | |___^ `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] | |___^ `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] 15 | | #[type_alias(HelloWorldFn)] [INFO] [stdout] 16 | | pub extern fn hello_world() { [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] = note: `#[warn(unsupported_calling_conventions)]` on by default [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 [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 - 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] 15 | | #[type_alias(HelloWorldFn)] [INFO] [stdout] 16 | | pub extern fn hello_world() { [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] = note: `#[warn(unsupported_calling_conventions)]` on by default [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 [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.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "f8ebba53b2fa4d9b01c016b2bf2b674c5d84d2e1702d39769130e96dca05ca9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8ebba53b2fa4d9b01c016b2bf2b674c5d84d2e1702d39769130e96dca05ca9a", kill_on_drop: false }` [INFO] [stdout] f8ebba53b2fa4d9b01c016b2bf2b674c5d84d2e1702d39769130e96dca05ca9a