[INFO] crate fn_type_alias 0.1.0 is already in cache [INFO] testing fn_type_alias-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate fn_type_alias 0.1.0 into /workspace/builds/worker-17/source [INFO] validating manifest of crates.io crate fn_type_alias 0.1.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-17/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de06c7f15685c30e7826280dbbe9ed35eea930bb7889dd350b3bf4c5f022d294 [INFO] running `Command { std: "docker" "start" "-a" "de06c7f15685c30e7826280dbbe9ed35eea930bb7889dd350b3bf4c5f022d294", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de06c7f15685c30e7826280dbbe9ed35eea930bb7889dd350b3bf4c5f022d294", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de06c7f15685c30e7826280dbbe9ed35eea930bb7889dd350b3bf4c5f022d294", kill_on_drop: false }` [INFO] [stdout] de06c7f15685c30e7826280dbbe9ed35eea930bb7889dd350b3bf4c5f022d294 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 841f4cedfc19d100e477ee06cd376bd33d0047667c434fa56812dea08f1abda6 [INFO] running `Command { std: "docker" "start" "-a" "841f4cedfc19d100e477ee06cd376bd33d0047667c434fa56812dea08f1abda6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling fn_type_alias v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.62s [INFO] running `Command { std: "docker" "inspect" "841f4cedfc19d100e477ee06cd376bd33d0047667c434fa56812dea08f1abda6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "841f4cedfc19d100e477ee06cd376bd33d0047667c434fa56812dea08f1abda6", kill_on_drop: false }` [INFO] [stdout] 841f4cedfc19d100e477ee06cd376bd33d0047667c434fa56812dea08f1abda6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 340a12d7de53786e3a432c26eeb9ebc600f208f08c5cbb71a0f87ce0e894f8ed [INFO] running `Command { std: "docker" "start" "-a" "340a12d7de53786e3a432c26eeb9ebc600f208f08c5cbb71a0f87ce0e894f8ed", 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.67s [INFO] running `Command { std: "docker" "inspect" "340a12d7de53786e3a432c26eeb9ebc600f208f08c5cbb71a0f87ce0e894f8ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "340a12d7de53786e3a432c26eeb9ebc600f208f08c5cbb71a0f87ce0e894f8ed", kill_on_drop: false }` [INFO] [stdout] 340a12d7de53786e3a432c26eeb9ebc600f208f08c5cbb71a0f87ce0e894f8ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eedf22b665fe852ca8f808cf75f90eb05c2cd044de4b2a9457d24f94bb2bab39 [INFO] running `Command { std: "docker" "start" "-a" "eedf22b665fe852ca8f808cf75f90eb05c2cd044de4b2a9457d24f94bb2bab39", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/fn_type_alias-1d60b7c8e9dc4e21) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests fn_type_alias [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] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - type_alias (line 16) ... FAILED [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 - (line 28) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 - 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] ---- 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 - (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] [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" "eedf22b665fe852ca8f808cf75f90eb05c2cd044de4b2a9457d24f94bb2bab39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eedf22b665fe852ca8f808cf75f90eb05c2cd044de4b2a9457d24f94bb2bab39", kill_on_drop: false }` [INFO] [stdout] eedf22b665fe852ca8f808cf75f90eb05c2cd044de4b2a9457d24f94bb2bab39