[INFO] fetching crate hessra-macros 0.1.0... [INFO] testing hessra-macros-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate hessra-macros 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate hessra-macros 0.1.0 [INFO] finished tweaking crates.io crate hessra-macros 0.1.0 [INFO] tweaked toml for crates.io crate hessra-macros 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hessra-macros 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hessra-macros 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3a30bd8e7c808c22450277baaef553aa876a67dafa7f28c5d750a7c80eacda1 [INFO] running `Command { std: "docker" "start" "-a" "a3a30bd8e7c808c22450277baaef553aa876a67dafa7f28c5d750a7c80eacda1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3a30bd8e7c808c22450277baaef553aa876a67dafa7f28c5d750a7c80eacda1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3a30bd8e7c808c22450277baaef553aa876a67dafa7f28c5d750a7c80eacda1", kill_on_drop: false }` [INFO] [stdout] a3a30bd8e7c808c22450277baaef553aa876a67dafa7f28c5d750a7c80eacda1 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6df715f9a890475222bda054cceb267049d1a209698db1bb530adfa7c64c016e [INFO] running `Command { std: "docker" "start" "-a" "6df715f9a890475222bda054cceb267049d1a209698db1bb530adfa7c64c016e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling hessra-macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.31s [INFO] running `Command { std: "docker" "inspect" "6df715f9a890475222bda054cceb267049d1a209698db1bb530adfa7c64c016e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6df715f9a890475222bda054cceb267049d1a209698db1bb530adfa7c64c016e", kill_on_drop: false }` [INFO] [stdout] 6df715f9a890475222bda054cceb267049d1a209698db1bb530adfa7c64c016e [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4c6a4a87fd1507a59935473a537dda5ae3e1d3ac49ec26c74188c5860755cbd [INFO] running `Command { std: "docker" "start" "-a" "f4c6a4a87fd1507a59935473a537dda5ae3e1d3ac49ec26c74188c5860755cbd", kill_on_drop: false }` [INFO] [stderr] Compiling hessra-macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "f4c6a4a87fd1507a59935473a537dda5ae3e1d3ac49ec26c74188c5860755cbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4c6a4a87fd1507a59935473a537dda5ae3e1d3ac49ec26c74188c5860755cbd", kill_on_drop: false }` [INFO] [stdout] f4c6a4a87fd1507a59935473a537dda5ae3e1d3ac49ec26c74188c5860755cbd [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 98d9be6498e0919d4b630a4d0a58611b5f579a33e5d72ec7491bf2776ed340d1 [INFO] running `Command { std: "docker" "start" "-a" "98d9be6498e0919d4b630a4d0a58611b5f579a33e5d72ec7491bf2776ed340d1", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [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] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hessra_macros-245f57989ad6adbc) [INFO] [stderr] Doc-tests hessra_macros [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - authorize (line 268) ... FAILED [INFO] [stdout] test src/lib.rs - request_authorization (line 41) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - authorize (line 268) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `hessra_sdk` in this scope [INFO] [stdout] --> src/lib.rs:285:1 [INFO] [stdout] | [INFO] [stdout] 285 | #[authorize("my-resource")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hessra_sdk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hessra_sdk`, use `cargo add hessra_sdk` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `authorize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HessraConfig` in this scope [INFO] [stdout] --> src/lib.rs:274:59 [INFO] [stdout] | [INFO] [stdout] 274 | async fn protected_function(token: String, client_config: HessraConfig) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `hessra_sdk` in this scope [INFO] [stdout] --> src/lib.rs:279:1 [INFO] [stdout] | [INFO] [stdout] 279 | #[authorize("my-resource")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hessra_sdk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hessra_sdk`, use `cargo add hessra_sdk` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `authorize` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs - request_authorization (line 41) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `hessra_sdk` in this scope [INFO] [stdout] --> src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | #[request_authorization("my-resource")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hessra_sdk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hessra_sdk`, use `cargo add hessra_sdk` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `request_authorization` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HessraConfig` in this scope [INFO] [stdout] --> src/lib.rs:47:44 [INFO] [stdout] | [INFO] [stdout] 47 | async fn protected_function(client_config: HessraConfig) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `hessra_sdk` in this scope [INFO] [stdout] --> src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[request_authorization("my-resource")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hessra_sdk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hessra_sdk`, use `cargo add hessra_sdk` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `request_authorization` (in Nightly builds, run with -Z macro-backtrace for more info) [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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - authorize (line 268) [INFO] [stdout] src/lib.rs - request_authorization (line 41) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "98d9be6498e0919d4b630a4d0a58611b5f579a33e5d72ec7491bf2776ed340d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98d9be6498e0919d4b630a4d0a58611b5f579a33e5d72ec7491bf2776ed340d1", kill_on_drop: false }` [INFO] [stdout] 98d9be6498e0919d4b630a4d0a58611b5f579a33e5d72ec7491bf2776ed340d1