[INFO] fetching crate gh_actions 0.0.3... [INFO] testing gh_actions-0.0.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate gh_actions 0.0.3 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate gh_actions 0.0.3 [INFO] finished tweaking crates.io crate gh_actions 0.0.3 [INFO] tweaked toml for crates.io crate gh_actions 0.0.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gh_actions 0.0.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 186 packages to latest compatible versions [INFO] [stderr] Adding bytes v1.1.0 (available: v1.10.1) [INFO] [stderr] Adding env_logger v0.9.3 (available: v0.11.8) [INFO] [stderr] Adding form_urlencoded v1.0.1 (available: v1.2.2) [INFO] [stderr] Adding percent-encoding v2.1.0 (available: v2.3.2) [INFO] [stderr] Adding unicase v2.6.0 (available: v2.8.1) [INFO] [stderr] Adding url v2.3.0 (available: v2.5.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a122cf4fbfe2c53eabae5779b832ab04815867519d28325671918a6c035c6080 [INFO] running `Command { std: "docker" "start" "-a" "a122cf4fbfe2c53eabae5779b832ab04815867519d28325671918a6c035c6080", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a122cf4fbfe2c53eabae5779b832ab04815867519d28325671918a6c035c6080", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a122cf4fbfe2c53eabae5779b832ab04815867519d28325671918a6c035c6080", kill_on_drop: false }` [INFO] [stdout] a122cf4fbfe2c53eabae5779b832ab04815867519d28325671918a6c035c6080 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 054090269f0adba95dbc3ba28166047469ef1e63027929e2726777c27e09bbd8 [INFO] running `Command { std: "docker" "start" "-a" "054090269f0adba95dbc3ba28166047469ef1e63027929e2726777c27e09bbd8", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling hyperx v1.4.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling url v2.3.0 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling hubcaps v0.6.2 [INFO] [stderr] Compiling gh_actions v0.0.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.35s [INFO] running `Command { std: "docker" "inspect" "054090269f0adba95dbc3ba28166047469ef1e63027929e2726777c27e09bbd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "054090269f0adba95dbc3ba28166047469ef1e63027929e2726777c27e09bbd8", kill_on_drop: false }` [INFO] [stdout] 054090269f0adba95dbc3ba28166047469ef1e63027929e2726777c27e09bbd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3126faddb559b281791e213895aa160d78daf18bbd7f12715893902cfe1d6143 [INFO] running `Command { std: "docker" "start" "-a" "3126faddb559b281791e213895aa160d78daf18bbd7f12715893902cfe1d6143", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling gh_actions v0.0.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "3126faddb559b281791e213895aa160d78daf18bbd7f12715893902cfe1d6143", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3126faddb559b281791e213895aa160d78daf18bbd7f12715893902cfe1d6143", kill_on_drop: false }` [INFO] [stdout] 3126faddb559b281791e213895aa160d78daf18bbd7f12715893902cfe1d6143 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 88a4062bd9c1aa81a693ca60604d9b1ec48d8b095c62e6044cddf82de1ffb458 [INFO] running `Command { std: "docker" "start" "-a" "88a4062bd9c1aa81a693ca60604d9b1ec48d8b095c62e6044cddf82de1ffb458", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gh_actions-c599df1891ceac8f) [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 gh_actions [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/ghaction.rs - ghaction::Path (line 4) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/ghaction.rs - ghaction::Path (line 4) stdout ---- [INFO] [stdout] error: expected `;`, found `println` [INFO] [stdout] --> src/ghaction.rs:9:43 [INFO] [stdout] | [INFO] [stdout] 7 | let action_name = action.name.unwrap() [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 8 | [INFO] [stdout] 9 | println!(action_name) [INFO] [stdout] | ------- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/ghaction.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 9 | println!(action_name) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] ... [INFO] [stdout] 12 | let api_url = action.get("api_url") [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GHAction` [INFO] [stdout] --> src/ghaction.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 3 | let action = GHAction::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `GHAction` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/ghaction.rs - ghaction::Path (line 4) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "88a4062bd9c1aa81a693ca60604d9b1ec48d8b095c62e6044cddf82de1ffb458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88a4062bd9c1aa81a693ca60604d9b1ec48d8b095c62e6044cddf82de1ffb458", kill_on_drop: false }` [INFO] [stdout] 88a4062bd9c1aa81a693ca60604d9b1ec48d8b095c62e6044cddf82de1ffb458