[INFO] fetching crate basm-sdk-community 0.1.0... [INFO] testing basm-sdk-community-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate basm-sdk-community 0.1.0 into /workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate basm-sdk-community 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec695d7409f538da8f2e1e9ee2ddc6b3c3c0051e2f784f8a7f73451cd6509bd7 [INFO] running `Command { std: "docker" "start" "-a" "ec695d7409f538da8f2e1e9ee2ddc6b3c3c0051e2f784f8a7f73451cd6509bd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec695d7409f538da8f2e1e9ee2ddc6b3c3c0051e2f784f8a7f73451cd6509bd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec695d7409f538da8f2e1e9ee2ddc6b3c3c0051e2f784f8a7f73451cd6509bd7", kill_on_drop: false }` [INFO] [stdout] ec695d7409f538da8f2e1e9ee2ddc6b3c3c0051e2f784f8a7f73451cd6509bd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 660605e920ec0bf773afd5c76ca588656def24f262786925df9d07a22b10afc1 [INFO] running `Command { std: "docker" "start" "-a" "660605e920ec0bf773afd5c76ca588656def24f262786925df9d07a22b10afc1", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling fnv v1.0.7 [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 25.75s [INFO] running `Command { std: "docker" "inspect" "660605e920ec0bf773afd5c76ca588656def24f262786925df9d07a22b10afc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "660605e920ec0bf773afd5c76ca588656def24f262786925df9d07a22b10afc1", kill_on_drop: false }` [INFO] [stdout] 660605e920ec0bf773afd5c76ca588656def24f262786925df9d07a22b10afc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ab5588b6c7cb1376732900bab7a6db5c7a3604ff6940961ab8c8b5e8a38103f [INFO] running `Command { std: "docker" "start" "-a" "8ab5588b6c7cb1376732900bab7a6db5c7a3604ff6940961ab8c8b5e8a38103f", 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.53s [INFO] running `Command { std: "docker" "inspect" "8ab5588b6c7cb1376732900bab7a6db5c7a3604ff6940961ab8c8b5e8a38103f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ab5588b6c7cb1376732900bab7a6db5c7a3604ff6940961ab8c8b5e8a38103f", kill_on_drop: false }` [INFO] [stdout] 8ab5588b6c7cb1376732900bab7a6db5c7a3604ff6940961ab8c8b5e8a38103f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5d502bb91e3c6bdb2c7f6878aedced54f7b13bb31306473b303df1b441fc5344 [INFO] running `Command { std: "docker" "start" "-a" "5d502bb91e3c6bdb2c7f6878aedced54f7b13bb31306473b303df1b441fc5344", kill_on_drop: false }` [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/basm_sdk_community-099af0992d711df0) [INFO] [stderr] Doc-tests basm_sdk_community [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/io.rs - io::log (line 37) ... FAILED [INFO] [stdout] test src/io.rs - io::host_log (line 75) ... FAILED [INFO] [stdout] test src/http.rs - http::send_http_request (line 41) ... 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/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/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/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.30s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5d502bb91e3c6bdb2c7f6878aedced54f7b13bb31306473b303df1b441fc5344", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d502bb91e3c6bdb2c7f6878aedced54f7b13bb31306473b303df1b441fc5344", kill_on_drop: false }` [INFO] [stdout] 5d502bb91e3c6bdb2c7f6878aedced54f7b13bb31306473b303df1b441fc5344