[INFO] fetching crate my_file_crate 0.1.1... [INFO] building my_file_crate-0.1.1 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate my_file_crate 0.1.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate my_file_crate 0.1.1 [INFO] finished tweaking crates.io crate my_file_crate 0.1.1 [INFO] tweaked toml for crates.io crate my_file_crate 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate my_file_crate 0.1.1 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate my_file_crate 0.1.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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecfa763b38e356f3a19bc0ff7f449554c3af0722b306a0617ad619d6dc850f29 [INFO] running `Command { std: "docker" "start" "-a" "ecfa763b38e356f3a19bc0ff7f449554c3af0722b306a0617ad619d6dc850f29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecfa763b38e356f3a19bc0ff7f449554c3af0722b306a0617ad619d6dc850f29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecfa763b38e356f3a19bc0ff7f449554c3af0722b306a0617ad619d6dc850f29", kill_on_drop: false }` [INFO] [stdout] ecfa763b38e356f3a19bc0ff7f449554c3af0722b306a0617ad619d6dc850f29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3eee02c6ee77467577d470523ea2b041869d1573f0ce4ad0498048ca68931723 [INFO] running `Command { std: "docker" "start" "-a" "3eee02c6ee77467577d470523ea2b041869d1573f0ce4ad0498048ca68931723", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling my_lib_crate v0.1.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling my_macro_crate v0.1.0 [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/my_macro_crate-0.1.0/src/lib.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | let src_file = span.source_file().path(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `source` with a similar name [INFO] [stdout] | [INFO] [stdout] 9 - let src_file = span.source_file().path(); [INFO] [stdout] 9 + let src_file = span.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/my_macro_crate-0.1.0/src/lib.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | Some(s) => s.to_owned(), [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 `my_macro_crate` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "3eee02c6ee77467577d470523ea2b041869d1573f0ce4ad0498048ca68931723", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3eee02c6ee77467577d470523ea2b041869d1573f0ce4ad0498048ca68931723", kill_on_drop: false }` [INFO] [stdout] 3eee02c6ee77467577d470523ea2b041869d1573f0ce4ad0498048ca68931723