[INFO] fetching crate factory_steel_derive 0.1.0... [INFO] checking factory_steel_derive-0.1.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate factory_steel_derive 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate factory_steel_derive 0.1.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate factory_steel_derive 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate factory_steel_derive 0.1.0 [INFO] tweaked toml for crates.io crate factory_steel_derive 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages [INFO] [stderr] Adding proc-macro2 v0.3.8 (latest: v1.0.79) [INFO] [stderr] Adding quote v0.5.2 (latest: v1.0.35) [INFO] [stderr] Adding syn v0.13.11 (latest: v2.0.57) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[test]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other test targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a test target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-5-tc1/source/tests/factory.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a test target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autotests = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v0.3.8 [INFO] [stderr] Downloaded syn v0.13.11 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e48dad31b9437e87fef4b85a3ed38c153d5f91d8ed1c9a14d716e2aca57c6a62 [INFO] running `Command { std: "docker" "start" "-a" "e48dad31b9437e87fef4b85a3ed38c153d5f91d8ed1c9a14d716e2aca57c6a62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e48dad31b9437e87fef4b85a3ed38c153d5f91d8ed1c9a14d716e2aca57c6a62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e48dad31b9437e87fef4b85a3ed38c153d5f91d8ed1c9a14d716e2aca57c6a62", kill_on_drop: false }` [INFO] [stdout] e48dad31b9437e87fef4b85a3ed38c153d5f91d8ed1c9a14d716e2aca57c6a62 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68c306183cd8c386163e79f7f53b4ea98564ac5df7905248fdaa1488073679b4 [INFO] running `Command { std: "docker" "start" "-a" "68c306183cd8c386163e79f7f53b4ea98564ac5df7905248fdaa1488073679b4", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[test]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other test targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a test target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/tests/factory.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a test target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autotests = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Checking proc-macro2 v0.3.8 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking quote v0.5.2 [INFO] [stderr] Checking syn v0.13.11 [INFO] [stderr] Checking factory_steel_derive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `syn` is imported redundantly [INFO] [stdout] --> src/field.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `quote` is imported redundantly [INFO] [stdout] --> src/field.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use quote; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate quote; [INFO] [stdout] | ------------------- the item `quote` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `syn` is imported redundantly [INFO] [stdout] --> src/field.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `quote` is imported redundantly [INFO] [stdout] --> src/field.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use quote; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate quote; [INFO] [stdout] | ------------------- the item `quote` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `syn` is imported redundantly [INFO] [stdout] --> src/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `syn` is imported redundantly [INFO] [stdout] --> src/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `syn` is imported redundantly [INFO] [stdout] --> src/meta.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `syn` is imported redundantly [INFO] [stdout] --> src/lit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `syn` is imported redundantly [INFO] [stdout] --> src/meta.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `syn` is imported redundantly [INFO] [stdout] --> src/lit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/model.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Model { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | pub name: syn::Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/model.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Model { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | pub name: syn::Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `syn` is imported redundantly [INFO] [stdout] --> src/field.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `quote` is imported redundantly [INFO] [stdout] --> src/field.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use quote; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate quote; [INFO] [stdout] | ------------------- the item `quote` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `syn` is imported redundantly [INFO] [stdout] --> src/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `syn` is imported redundantly [INFO] [stdout] --> src/meta.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `syn` is imported redundantly [INFO] [stdout] --> src/lit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syn; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate syn; [INFO] [stdout] | ----------------- the item `syn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/model.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Model { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | pub name: syn::Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `factory_steel` [INFO] [stdout] --> tests/tests.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate factory_steel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facto` in this scope [INFO] [stdout] --> tests/factory.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[facto(default = "John Doe")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facto` in this scope [INFO] [stdout] --> tests/factory.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[facto(default = "23")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facto` in this scope [INFO] [stdout] --> tests/factory.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | #[facto(default = "44")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facto` in this scope [INFO] [stdout] --> tests/factory.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[facto(default = "33")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facto` in this scope [INFO] [stdout] --> tests/factory.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | #[facto(default = "3.3")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facto` in this scope [INFO] [stdout] --> tests/factory.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | #[facto(default = "true")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `facto` in this scope [INFO] [stdout] --> tests/factory.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | #[facto(sub_factory)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create` found for struct `factory::derive_factory_with_only_default::MyModel` in the current scope [INFO] [stdout] --> tests/factory.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 6 | struct MyModel { [INFO] [stdout] | -------------- function or associated item `create` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 12 | let m = MyModel::create(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `MyModel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create` found for struct `factory::derive_factory_with_field_default_option::MyModel` in the current scope [INFO] [stdout] --> tests/factory.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 21 | struct MyModel { [INFO] [stdout] | -------------- function or associated item `create` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 36 | let m = MyModel::create(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `MyModel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create` found for struct `factory::derive_factory_with_sub_factory::MyModel` in the current scope [INFO] [stdout] --> tests/factory.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 53 | struct MyModel { [INFO] [stdout] | -------------- function or associated item `create` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 59 | let m = MyModel::create(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `MyModel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `factory_steel_derive` (test "tests") due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "68c306183cd8c386163e79f7f53b4ea98564ac5df7905248fdaa1488073679b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68c306183cd8c386163e79f7f53b4ea98564ac5df7905248fdaa1488073679b4", kill_on_drop: false }` [INFO] [stdout] 68c306183cd8c386163e79f7f53b4ea98564ac5df7905248fdaa1488073679b4