[INFO] fetching crate restep 0.3.0... [INFO] testing restep-0.3.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate restep 0.3.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate restep 0.3.0 [INFO] finished tweaking crates.io crate restep 0.3.0 [INFO] tweaked toml for crates.io crate restep 0.3.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate restep 0.3.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 161 packages to latest compatible versions [INFO] [stderr] Adding darling v0.14.4 (available: v0.21.3) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.110) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zerovec-derive v0.11.2 [INFO] [stderr] Downloaded yoke-derive v0.8.1 [INFO] [stderr] Downloaded stable_deref_trait v1.2.1 [INFO] [stderr] Downloaded writeable v0.6.2 [INFO] [stderr] Downloaded potential_utf v0.1.4 [INFO] [stderr] Downloaded security-framework-sys v2.15.0 [INFO] [stderr] Downloaded yoke v0.8.1 [INFO] [stderr] Downloaded icu_provider v2.1.1 [INFO] [stderr] Downloaded icu_properties v2.1.1 [INFO] [stderr] Downloaded schannel v0.1.28 [INFO] [stderr] Downloaded icu_normalizer v2.1.1 [INFO] [stderr] Downloaded litemap v0.8.1 [INFO] [stderr] Downloaded icu_normalizer_data v2.1.1 [INFO] [stderr] Downloaded h2 v0.3.27 [INFO] [stderr] Downloaded hyper v0.14.32 [INFO] [stderr] Downloaded openssl-sys v0.9.111 [INFO] [stderr] Downloaded icu_properties_data v2.1.1 [INFO] [stderr] Downloaded icu_locale_core v2.1.1 [INFO] [stderr] Downloaded tinystr v0.8.2 [INFO] [stderr] Downloaded zerotrie v0.2.3 [INFO] [stderr] Downloaded openssl v0.10.75 [INFO] [stderr] Downloaded zerovec v0.11.5 [INFO] [stderr] Downloaded icu_collections v2.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84517e6537b241025b20b9994b1d69518cad1b46b3ee426c0e87f20827ab0da8 [INFO] running `Command { std: "docker" "start" "-a" "84517e6537b241025b20b9994b1d69518cad1b46b3ee426c0e87f20827ab0da8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84517e6537b241025b20b9994b1d69518cad1b46b3ee426c0e87f20827ab0da8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84517e6537b241025b20b9994b1d69518cad1b46b3ee426c0e87f20827ab0da8", kill_on_drop: false }` [INFO] [stdout] 84517e6537b241025b20b9994b1d69518cad1b46b3ee426c0e87f20827ab0da8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a00eec5715eafa2581f7c8e08c7f1ad02f709da08f1f35294e735407a6854529 [INFO] running `Command { std: "docker" "start" "-a" "a00eec5715eafa2581f7c8e08c7f1ad02f709da08f1f35294e735407a6854529", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling restep v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.89s [INFO] running `Command { std: "docker" "inspect" "a00eec5715eafa2581f7c8e08c7f1ad02f709da08f1f35294e735407a6854529", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a00eec5715eafa2581f7c8e08c7f1ad02f709da08f1f35294e735407a6854529", kill_on_drop: false }` [INFO] [stdout] a00eec5715eafa2581f7c8e08c7f1ad02f709da08f1f35294e735407a6854529 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54a7a896baa479120556060218b2c49f94b31c160ef095c8b0cde04319fd7ddc [INFO] running `Command { std: "docker" "start" "-a" "54a7a896baa479120556060218b2c49f94b31c160ef095c8b0cde04319fd7ddc", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling restep v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 36.47s [INFO] running `Command { std: "docker" "inspect" "54a7a896baa479120556060218b2c49f94b31c160ef095c8b0cde04319fd7ddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54a7a896baa479120556060218b2c49f94b31c160ef095c8b0cde04319fd7ddc", kill_on_drop: false }` [INFO] [stdout] 54a7a896baa479120556060218b2c49f94b31c160ef095c8b0cde04319fd7ddc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 838bc84a7932cd759337de1966f6248f9a482685988b6a10b52be3d7b0800bc6 [INFO] running `Command { std: "docker" "start" "-a" "838bc84a7932cd759337de1966f6248f9a482685988b6a10b52be3d7b0800bc6", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/restep-4054ab8db8856ca0) [INFO] [stderr] Doc-tests restep [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test endpoint::tests::test_parse_endpoint ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 21) ... FAILED [INFO] [stdout] test src/lib.rs - (line 38) ... FAILED [INFO] [stdout] test src/lib.rs - (line 9) ... FAILED [INFO] [stdout] test src/lib.rs - (line 57) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 21) stdout ---- [INFO] [stdout] error: Unexpected meta-item format `literal` [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | #[endpoint("/customers/{customer_id}", params = "PathParameters")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found attribute macro `endpoint` [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | endpoint(¶ms) [INFO] [stdout] | ^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 38) stdout ---- [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/lib.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | #[endpoint("/customers", name = "_endpoint")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: Error("expected `fn`") [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `path` found for struct `APIClient` in the current scope [INFO] [stdout] --> src/lib.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 42 | struct APIClient; [INFO] [stdout] | ---------------- function or associated item `path` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 52 | assert_eq!(APIClient::path(), "/customers"); [INFO] [stdout] | ^^^^ function or associated item not found in `APIClient` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 9) stdout ---- [INFO] [stdout] error: Unexpected meta-item format `literal` [INFO] [stdout] --> src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #[endpoint("/customers")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found attribute macro `endpoint` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | endpoint() [INFO] [stdout] | ^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 57) stdout ---- [INFO] [stdout] error: Unexpected meta-item format `literal` [INFO] [stdout] --> src/lib.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | #[endpoint("/customer/{customer_id}", params = "PathParameters")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found attribute macro `endpoint` [INFO] [stdout] --> src/lib.rs:78:71 [INFO] [stdout] | [INFO] [stdout] 78 | let url = format!("{}{}", std::env::var("BASE_URL").unwrap(), endpoint(¶ms)); [INFO] [stdout] | ^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 21) [INFO] [stdout] src/lib.rs - (line 38) [INFO] [stdout] src/lib.rs - (line 57) [INFO] [stdout] src/lib.rs - (line 9) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "838bc84a7932cd759337de1966f6248f9a482685988b6a10b52be3d7b0800bc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "838bc84a7932cd759337de1966f6248f9a482685988b6a10b52be3d7b0800bc6", kill_on_drop: false }` [INFO] [stdout] 838bc84a7932cd759337de1966f6248f9a482685988b6a10b52be3d7b0800bc6