[INFO] crate modular-bitfield-impl 0.6.0 is already in cache [INFO] testing modular-bitfield-impl-0.6.0 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate modular-bitfield-impl 0.6.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate modular-bitfield-impl 0.6.0 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate modular-bitfield-impl 0.6.0 [INFO] finished tweaking crates.io crate modular-bitfield-impl 0.6.0 [INFO] tweaked toml for crates.io crate modular-bitfield-impl 0.6.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d4d71831512a71de3f73cea4586529c0811cb90647e7edefe793652ca4580771 [INFO] running `"docker" "start" "-a" "d4d71831512a71de3f73cea4586529c0811cb90647e7edefe793652ca4580771"` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling modular-bitfield-impl v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.23s [INFO] running `"docker" "inspect" "d4d71831512a71de3f73cea4586529c0811cb90647e7edefe793652ca4580771"` [INFO] running `"docker" "rm" "-f" "d4d71831512a71de3f73cea4586529c0811cb90647e7edefe793652ca4580771"` [INFO] [stdout] d4d71831512a71de3f73cea4586529c0811cb90647e7edefe793652ca4580771 [INFO] running `"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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 47504c9894d3fa5f7bc5cc292bc424cad042aee8011b73196063608e43d6ab1d [INFO] running `"docker" "start" "-a" "47504c9894d3fa5f7bc5cc292bc424cad042aee8011b73196063608e43d6ab1d"` [INFO] [stderr] Compiling modular-bitfield-impl v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `"docker" "inspect" "47504c9894d3fa5f7bc5cc292bc424cad042aee8011b73196063608e43d6ab1d"` [INFO] running `"docker" "rm" "-f" "47504c9894d3fa5f7bc5cc292bc424cad042aee8011b73196063608e43d6ab1d"` [INFO] [stdout] 47504c9894d3fa5f7bc5cc292bc424cad042aee8011b73196063608e43d6ab1d [INFO] running `"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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 074b86f42fbc245577022c098061715fec831a6edd4ece1ae39387a56aa28524 [INFO] running `"docker" "start" "-a" "074b86f42fbc245577022c098061715fec831a6edd4ece1ae39387a56aa28524"` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/modular_bitfield_impl-8821a2c20190619c [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 [INFO] [stdout] [INFO] [stderr] Doc-tests modular-bitfield-impl [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - bitfield_specifier (line 68) ... FAILED [INFO] [stdout] test src/lib.rs - bitfield (line 32) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - bitfield_specifier (line 68) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `modular_bitfield` [INFO] [stdout] --> src/lib.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 2 | use modular_bitfield::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `modular_bitfield` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bitfield` in this scope [INFO] [stdout] --> src/lib.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[bitfield] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `BitfieldSpecifier` in this scope [INFO] [stdout] --> src/lib.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(BitfieldSpecifier)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `B5` in this scope [INFO] [stdout] --> src/lib.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 8 | c: B5, // Uses 5 bits [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `B24` in this scope [INFO] [stdout] --> src/lib.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 9 | d: B24, // Uses 24 bits [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Example` in the current scope [INFO] [stdout] --> src/lib.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 21 | let mut example = Example::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `proc_macro::bridge::server::TokenStream` [INFO] [stdout] candidate #2: `proc_macro::bridge::server::TokenStreamBuilder` [INFO] [stdout] candidate #3: `proc_macro::bridge::server::Group` [INFO] [stdout] candidate #4: `proc_macro::bridge::server::Punct` [INFO] [stdout] candidate #5: `proc_macro::bridge::server::Ident` [INFO] [stdout] candidate #6: `proc_macro::bridge::server::MultiSpan` [INFO] [stdout] candidate #7: `proc_macro::bridge::server::Diagnostic` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - bitfield (line 32) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `modular_bitfield` [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 2 | use modular_bitfield::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `modular_bitfield` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bitfield` in this scope [INFO] [stdout] --> src/lib.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[bitfield] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bits` in this scope [INFO] [stdout] --> src/lib.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[bits = 7] // Optional, just asserts that B7 uses exactly 7 bits. [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `B1` in this scope [INFO] [stdout] --> src/lib.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 6 | a: B1, // Uses 1 bit [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `B7` in this scope [INFO] [stdout] --> src/lib.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 8 | b: B7, // Uses 7 bits [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `B24` in this scope [INFO] [stdout] --> src/lib.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 9 | c: B24, // Uses 24 bits [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Example` in the current scope [INFO] [stdout] --> src/lib.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 5 | struct Example { [INFO] [stdout] | -------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 13 | let mut example = Example::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Example` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `proc_macro::bridge::server::TokenStream` [INFO] [stdout] candidate #2: `proc_macro::bridge::server::TokenStreamBuilder` [INFO] [stdout] candidate #3: `proc_macro::bridge::server::Group` [INFO] [stdout] candidate #4: `proc_macro::bridge::server::Punct` [INFO] [stdout] candidate #5: `proc_macro::bridge::server::Ident` [INFO] [stdout] candidate #6: `proc_macro::bridge::server::MultiSpan` [INFO] [stdout] candidate #7: `proc_macro::bridge::server::Diagnostic` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - bitfield (line 32) [INFO] [stdout] src/lib.rs - bitfield_specifier (line 68) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "074b86f42fbc245577022c098061715fec831a6edd4ece1ae39387a56aa28524"` [INFO] running `"docker" "rm" "-f" "074b86f42fbc245577022c098061715fec831a6edd4ece1ae39387a56aa28524"` [INFO] [stdout] 074b86f42fbc245577022c098061715fec831a6edd4ece1ae39387a56aa28524