[INFO] fetching crate substance-framework 0.3.0-alpha... [INFO] checking substance-framework-0.3.0-alpha against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate substance-framework 0.3.0-alpha into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate substance-framework 0.3.0-alpha [INFO] finished tweaking crates.io crate substance-framework 0.3.0-alpha [INFO] tweaked toml for crates.io crate substance-framework 0.3.0-alpha written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate substance-framework 0.3.0-alpha on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding lazy_static v1.4.0 (available: v1.5.0) [INFO] [stderr] Adding spin v0.9.8 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e07c9d00285902b0b0426f6c9ca578590d587f91eb0c972336e8066f1574d00c [INFO] running `Command { std: "docker" "start" "-a" "e07c9d00285902b0b0426f6c9ca578590d587f91eb0c972336e8066f1574d00c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e07c9d00285902b0b0426f6c9ca578590d587f91eb0c972336e8066f1574d00c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e07c9d00285902b0b0426f6c9ca578590d587f91eb0c972336e8066f1574d00c", kill_on_drop: false }` [INFO] [stdout] e07c9d00285902b0b0426f6c9ca578590d587f91eb0c972336e8066f1574d00c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 341e9cf72faf1634763fb0923c5b61a48062e49885f1ddc0d5026a7adfcb76bf [INFO] running `Command { std: "docker" "start" "-a" "341e9cf72faf1634763fb0923c5b61a48062e49885f1ddc0d5026a7adfcb76bf", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking libc-print v0.1.23 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling substance-macro v0.2.0-alpha [INFO] [stderr] Checking substance-framework v0.3.0-alpha (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `panic_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | #![feature(panic_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `panic_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | #![feature(panic_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `panic_info_message` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | #![feature(panic_info_message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `panic_info_message` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | #![feature(panic_info_message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[no_mangle]` cannot be used on internal language items [INFO] [stdout] --> src/panic.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 37 | pub fn cx_panic(info: &PanicInfo) -> ! { [INFO] [stdout] | -------------------------------------- should be the internal language item [INFO] [stdout] | [INFO] [stdout] = note: Rustc requires this item to have a specific mangled name. [INFO] [stdout] = note: If you are trying to prevent mangling to ease debugging, many [INFO] [stdout] = note: debuggers support a command such as `rbreak rust_begin_unwind` to [INFO] [stdout] = note: match `.*rust_begin_unwind.*` instead of `break rust_begin_unwind` on a specific name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[no_mangle]` cannot be used on internal language items [INFO] [stdout] --> src/panic.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 117 | pub fn rust_eh_personality() -> ! { [INFO] [stdout] | --------------------------------- should be the internal language item [INFO] [stdout] | [INFO] [stdout] = note: Rustc requires this item to have a specific mangled name. [INFO] [stdout] = note: If you are trying to prevent mangling to ease debugging, many [INFO] [stdout] = note: debuggers support a command such as `rbreak rust_eh_personality` to [INFO] [stdout] = note: match `.*rust_eh_personality.*` instead of `break rust_eh_personality` on a specific name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/panic.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 68 | reason: match message { [INFO] [stdout] | ------- this expression has type `PanicMessage<'_>` [INFO] [stdout] 69 | Some(msg) => msg.as_str(), [INFO] [stdout] | ^^^^^^^^^ expected `PanicMessage<'_>`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `PanicMessage<'_>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/panic.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 68 | reason: match message { [INFO] [stdout] | ------- this expression has type `PanicMessage<'_>` [INFO] [stdout] 69 | Some(msg) => msg.as_str(), [INFO] [stdout] 70 | None => None, [INFO] [stdout] | ^^^^ expected `PanicMessage<'_>`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `PanicMessage<'_>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_some` found for struct `PanicMessage<'a>` in the current scope [INFO] [stdout] --> src/panic.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | if message.is_some() && location.is_some() { [INFO] [stdout] | ^^^^^^^ method not found in `PanicMessage<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `PanicMessage<'a>` in the current scope [INFO] [stdout] --> src/panic.rs:95:37 [INFO] [stdout] | [INFO] [stdout] 95 | libc_println!("{}", message.unwrap()); [INFO] [stdout] | ^^^^^^ method not found in `PanicMessage<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_some` found for struct `PanicMessage<'a>` in the current scope [INFO] [stdout] --> src/panic.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | } else if message.is_some() { [INFO] [stdout] | ^^^^^^^ method not found in `PanicMessage<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `PanicMessage<'a>` in the current scope [INFO] [stdout] --> src/panic.rs:97:64 [INFO] [stdout] | [INFO] [stdout] 97 | libc_println!("[PANIC] {} (unknown location)", message.unwrap()); [INFO] [stdout] | ^^^^^^ method not found in `PanicMessage<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `has_aborted` is never read [INFO] [stdout] --> src/lib.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct Conclusion { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 144 | has_aborted: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Combined` is never constructed [INFO] [stdout] --> src/output/combined.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Combined { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pretty` is never constructed [INFO] [stdout] --> src/output/pretty.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Pretty { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Report` is never constructed [INFO] [stdout] --> src/output/report.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Report { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `internal_constructor` found for struct `PanicInfo<'a>` in the current scope [INFO] [stdout] --> src/lib.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | panic::cx_panic(&PanicInfo::internal_constructor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `PanicInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `internal_constructor` found for struct `Location<'a>` in the current scope [INFO] [stdout] --> src/lib.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | &Location::internal_constructor(file, line, column), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Location<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `substance-framework` (lib) due to 10 previous errors; 4 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "341e9cf72faf1634763fb0923c5b61a48062e49885f1ddc0d5026a7adfcb76bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "341e9cf72faf1634763fb0923c5b61a48062e49885f1ddc0d5026a7adfcb76bf", kill_on_drop: false }` [INFO] [stdout] 341e9cf72faf1634763fb0923c5b61a48062e49885f1ddc0d5026a7adfcb76bf