[INFO] fetching crate dx_core 0.3.0... [INFO] fixing dx_core-0.3.0 against try#5fed607fb5806ae20927e7e9193e3793c411ac20+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817 [INFO] extracting crate dx_core 0.3.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate dx_core 0.3.0 [INFO] finished tweaking crates.io crate dx_core 0.3.0 [INFO] tweaked toml for crates.io crate dx_core 0.3.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dx_core 0.3.0 on toolchain 5fed607fb5806ae20927e7e9193e3793c411ac20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "generate-lockfile" "--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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `dx_core` (manifest) generated 1 warning [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-5-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 0055d583b94b22e1e137cf82b8a53daf0e7314fb858fe6c101e6c0bff55b48ff [INFO] running `Command { std: "docker" "start" "0055d583b94b22e1e137cf82b8a53daf0e7314fb858fe6c101e6c0bff55b48ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0055d583b94b22e1e137cf82b8a53daf0e7314fb858fe6c101e6c0bff55b48ff" "/opt/rustwide/cargo-home/bin/cargo" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0055d583b94b22e1e137cf82b8a53daf0e7314fb858fe6c101e6c0bff55b48ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0055d583b94b22e1e137cf82b8a53daf0e7314fb858fe6c101e6c0bff55b48ff" "/opt/rustwide/cargo-home/bin/cargo" "+5fed607fb5806ae20927e7e9193e3793c411ac20" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }` [INFO] [stderr] crater-edition-check: migrating to next edition [INFO] [stderr] Migrating Cargo.toml from 2015 edition to 2018 [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `dx_core` (manifest) generated 1 warning [INFO] [stderr] Checking dx_core v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Migrating src/lib.rs from 2015 edition to 2018 [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> src/com_ref.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use unknown::IUnknown; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::unknown::IUnknown` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `--force-warn absolute-paths-not-starting-with-crate` implied by `--force-warn rust-2018-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> src/unknown.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use iid::HasIID; [INFO] [stdout] | ^^^^^^^^^^^ help: use `crate`: `crate::iid::HasIID` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> src/unknown.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use com_ref::ComRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `crate`: `crate::com_ref::ComRef` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> src/unknown.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use com_object::ComObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::com_object::ComObject` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> src/unknown.rs:25:65 [INFO] [stdout] | [INFO] [stdout] 25 | query_interface: extern "stdcall" fn(*const Unknown, *const ::iid::IID, *mut *const Unknown) -> i32, [INFO] [stdout] | ^^^^^^^^^^ help: use `crate`: `crate::iid::IID` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> src/unknown.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | fn query_interface(&self) -> ::com::HResult> where T: IUnknown + HasIID; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::com::HResult>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> src/unknown.rs:50:37 [INFO] [stdout] | [INFO] [stdout] 50 | fn query_interface(&self) -> ::com::HResult> where T: IUnknown + HasIID { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::com::HResult>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: "stdcall" is not a supported ABI for the current target [INFO] [stdout] --> src/unknown.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | query_interface: extern "stdcall" fn(*const Unknown, *const ::iid::IID, *mut *const Unknown) -> i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: "stdcall" is not a supported ABI for the current target [INFO] [stdout] --> src/unknown.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | add_ref: extern "stdcall" fn(*const Unknown) -> u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: "stdcall" is not a supported ABI for the current target [INFO] [stdout] --> src/unknown.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | release: extern "stdcall" fn(*const Unknown) -> u32 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0570`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dx_core` (lib test) due to 3 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dx_core` (lib) due to 3 previous errors; 7 warnings emitted [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> src/com_ref.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use unknown::IUnknown; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::unknown::IUnknown` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `--force-warn absolute-paths-not-starting-with-crate` implied by `--force-warn rust-2018-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> src/unknown.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use iid::HasIID; [INFO] [stdout] | ^^^^^^^^^^^ help: use `crate`: `crate::iid::HasIID` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> src/unknown.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use com_ref::ComRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `crate`: `crate::com_ref::ComRef` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> src/unknown.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use com_object::ComObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::com_object::ComObject` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> src/unknown.rs:25:65 [INFO] [stdout] | [INFO] [stdout] 25 | query_interface: extern "stdcall" fn(*const Unknown, *const ::iid::IID, *mut *const Unknown) -> i32, [INFO] [stdout] | ^^^^^^^^^^ help: use `crate`: `crate::iid::IID` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> src/unknown.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | fn query_interface(&self) -> ::com::HResult> where T: IUnknown + HasIID; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::com::HResult>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> src/unknown.rs:50:37 [INFO] [stdout] | [INFO] [stdout] 50 | fn query_interface(&self) -> ::com::HResult> where T: IUnknown + HasIID { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::com::HResult>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: "stdcall" is not a supported ABI for the current target [INFO] [stdout] --> src/unknown.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | query_interface: extern "stdcall" fn(*const Unknown, *const ::iid::IID, *mut *const Unknown) -> i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: "stdcall" is not a supported ABI for the current target [INFO] [stdout] --> src/unknown.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | add_ref: extern "stdcall" fn(*const Unknown) -> u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: "stdcall" is not a supported ABI for the current target [INFO] [stdout] --> src/unknown.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | release: extern "stdcall" fn(*const Unknown) -> u32 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0570`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0055d583b94b22e1e137cf82b8a53daf0e7314fb858fe6c101e6c0bff55b48ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0055d583b94b22e1e137cf82b8a53daf0e7314fb858fe6c101e6c0bff55b48ff", kill_on_drop: false }` [INFO] [stdout] 0055d583b94b22e1e137cf82b8a53daf0e7314fb858fe6c101e6c0bff55b48ff