[INFO] fetching crate smithy-cargo-macros 1.0.1... [INFO] building smithy-cargo-macros-1.0.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate smithy-cargo-macros 1.0.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate smithy-cargo-macros 1.0.1 [INFO] finished tweaking crates.io crate smithy-cargo-macros 1.0.1 [INFO] tweaked toml for crates.io crate smithy-cargo-macros 1.0.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate smithy-cargo-macros 1.0.1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate smithy-cargo-macros 1.0.1 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crabtime v1.1.1 [INFO] [stderr] Downloaded crabtime-internal v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c75af7e1d096c206f607c93c26ce7caf781470d6b6fdac2922279a0232b9855a [INFO] running `Command { std: "docker" "start" "-a" "c75af7e1d096c206f607c93c26ce7caf781470d6b6fdac2922279a0232b9855a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c75af7e1d096c206f607c93c26ce7caf781470d6b6fdac2922279a0232b9855a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c75af7e1d096c206f607c93c26ce7caf781470d6b6fdac2922279a0232b9855a", kill_on_drop: false }` [INFO] [stdout] c75af7e1d096c206f607c93c26ce7caf781470d6b6fdac2922279a0232b9855a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf58e6bf9c6cbfde6ad48b3673a471d9a0ccbb9b4b3dd4796fe21909894ba1a5 [INFO] running `Command { std: "docker" "start" "-a" "bf58e6bf9c6cbfde6ad48b3673a471d9a0ccbb9b4b3dd4796fe21909894ba1a5", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling crabtime-internal v1.1.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stdout] error[E0599]: no method named `source_file` found for struct `proc_macro::Span` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/crabtime-internal-1.1.1/src/lib.rs:379:64 [INFO] [stdout] | [INFO] [stdout] 379 | let mut call_site_path = proc_macro::Span::call_site().source_file().path(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `source` with a similar name [INFO] [stdout] | [INFO] [stdout] 379 - let mut call_site_path = proc_macro::Span::call_site().source_file().path(); [INFO] [stdout] 379 + let mut call_site_path = proc_macro::Span::call_site().source().path(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/crabtime-internal-1.1.1/src/lib.rs:406:48 [INFO] [stdout] | [INFO] [stdout] 406 | Ok(relative_path) => relative_path.to_path_buf(), [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crabtime-internal` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "bf58e6bf9c6cbfde6ad48b3673a471d9a0ccbb9b4b3dd4796fe21909894ba1a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf58e6bf9c6cbfde6ad48b3673a471d9a0ccbb9b4b3dd4796fe21909894ba1a5", kill_on_drop: false }` [INFO] [stdout] bf58e6bf9c6cbfde6ad48b3673a471d9a0ccbb9b4b3dd4796fe21909894ba1a5