[INFO] cloning repository https://github.com/dpsi9/custom-macros [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dpsi9/custom-macros" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpsi9%2Fcustom-macros", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpsi9%2Fcustom-macros'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2bb692467b0178fe5058094151831de22e2e39a6 [INFO] testing dpsi9/custom-macros against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpsi9%2Fcustom-macros" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dpsi9/custom-macros [INFO] finished tweaking git repo https://github.com/dpsi9/custom-macros [INFO] tweaked toml for git repo https://github.com/dpsi9/custom-macros written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dpsi9/custom-macros on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dpsi9/custom-macros 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f257802b2af7aac06e67494f512169c9e7458a24578ba87934d8dacc075d18c [INFO] running `Command { std: "docker" "start" "-a" "5f257802b2af7aac06e67494f512169c9e7458a24578ba87934d8dacc075d18c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f257802b2af7aac06e67494f512169c9e7458a24578ba87934d8dacc075d18c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f257802b2af7aac06e67494f512169c9e7458a24578ba87934d8dacc075d18c", kill_on_drop: false }` [INFO] [stdout] 5f257802b2af7aac06e67494f512169c9e7458a24578ba87934d8dacc075d18c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] a12f071c0bc3ae48dd241781903882d568b57d84e6cc7893eb427d65ecdf1617 [INFO] running `Command { std: "docker" "start" "-a" "a12f071c0bc3ae48dd241781903882d568b57d84e6cc7893eb427d65ecdf1617", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling macro_traits v0.1.0 (/opt/rustwide/workdir/macro_traits) [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling define_macros v0.1.0 (/opt/rustwide/workdir/define_macros) [INFO] [stderr] Compiling app v0.1.0 (/opt/rustwide/workdir/app) [INFO] [stdout] error[E0432]: unresolved imports `define_macros::SumFieldsSkip`, `define_macros::MathOps` [INFO] [stdout] --> app/src/main.rs:1:80 [INFO] [stdout] | [INFO] [stdout] 1 | use define_macros::{DeserializeNumberStruct, SerializeNumberStruct, SumFields, SumFieldsSkip, MathOps}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ no `MathOps` in the root [INFO] [stdout] | | [INFO] [stdout] | no `SumFieldsSkip` in the root [INFO] [stdout] | help: a similar name exists in the module: `SumFields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `macro_traits::SumFieldsAndSkipSomeFields`, `macro_traits::MathOps` [INFO] [stdout] --> app/src/main.rs:2:55 [INFO] [stdout] | [INFO] [stdout] 2 | use macro_traits::{AddFields, Deserialize, Serialize, SumFieldsAndSkipSomeFields, MathOps}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ no `MathOps` in the root [INFO] [stdout] | | [INFO] [stdout] | no `SumFieldsAndSkipSomeFields` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `skip_sum` in this scope [INFO] [stdout] --> app/src/main.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[skip_sum] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_fields` found for struct `Stats` in the current scope [INFO] [stdout] --> app/src/main.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 13 | struct Stats { [INFO] [stdout] | ------------ method `add_fields` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 61 | let stats_sum = stats.add_fields(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Stats` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `add_fields`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AddFields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Numbers` is not an iterator [INFO] [stdout] --> app/src/main.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 21 | struct Numbers { [INFO] [stdout] | -------------- method `sum` not found for this struct because it doesn't satisfy `Numbers: Iterator` [INFO] [stdout] ... [INFO] [stdout] 73 | println!("Sum: {}", numbers.sum()); [INFO] [stdout] | ^^^ `Numbers` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Numbers: Iterator` [INFO] [stdout] which is required by `&mut Numbers: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/iter/traits/iterator.rs:40:0 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `sum`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `Sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Numbers` is not an iterator [INFO] [stdout] --> app/src/main.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 21 | struct Numbers { [INFO] [stdout] | -------------- method `product` not found for this struct because it doesn't satisfy `Numbers: Iterator` [INFO] [stdout] ... [INFO] [stdout] 74 | println!("Product: {}", numbers.product()); [INFO] [stdout] | ^^^^^^^ `Numbers` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Numbers: Iterator` [INFO] [stdout] which is required by `&mut Numbers: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/iter/traits/iterator.rs:40:0 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `product`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `Product` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `average` found for struct `Numbers` in the current scope [INFO] [stdout] --> app/src/main.rs:75:40 [INFO] [stdout] | [INFO] [stdout] 21 | struct Numbers { [INFO] [stdout] | -------------- method `average` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 75 | println!("Average: {:.2}", numbers.average()); [INFO] [stdout] | ^^^^^^^ method not found in `Numbers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `app` (bin "app") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "a12f071c0bc3ae48dd241781903882d568b57d84e6cc7893eb427d65ecdf1617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a12f071c0bc3ae48dd241781903882d568b57d84e6cc7893eb427d65ecdf1617", kill_on_drop: false }` [INFO] [stdout] a12f071c0bc3ae48dd241781903882d568b57d84e6cc7893eb427d65ecdf1617