[INFO] fetching crate constructor-macro 0.4.2... [INFO] testing constructor-macro-0.4.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate constructor-macro 0.4.2 into /workspace/builds/worker-6-tc1/source [INFO] removed /workspace/builds/worker-6-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate constructor-macro 0.4.2 [INFO] finished tweaking crates.io crate constructor-macro 0.4.2 [INFO] tweaked toml for crates.io crate constructor-macro 0.4.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate constructor-macro 0.4.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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.4.30 (available: v1.0.101) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.40) [INFO] [stderr] Adding syn v0.15.44 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3baa53bf93d1b63cd457dfc07a8a451ced0a5ac6d52a4ba2c2d3d67316e4e98d [INFO] running `Command { std: "docker" "start" "-a" "3baa53bf93d1b63cd457dfc07a8a451ced0a5ac6d52a4ba2c2d3d67316e4e98d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3baa53bf93d1b63cd457dfc07a8a451ced0a5ac6d52a4ba2c2d3d67316e4e98d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3baa53bf93d1b63cd457dfc07a8a451ced0a5ac6d52a4ba2c2d3d67316e4e98d", kill_on_drop: false }` [INFO] [stdout] 3baa53bf93d1b63cd457dfc07a8a451ced0a5ac6d52a4ba2c2d3d67316e4e98d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e7d16ceffce4de8c01e4e55165cc341feb1c1a51ca35cc9debf712bb73c83b8 [INFO] running `Command { std: "docker" "start" "-a" "2e7d16ceffce4de8c01e4e55165cc341feb1c1a51ca35cc9debf712bb73c83b8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling constructor-macro v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `paren` is never read [INFO] [stdout] --> src/construct.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct DefaultValue { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 10 | pub paren: Paren, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.78s [INFO] running `Command { std: "docker" "inspect" "2e7d16ceffce4de8c01e4e55165cc341feb1c1a51ca35cc9debf712bb73c83b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e7d16ceffce4de8c01e4e55165cc341feb1c1a51ca35cc9debf712bb73c83b8", kill_on_drop: false }` [INFO] [stdout] 2e7d16ceffce4de8c01e4e55165cc341feb1c1a51ca35cc9debf712bb73c83b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ead9084322abb2ea5a7c375940afdf7a37737b1f633d26fb1259608dc3f65428 [INFO] running `Command { std: "docker" "start" "-a" "ead9084322abb2ea5a7c375940afdf7a37737b1f633d26fb1259608dc3f65428", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling constructor-macro v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `paren` is never read [INFO] [stdout] --> src/construct.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct DefaultValue { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 10 | pub paren: Paren, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `paren` is never read [INFO] [stdout] --> src/construct.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct DefaultValue { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 10 | pub paren: Paren, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/default_value.rs:68:34 [INFO] [stdout] | [INFO] [stdout] 68 | struct Value { value: usize }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Right` is never constructed [INFO] [stdout] --> tests/default_value.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 84 | enum Either { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 85 | Left, [INFO] [stdout] 86 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Either` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Right` is never constructed [INFO] [stdout] --> tests/default_value.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 102 | enum Either { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 103 | Left(usize), [INFO] [stdout] 104 | Right(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Either` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Right` is never constructed [INFO] [stdout] --> tests/default_value.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 120 | enum Either { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 121 | Left { value: usize }, [INFO] [stdout] 122 | Right { value: usize }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Either` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/default_value.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `values` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the derive macro `ConstructorMacro` may come from an old version of the `constructor_macro` crate, try updating your dependency with `cargo update -p constructor_macro` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/default_value.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `integers` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the derive macro `ConstructorMacro` may come from an old version of the `constructor_macro` crate, try updating your dependency with `cargo update -p constructor_macro` [INFO] [stdout] = note: this warning originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/default_value.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `unit_struct` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the derive macro `ConstructorMacro` may come from an old version of the `constructor_macro` crate, try updating your dependency with `cargo update -p constructor_macro` [INFO] [stdout] = note: this warning originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/default_value.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `tuple_struct` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the derive macro `ConstructorMacro` may come from an old version of the `constructor_macro` crate, try updating your dependency with `cargo update -p constructor_macro` [INFO] [stdout] = note: this warning originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/default_value.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `r#struct` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the derive macro `ConstructorMacro` may come from an old version of the `constructor_macro` crate, try updating your dependency with `cargo update -p constructor_macro` [INFO] [stdout] = note: this warning originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/default_value.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `c_enum` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the derive macro `ConstructorMacro` may come from an old version of the `constructor_macro` crate, try updating your dependency with `cargo update -p constructor_macro` [INFO] [stdout] = note: this warning originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/default_value.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `enum_tuple_variant` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the derive macro `ConstructorMacro` may come from an old version of the `constructor_macro` crate, try updating your dependency with `cargo update -p constructor_macro` [INFO] [stdout] = note: this warning originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/default_value.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `enum_struct_variant` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the derive macro `ConstructorMacro` may come from an old version of the `constructor_macro` crate, try updating your dependency with `cargo update -p constructor_macro` [INFO] [stdout] = note: this warning originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/construct.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(ConstructorMacro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `unit_struct` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the derive macro `ConstructorMacro` may come from an old version of the `constructor_macro` crate, try updating your dependency with `cargo update -p constructor_macro` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/construct.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `struct_with_named_fields` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the derive macro `ConstructorMacro` may come from an old version of the `constructor_macro` crate, try updating your dependency with `cargo update -p constructor_macro` [INFO] [stdout] = note: this warning originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.01s [INFO] running `Command { std: "docker" "inspect" "ead9084322abb2ea5a7c375940afdf7a37737b1f633d26fb1259608dc3f65428", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ead9084322abb2ea5a7c375940afdf7a37737b1f633d26fb1259608dc3f65428", kill_on_drop: false }` [INFO] [stdout] ead9084322abb2ea5a7c375940afdf7a37737b1f633d26fb1259608dc3f65428 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fee4737bd20fbec0e2959f3a2f5366c4ff3c6c2fbf26da831c1a4e7b76d04662 [INFO] running `Command { std: "docker" "start" "-a" "fee4737bd20fbec0e2959f3a2f5366c4ff3c6c2fbf26da831c1a4e7b76d04662", kill_on_drop: false }` [INFO] [stderr] warning: field `paren` is never read [INFO] [stderr] --> src/construct.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct DefaultValue { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 10 | pub paren: Paren, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `constructor-macro` (lib) generated 1 warning [INFO] [stderr] warning: `constructor-macro` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/construct.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(ConstructorMacro)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `unit_struct` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the derive macro `ConstructorMacro` may come from an old version of the `constructor_macro` crate, try updating your dependency with `cargo update -p constructor_macro` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/construct.rs:13:32 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `struct_with_named_fields` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the derive macro `ConstructorMacro` may come from an old version of the `constructor_macro` crate, try updating your dependency with `cargo update -p constructor_macro` [INFO] [stderr] = note: this warning originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> tests/default_value.rs:68:34 [INFO] [stderr] | [INFO] [stderr] 68 | struct Value { value: usize }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Right` is never constructed [INFO] [stderr] --> tests/default_value.rs:86:9 [INFO] [stderr] | [INFO] [stderr] 84 | enum Either { [INFO] [stderr] | ------ variant in this enum [INFO] [stderr] 85 | Left, [INFO] [stderr] 86 | Right, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Either` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Right` is never constructed [INFO] [stderr] --> tests/default_value.rs:104:9 [INFO] [stderr] | [INFO] [stderr] 102 | enum Either { [INFO] [stderr] | ------ variant in this enum [INFO] [stderr] 103 | Left(usize), [INFO] [stderr] 104 | Right(usize), [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Either` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `Right` is never constructed [INFO] [stderr] --> tests/default_value.rs:122:9 [INFO] [stderr] | [INFO] [stderr] 120 | enum Either { [INFO] [stderr] | ------ variant in this enum [INFO] [stderr] 121 | Left { value: usize }, [INFO] [stderr] 122 | Right { value: usize }, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Either` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/default_value.rs:5:32 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `values` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the derive macro `ConstructorMacro` may come from an old version of the `constructor_macro` crate, try updating your dependency with `cargo update -p constructor_macro` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/default_value.rs:19:32 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `integers` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the derive macro `ConstructorMacro` may come from an old version of the `constructor_macro` crate, try updating your dependency with `cargo update -p constructor_macro` [INFO] [stderr] = note: this warning originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/default_value.rs:38:32 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `unit_struct` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the derive macro `ConstructorMacro` may come from an old version of the `constructor_macro` crate, try updating your dependency with `cargo update -p constructor_macro` [INFO] [stderr] = note: this warning originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/default_value.rs:54:32 [INFO] [stderr] | [INFO] [stderr] 54 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `tuple_struct` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the derive macro `ConstructorMacro` may come from an old version of the `constructor_macro` crate, try updating your dependency with `cargo update -p constructor_macro` [INFO] [stderr] = note: this warning originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/default_value.rs:70:32 [INFO] [stderr] | [INFO] [stderr] 70 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `r#struct` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the derive macro `ConstructorMacro` may come from an old version of the `constructor_macro` crate, try updating your dependency with `cargo update -p constructor_macro` [INFO] [stderr] = note: this warning originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/default_value.rs:88:32 [INFO] [stderr] | [INFO] [stderr] 88 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `c_enum` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the derive macro `ConstructorMacro` may come from an old version of the `constructor_macro` crate, try updating your dependency with `cargo update -p constructor_macro` [INFO] [stderr] = note: this warning originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/default_value.rs:106:32 [INFO] [stderr] | [INFO] [stderr] 106 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `enum_tuple_variant` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the derive macro `ConstructorMacro` may come from an old version of the `constructor_macro` crate, try updating your dependency with `cargo update -p constructor_macro` [INFO] [stderr] = note: this warning originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/default_value.rs:124:32 [INFO] [stderr] | [INFO] [stderr] 124 | #[derive(Debug, PartialEq, ConstructorMacro)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `enum_struct_variant` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the derive macro `ConstructorMacro` may come from an old version of the `constructor_macro` crate, try updating your dependency with `cargo update -p constructor_macro` [INFO] [stderr] = note: this warning originates in the derive macro `ConstructorMacro` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `constructor-macro` (test "construct") generated 2 warnings [INFO] [stderr] warning: `constructor-macro` (test "default_value") generated 12 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/constructor_macro-4590018d0645d555) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/construct.rs (/opt/rustwide/target/debug/deps/construct-ab67b4ace1afc644) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test unit_struct ... ok [INFO] [stdout] test struct_with_named_fields ... ok [INFO] [stdout] [INFO] [stderr] Running tests/default_value.rs (/opt/rustwide/target/debug/deps/default_value-48099f95de63ab08) [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test c_enum ... ok [INFO] [stdout] test enum_struct_variant ... ok [INFO] [stdout] test enum_tuple_variant ... ok [INFO] [stdout] test integers ... ok [INFO] [stdout] test r#struct ... ok [INFO] [stdout] test unit_struct ... ok [INFO] [stdout] test values ... ok [INFO] [stdout] test tuple_struct ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/module.rs (/opt/rustwide/target/debug/deps/module-2ce040fd8cfb8709) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test module ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests constructor_macro [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fee4737bd20fbec0e2959f3a2f5366c4ff3c6c2fbf26da831c1a4e7b76d04662", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fee4737bd20fbec0e2959f3a2f5366c4ff3c6c2fbf26da831c1a4e7b76d04662", kill_on_drop: false }` [INFO] [stdout] fee4737bd20fbec0e2959f3a2f5366c4ff3c6c2fbf26da831c1a4e7b76d04662