[INFO] fetching crate basm-sdk-community 0.1.0... [INFO] testing basm-sdk-community-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate basm-sdk-community 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate basm-sdk-community 0.1.0 [INFO] finished tweaking crates.io crate basm-sdk-community 0.1.0 [INFO] tweaked toml for crates.io crate basm-sdk-community 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate basm-sdk-community 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate basm-sdk-community 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded darling_macro v0.21.1 [INFO] [stderr] Downloaded darling v0.21.1 [INFO] [stderr] Downloaded darling_core v0.21.1 [INFO] [stderr] Downloaded basm-sdk-community-macros v0.1.0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8109a08ff72634b1099f38dbc9d909f416f49f0f2d098296a741b3770226a249 [INFO] running `Command { std: "docker" "start" "-a" "8109a08ff72634b1099f38dbc9d909f416f49f0f2d098296a741b3770226a249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8109a08ff72634b1099f38dbc9d909f416f49f0f2d098296a741b3770226a249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8109a08ff72634b1099f38dbc9d909f416f49f0f2d098296a741b3770226a249", kill_on_drop: false }` [INFO] [stdout] 8109a08ff72634b1099f38dbc9d909f416f49f0f2d098296a741b3770226a249 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f71e29def7836a051a89f73a8ce92b3901b3caa54a2b4ffd7ad1eebae0cdc48 [INFO] running `Command { std: "docker" "start" "-a" "7f71e29def7836a051a89f73a8ce92b3901b3caa54a2b4ffd7ad1eebae0cdc48", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling darling_core v0.21.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling darling_macro v0.21.1 [INFO] [stderr] Compiling darling v0.21.1 [INFO] [stderr] Compiling basm-sdk-community-macros v0.1.0 [INFO] [stderr] Compiling basm-sdk-community v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.25s [INFO] running `Command { std: "docker" "inspect" "7f71e29def7836a051a89f73a8ce92b3901b3caa54a2b4ffd7ad1eebae0cdc48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f71e29def7836a051a89f73a8ce92b3901b3caa54a2b4ffd7ad1eebae0cdc48", kill_on_drop: false }` [INFO] [stdout] 7f71e29def7836a051a89f73a8ce92b3901b3caa54a2b4ffd7ad1eebae0cdc48 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e319e56cb51bef3cada05d6f75f6cef99fc928e1b2dd9c5de96499e42a5d451d [INFO] running `Command { std: "docker" "start" "-a" "e319e56cb51bef3cada05d6f75f6cef99fc928e1b2dd9c5de96499e42a5d451d", kill_on_drop: false }` [INFO] [stderr] Compiling basm-sdk-community v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "e319e56cb51bef3cada05d6f75f6cef99fc928e1b2dd9c5de96499e42a5d451d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e319e56cb51bef3cada05d6f75f6cef99fc928e1b2dd9c5de96499e42a5d451d", kill_on_drop: false }` [INFO] [stdout] e319e56cb51bef3cada05d6f75f6cef99fc928e1b2dd9c5de96499e42a5d451d [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5773eb1d57f265ffa59283e44ecdc4a90e5b1bae7dd19f771e59b091f39d7986 [INFO] running `Command { std: "docker" "start" "-a" "5773eb1d57f265ffa59283e44ecdc4a90e5b1bae7dd19f771e59b091f39d7986", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/basm_sdk_community-099af0992d711df0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests basm_sdk_community [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/io.rs - io::log (line 37) ... FAILED [INFO] [stdout] test src/http.rs - http::send_http_request (line 41) ... FAILED [INFO] [stdout] test src/io.rs - io::host_log (line 75) ... FAILED [INFO] [stdout] test src/attestation.rs - attestation::verify_attestation (line 36) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/io.rs - io::log (line 37) stdout ---- [INFO] [stdout] error: cannot find macro `log` in this scope [INFO] [stdout] --> src/io.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | log!("Formatted Log Output, {}", 32); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 37 + use basm_sdk_community::log; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http.rs - http::send_http_request (line 41) stdout ---- [INFO] [stdout] error: cannot find macro `log` in this scope [INFO] [stdout] --> src/http.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | log!("HTTP Request Result: {:?}", result); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 41 + use basm_sdk_community::log; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `send_http_request` in this scope [INFO] [stdout] --> src/http.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | let result = send_http_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 41 + use basm_sdk_community::http::send_http_request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BTreeMap` [INFO] [stdout] --> src/http.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | &BTreeMap::from([ [INFO] [stdout] | ^^^^^^^^ use of undeclared type `BTreeMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 41 + use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/io.rs - io::host_log (line 75) stdout ---- [INFO] [stdout] error: cannot find macro `host_log` in this scope [INFO] [stdout] --> src/io.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | host_log!("Formatted Log Output, {}", 32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 75 + use basm_sdk_community::host_log; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/attestation.rs - attestation::verify_attestation (line 36) stdout ---- [INFO] [stdout] error: cannot find macro `log` in this scope [INFO] [stdout] --> src/attestation.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | log!("Attestation Result {:?}", attestation_result); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 36 + use basm_sdk_community::log; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `verify_attestation` in this scope [INFO] [stdout] --> src/attestation.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | let attestation_result = verify_attestation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 36 + use basm_sdk_community::attestation::verify_attestation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ENCLAVE_ATTESTED_PUBKEY` in this scope [INFO] [stdout] --> src/attestation.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | ENCLAVE_ATTESTED_PUBKEY.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRANSITIVE_CLAIMS` in this scope [INFO] [stdout] --> src/attestation.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | TRANSITIVE_CLAIMS.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EnclaveMeasurement` in this scope [INFO] [stdout] --> src/attestation.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | EnclaveMeasurement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 36 + use basm_sdk_community::attestation::EnclaveMeasurement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/attestation.rs - attestation::verify_attestation (line 36) [INFO] [stdout] src/http.rs - http::send_http_request (line 41) [INFO] [stdout] src/io.rs - io::host_log (line 75) [INFO] [stdout] src/io.rs - io::log (line 37) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5773eb1d57f265ffa59283e44ecdc4a90e5b1bae7dd19f771e59b091f39d7986", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5773eb1d57f265ffa59283e44ecdc4a90e5b1bae7dd19f771e59b091f39d7986", kill_on_drop: false }` [INFO] [stdout] 5773eb1d57f265ffa59283e44ecdc4a90e5b1bae7dd19f771e59b091f39d7986