[INFO] crate galvanic-mock 0.1.3 is already in cache [INFO] testing galvanic-mock-0.1.3 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate galvanic-mock 0.1.3 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate galvanic-mock 0.1.3 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate galvanic-mock 0.1.3 [INFO] finished tweaking crates.io crate galvanic-mock 0.1.3 [INFO] tweaked toml for crates.io crate galvanic-mock 0.1.3 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35b21c54e0a0804f9b4e2461bf6375c6a6fbd466aea681198ea8335a3e960746 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "35b21c54e0a0804f9b4e2461bf6375c6a6fbd466aea681198ea8335a3e960746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35b21c54e0a0804f9b4e2461bf6375c6a6fbd466aea681198ea8335a3e960746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35b21c54e0a0804f9b4e2461bf6375c6a6fbd466aea681198ea8335a3e960746", kill_on_drop: false }` [INFO] [stdout] 35b21c54e0a0804f9b4e2461bf6375c6a6fbd466aea681198ea8335a3e960746 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0e0a5e67c246d7dbf14a76af0c7c487791c2e64e3d8076ac5aefd1ad0aaae308 [INFO] running `Command { std: "docker" "start" "-a" "0e0a5e67c246d7dbf14a76af0c7c487791c2e64e3d8076ac5aefd1ad0aaae308", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling galvanic-mock v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/data.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / lazy_static! { [INFO] [stdout] 43 | | pub static ref MOCKABLE_TRAITS: Mutex = { [INFO] [stdout] 44 | | Mutex::new(HashMap::new()) [INFO] [stdout] 45 | | }; [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/data.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | / lazy_static! { [INFO] [stdout] 55 | | pub static ref REQUESTED_MOCKS: Mutex> = { [INFO] [stdout] 56 | | Mutex::new(Vec::new()) [INFO] [stdout] 57 | | }; [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/data.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / lazy_static! { [INFO] [stdout] 74 | | pub static ref BINDINGS: Mutex = { [INFO] [stdout] 75 | | Mutex::new(Vec::new()) [INFO] [stdout] 76 | | }; [INFO] [stdout] 77 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/data.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | / lazy_static! { [INFO] [stdout] 156 | | pub static ref GIVEN_STATEMENTS: Mutex = { [INFO] [stdout] 157 | | Mutex::new(HashMap::new()) [INFO] [stdout] 158 | | }; [INFO] [stdout] 159 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/data.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | / lazy_static! { [INFO] [stdout] 219 | | pub static ref EXPECT_STATEMENTS: Mutex = { [INFO] [stdout] 220 | | Mutex::new(HashMap::new()) [INFO] [stdout] 221 | | }; [INFO] [stdout] 222 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/lib.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | macro_names.into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.40s [INFO] running `Command { std: "docker" "inspect" "0e0a5e67c246d7dbf14a76af0c7c487791c2e64e3d8076ac5aefd1ad0aaae308", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e0a5e67c246d7dbf14a76af0c7c487791c2e64e3d8076ac5aefd1ad0aaae308", kill_on_drop: false }` [INFO] [stdout] 0e0a5e67c246d7dbf14a76af0c7c487791c2e64e3d8076ac5aefd1ad0aaae308 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b65700c59e2e95aaa009bb80f2fd6a57cc4b6c782ef7e580fe16fbcda952620 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9b65700c59e2e95aaa009bb80f2fd6a57cc4b6c782ef7e580fe16fbcda952620", kill_on_drop: false }` [INFO] [stderr] Compiling galvanic-assert v0.8.7 [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/data.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / lazy_static! { [INFO] [stdout] 43 | | pub static ref MOCKABLE_TRAITS: Mutex = { [INFO] [stdout] 44 | | Mutex::new(HashMap::new()) [INFO] [stdout] 45 | | }; [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/data.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | / lazy_static! { [INFO] [stdout] 55 | | pub static ref REQUESTED_MOCKS: Mutex> = { [INFO] [stdout] 56 | | Mutex::new(Vec::new()) [INFO] [stdout] 57 | | }; [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/data.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / lazy_static! { [INFO] [stdout] 74 | | pub static ref BINDINGS: Mutex = { [INFO] [stdout] 75 | | Mutex::new(Vec::new()) [INFO] [stdout] 76 | | }; [INFO] [stdout] 77 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/data.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | / lazy_static! { [INFO] [stdout] 156 | | pub static ref GIVEN_STATEMENTS: Mutex = { [INFO] [stdout] 157 | | Mutex::new(HashMap::new()) [INFO] [stdout] 158 | | }; [INFO] [stdout] 159 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/data.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | / lazy_static! { [INFO] [stdout] 219 | | pub static ref EXPECT_STATEMENTS: Mutex = { [INFO] [stdout] 220 | | Mutex::new(HashMap::new()) [INFO] [stdout] 221 | | }; [INFO] [stdout] 222 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/lib.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | macro_names.into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling galvanic-mock v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/mock_trait_in_submodules.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | #[mockable(::sub1::sub2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: failed to parse #[mockable(..)] requires the absolute path of the trait's module.It must be preceded with `extern`/`intern` if the trait is defined in another crate/module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/mock_trait_in_submodules.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | #[test]#[use_mocks] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: "PoisonError { inner: .. }" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_mock_from_other_submodule` in this scope [INFO] [stdout] --> tests/mock_trait_in_submodules.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / fn create_mock_from_other_submodule() { [INFO] [stdout] 33 | | let mock = new_mock!(::sub1::sub2::EmptyTrait); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `galvanic-mock`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/mock_empty_trait.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/expect_different_interactions.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | #[mockable(::multiple_traits)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: failed to parse #[mockable(..)] requires the absolute path of the trait's module.It must be preceded with `extern`/`intern` if the trait is defined in another crate/module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/expect_different_interactions.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 400 | #[use_mocks] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: "PoisonError { inner: .. }" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/given_block_missing_for_method.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/given_void_method_without_args.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/mock_trait_and_apply_attributes.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/mock_with_explicit_type_name.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/expect_void_method.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/given_method_without_args.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `matching_expectation` in this scope [INFO] [stdout] --> tests/expect_different_interactions.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 401 | / fn matching_expectation() { [INFO] [stdout] 402 | | let mock = new_mock!(TestTrait, ::multiple_traits::OtherTrait); [INFO] [stdout] 403 | | [INFO] [stdout] 404 | | given! { [INFO] [stdout] ... | [INFO] [stdout] 417 | | mock.verify(); [INFO] [stdout] 418 | | } [INFO] [stdout] | |_____^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 392 | use test_at_least::matching_expectation; [INFO] [stdout] | [INFO] [stdout] 392 | use test_never::matching_expectation; [INFO] [stdout] | [INFO] [stdout] 392 | use test_times::matching_expectation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/verify_on_drop.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/use_mocks_on_module.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/mock_generic_trait_method.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/given_method_with_multiple_args.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/data.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / lazy_static! { [INFO] [stdout] 43 | | pub static ref MOCKABLE_TRAITS: Mutex = { [INFO] [stdout] 44 | | Mutex::new(HashMap::new()) [INFO] [stdout] 45 | | }; [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/data.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | / lazy_static! { [INFO] [stdout] 55 | | pub static ref REQUESTED_MOCKS: Mutex> = { [INFO] [stdout] 56 | | Mutex::new(Vec::new()) [INFO] [stdout] 57 | | }; [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/data.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | / lazy_static! { [INFO] [stdout] 74 | | pub static ref BINDINGS: Mutex = { [INFO] [stdout] 75 | | Mutex::new(Vec::new()) [INFO] [stdout] 76 | | }; [INFO] [stdout] 77 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/data.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | / lazy_static! { [INFO] [stdout] 156 | | pub static ref GIVEN_STATEMENTS: Mutex = { [INFO] [stdout] 157 | | Mutex::new(HashMap::new()) [INFO] [stdout] 158 | | }; [INFO] [stdout] 159 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/data.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | / lazy_static! { [INFO] [stdout] 219 | | pub static ref EXPECT_STATEMENTS: Mutex = { [INFO] [stdout] 220 | | Mutex::new(HashMap::new()) [INFO] [stdout] 221 | | }; [INFO] [stdout] 222 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/given_method_with_single_arg.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/lib.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | macro_names.into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9b65700c59e2e95aaa009bb80f2fd6a57cc4b6c782ef7e580fe16fbcda952620", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b65700c59e2e95aaa009bb80f2fd6a57cc4b6c782ef7e580fe16fbcda952620", kill_on_drop: false }` [INFO] [stdout] 9b65700c59e2e95aaa009bb80f2fd6a57cc4b6c782ef7e580fe16fbcda952620