[INFO] fetching crate factory_steel_derive 0.1.0... [INFO] checking factory_steel_derive-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [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 f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] [stderr] Adding proc-macro2 v0.3.8 (available: v1.0.86) [INFO] [stderr] Adding quote v0.5.2 (available: v1.0.37) [INFO] [stderr] Adding syn v0.13.11 (available: v2.0.77) [INFO] [stderr] Adding unicode-xid v0.1.0 (available: v0.2.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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] * 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b9ccc890bb1ab37bbbd7ab8a9fa374f9513425aa58271487ac528163f16e3ef [INFO] running `Command { std: "docker" "start" "-a" "1b9ccc890bb1ab37bbbd7ab8a9fa374f9513425aa58271487ac528163f16e3ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b9ccc890bb1ab37bbbd7ab8a9fa374f9513425aa58271487ac528163f16e3ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b9ccc890bb1ab37bbbd7ab8a9fa374f9513425aa58271487ac528163f16e3ef", kill_on_drop: false }` [INFO] [stdout] 1b9ccc890bb1ab37bbbd7ab8a9fa374f9513425aa58271487ac528163f16e3ef [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d736221e6b1f9fb3d2837e3bf648980702dc626ca9f20b0aa967de56085be09a [INFO] running `Command { std: "docker" "start" "-a" "d736221e6b1f9fb3d2837e3bf648980702dc626ca9f20b0aa967de56085be09a", 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] * 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [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: 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: 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 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: 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: 2 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" "d736221e6b1f9fb3d2837e3bf648980702dc626ca9f20b0aa967de56085be09a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d736221e6b1f9fb3d2837e3bf648980702dc626ca9f20b0aa967de56085be09a", kill_on_drop: false }` [INFO] [stdout] d736221e6b1f9fb3d2837e3bf648980702dc626ca9f20b0aa967de56085be09a