[INFO] fetching crate graphene-sgx 0.3.3... [INFO] testing graphene-sgx-0.3.3 against 1.59.0 for beta-1.60-1 [INFO] extracting crate graphene-sgx 0.3.3 into /workspace/builds/worker-67/source [INFO] validating manifest of crates.io crate graphene-sgx 0.3.3 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate graphene-sgx 0.3.3 [INFO] finished tweaking crates.io crate graphene-sgx 0.3.3 [INFO] tweaked toml for crates.io crate graphene-sgx 0.3.3 written to /workspace/builds/worker-67/source/Cargo.toml [INFO] crate crates.io crate graphene-sgx 0.3.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3e213acfdd85e6a021871f43162cfa1623e8197a5d9f1cb89890a4f809b0cab [INFO] running `Command { std: "docker" "start" "-a" "f3e213acfdd85e6a021871f43162cfa1623e8197a5d9f1cb89890a4f809b0cab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3e213acfdd85e6a021871f43162cfa1623e8197a5d9f1cb89890a4f809b0cab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3e213acfdd85e6a021871f43162cfa1623e8197a5d9f1cb89890a4f809b0cab", kill_on_drop: false }` [INFO] [stdout] f3e213acfdd85e6a021871f43162cfa1623e8197a5d9f1cb89890a4f809b0cab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e0b5ec9f40c8e5165b818d4b5032ec2e65599ea49b934fd72e9bbbfa9b7d1b3 [INFO] running `Command { std: "docker" "start" "-a" "6e0b5ec9f40c8e5165b818d4b5032ec2e65599ea49b934fd72e9bbbfa9b7d1b3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling chrono v0.4.15 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling graphene-sgx v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe { &(*(0 as *const $ty)).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/sgx.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | offset_of!(Self, bytes) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe { &(*(0 as *const $ty)).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/sgx.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | offset_of!(Self, bytes) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.99s [INFO] running `Command { std: "docker" "inspect" "6e0b5ec9f40c8e5165b818d4b5032ec2e65599ea49b934fd72e9bbbfa9b7d1b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e0b5ec9f40c8e5165b818d4b5032ec2e65599ea49b934fd72e9bbbfa9b7d1b3", kill_on_drop: false }` [INFO] [stdout] 6e0b5ec9f40c8e5165b818d4b5032ec2e65599ea49b934fd72e9bbbfa9b7d1b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e3d269b5fb200cc14143efa66759de9091345a08224665e5c88baebe13855bc [INFO] running `Command { std: "docker" "start" "-a" "5e3d269b5fb200cc14143efa66759de9091345a08224665e5c88baebe13855bc", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe { &(*(0 as *const $ty)).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/sgx.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | offset_of!(Self, bytes) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe { &(*(0 as *const $ty)).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/sgx.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | offset_of!(Self, bytes) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling graphene-sgx v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe { &(*(0 as *const $ty)).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/sgx.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | offset_of!(Self, bytes) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe { &(*(0 as *const $ty)).$field as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/sgx.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | offset_of!(Self, bytes) [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.71s [INFO] running `Command { std: "docker" "inspect" "5e3d269b5fb200cc14143efa66759de9091345a08224665e5c88baebe13855bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e3d269b5fb200cc14143efa66759de9091345a08224665e5c88baebe13855bc", kill_on_drop: false }` [INFO] [stdout] 5e3d269b5fb200cc14143efa66759de9091345a08224665e5c88baebe13855bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7ea32c9f7cd83efe5b4bae0bbe4eb497cf7c38b93b24043849d2cd5ea342cef6 [INFO] running `Command { std: "docker" "start" "-a" "7ea32c9f7cd83efe5b4bae0bbe4eb497cf7c38b93b24043849d2cd5ea342cef6", kill_on_drop: false }` [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:50:19 [INFO] [stderr] | [INFO] [stderr] 50 | unsafe { &(*(0 as *const $ty)).$field as *const _ as usize } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/sgx.rs:283:9 [INFO] [stderr] | [INFO] [stderr] 283 | offset_of!(Self, bytes) [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:50:19 [INFO] [stderr] | [INFO] [stderr] 50 | unsafe { &(*(0 as *const $ty)).$field as *const _ as usize } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/sgx.rs:412:9 [INFO] [stderr] | [INFO] [stderr] 412 | offset_of!(Self, bytes) [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `graphene-sgx` (lib) generated 2 warnings [INFO] [stderr] warning: `graphene-sgx` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/graphene_sgx-ed0c05d2cd4d62c8) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test sgx::tests::parse_mr ... ok [INFO] [stdout] test sgx::tests::expand_report ... ok [INFO] [stdout] test sgx::tests::report_size ... ok [INFO] [stdout] test sgx::tests::parse_quote ... ok [INFO] [stdout] test sgx::tests::target_info_size ... ok [INFO] [stdout] test ias::tests::verify_outdated ... ok [INFO] [stdout] test ias::tests::verify_debug ... ok [INFO] [stdout] test ias::tests::verify_age ... ok [INFO] [stdout] test ias::tests::verify_all ... ok [INFO] [stdout] test ias::tests::verify_simple ... ok [INFO] [stdout] test ias::tests::verify_isvsvn ... ok [INFO] [stdout] test ias::tests::verify_mrenclave_list ... ok [INFO] [stdout] test ias::tests::verify_nonce ... ok [INFO] [stdout] test ias::tests::verify_mrsigner_list ... ok [INFO] [stdout] test ias::tests::verify_mrsigner ... ok [INFO] [stdout] test ias::tests::verify_mrenclave ... ok [INFO] [stdout] test ias::tests::verify_isvprodid ... ok [INFO] [stdout] test ias::tests::verify_data ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests graphene-sgx [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/ias.rs - ias::AttestationVerifier (line 328) - compile ... ok [INFO] [stdout] test src/sgx.rs - sgx::SgxQuote::hasher (line 533) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7ea32c9f7cd83efe5b4bae0bbe4eb497cf7c38b93b24043849d2cd5ea342cef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ea32c9f7cd83efe5b4bae0bbe4eb497cf7c38b93b24043849d2cd5ea342cef6", kill_on_drop: false }` [INFO] [stdout] 7ea32c9f7cd83efe5b4bae0bbe4eb497cf7c38b93b24043849d2cd5ea342cef6