[INFO] fetching crate hessra-macros 0.1.0... [INFO] testing hessra-macros-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate hessra-macros 0.1.0 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hessra-macros 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 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] a4406c01c73a65af660827811a91c55c9c24eb55a2a2c371df9f0e9d572721f9 [INFO] running `Command { std: "docker" "start" "-a" "a4406c01c73a65af660827811a91c55c9c24eb55a2a2c371df9f0e9d572721f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4406c01c73a65af660827811a91c55c9c24eb55a2a2c371df9f0e9d572721f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4406c01c73a65af660827811a91c55c9c24eb55a2a2c371df9f0e9d572721f9", kill_on_drop: false }` [INFO] [stdout] a4406c01c73a65af660827811a91c55c9c24eb55a2a2c371df9f0e9d572721f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 679fe6c367ac69a65dd0e988413b46da8f97e8e9b4b9ad06fab478a1816ed3ff [INFO] running `Command { std: "docker" "start" "-a" "679fe6c367ac69a65dd0e988413b46da8f97e8e9b4b9ad06fab478a1816ed3ff", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [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 5.18s [INFO] running `Command { std: "docker" "inspect" "679fe6c367ac69a65dd0e988413b46da8f97e8e9b4b9ad06fab478a1816ed3ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "679fe6c367ac69a65dd0e988413b46da8f97e8e9b4b9ad06fab478a1816ed3ff", kill_on_drop: false }` [INFO] [stdout] 679fe6c367ac69a65dd0e988413b46da8f97e8e9b4b9ad06fab478a1816ed3ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 5e9e4f1eebf387594087d315908088711f4ad4ae65f77e9c4d55dfe370a8bc83 [INFO] running `Command { std: "docker" "start" "-a" "5e9e4f1eebf387594087d315908088711f4ad4ae65f77e9c4d55dfe370a8bc83", 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.78s [INFO] running `Command { std: "docker" "inspect" "5e9e4f1eebf387594087d315908088711f4ad4ae65f77e9c4d55dfe370a8bc83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e9e4f1eebf387594087d315908088711f4ad4ae65f77e9c4d55dfe370a8bc83", kill_on_drop: false }` [INFO] [stdout] 5e9e4f1eebf387594087d315908088711f4ad4ae65f77e9c4d55dfe370a8bc83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 91d22e03f66b6e4842925a45ce6d868cd058c4ca5147c810143c22d4c854242c [INFO] running `Command { std: "docker" "start" "-a" "91d22e03f66b6e4842925a45ce6d868cd058c4ca5147c810143c22d4c854242c", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hessra_macros-1eb4e3cb671bebaf) [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] 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]: failed to resolve: use of unresolved module or unlinked crate `hessra_sdk` [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[E0412]: 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]: failed to resolve: use of unresolved module or unlinked crate `hessra_sdk` [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: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - request_authorization (line 41) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hessra_sdk` [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[E0412]: 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[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | #[request_authorization("my-resource", client_config)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `hessra_sdk` [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[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[request_authorization("my-resource")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [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[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | #[request_authorization("my-resource")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [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 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [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.22s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "91d22e03f66b6e4842925a45ce6d868cd058c4ca5147c810143c22d4c854242c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91d22e03f66b6e4842925a45ce6d868cd058c4ca5147c810143c22d4c854242c", kill_on_drop: false }` [INFO] [stdout] 91d22e03f66b6e4842925a45ce6d868cd058c4ca5147c810143c22d4c854242c