[INFO] fetching crate substance-framework 0.3.0-alpha... [INFO] testing substance-framework-0.3.0-alpha against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate substance-framework 0.3.0-alpha into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate substance-framework 0.3.0-alpha on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc-print v0.1.23 [INFO] [stderr] Downloaded substance-macro v0.2.0-alpha [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b68bee09ca6edce05843ba70e622efded6de8c55caf2edd73bb0ddfdb97a00cc [INFO] running `Command { std: "docker" "start" "-a" "b68bee09ca6edce05843ba70e622efded6de8c55caf2edd73bb0ddfdb97a00cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b68bee09ca6edce05843ba70e622efded6de8c55caf2edd73bb0ddfdb97a00cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b68bee09ca6edce05843ba70e622efded6de8c55caf2edd73bb0ddfdb97a00cc", kill_on_drop: false }` [INFO] [stdout] b68bee09ca6edce05843ba70e622efded6de8c55caf2edd73bb0ddfdb97a00cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b299be25b0c9f224618b2cc7357db1fd8b559c1782dd83a6f2b7cec682f16188 [INFO] running `Command { std: "docker" "start" "-a" "b299be25b0c9f224618b2cc7357db1fd8b559c1782dd83a6f2b7cec682f16188", kill_on_drop: false }` [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling libc-print v0.1.23 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling substance-macro v0.2.0-alpha [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling 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 `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] 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] [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] [stderr] error: could not compile `substance-framework` (lib) due to 10 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b299be25b0c9f224618b2cc7357db1fd8b559c1782dd83a6f2b7cec682f16188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b299be25b0c9f224618b2cc7357db1fd8b559c1782dd83a6f2b7cec682f16188", kill_on_drop: false }` [INFO] [stdout] b299be25b0c9f224618b2cc7357db1fd8b559c1782dd83a6f2b7cec682f16188