[INFO] fetching crate state 0.4.1... [INFO] extracting crate state 0.4.1 into work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/reg/state/0.4.1 [INFO] extracting crate state 0.4.1 into work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/state/0.4.1 [INFO] validating manifest of state-0.4.1 on toolchain master#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of state-0.4.1 on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing state-0.4.1 [INFO] finished frobbing state-0.4.1 [INFO] frobbed toml for state-0.4.1 written to work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/reg/state/0.4.1/Cargo.toml [INFO] started frobbing state-0.4.1 [INFO] finished frobbing state-0.4.1 [INFO] frobbed toml for state-0.4.1 written to work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/state/0.4.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing state-0.4.1 against master#c8865d8e195813ade6b84434ac9f8850e7112d1a for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-3/master#c8865d8e195813ade6b84434ac9f8850e7112d1a:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/reg/state/0.4.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "build" "--frozen"` [INFO] [stdout] 17a9fccb32a035fb550d304550deb9cd65ca1dae0d48353fc878c6fd09c566cc [INFO] running `"docker" "start" "-a" "17a9fccb32a035fb550d304550deb9cd65ca1dae0d48353fc878c6fd09c566cc"` [INFO] [stderr] Compiling state v0.4.1 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/container.rs:91:47 [INFO] [stderr] | [INFO] [stderr] 91 | map: UnsafeCell<*mut HashMap>>, [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/container.rs:224:72 [INFO] [stderr] | [INFO] [stderr] 224 | let state_entry = Box::into_raw(Box::new(state) as Box); [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/container.rs:274:46 [INFO] [stderr] | [INFO] [stderr] 274 | item.map(|ptr| &*(*ptr as *const Any as *const T)) [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/container.rs:402:40 [INFO] [stderr] | [INFO] [stderr] 402 | let mut boxed_any: Box = Box::from_raw(*value); [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `"docker" "inspect" "17a9fccb32a035fb550d304550deb9cd65ca1dae0d48353fc878c6fd09c566cc"` [INFO] running `"docker" "rm" "-f" "17a9fccb32a035fb550d304550deb9cd65ca1dae0d48353fc878c6fd09c566cc"` [INFO] [stdout] 17a9fccb32a035fb550d304550deb9cd65ca1dae0d48353fc878c6fd09c566cc [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-3/master#c8865d8e195813ade6b84434ac9f8850e7112d1a:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/reg/state/0.4.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "test" "--frozen" "--no-run"` [INFO] [stdout] 0a84b82a77fb51831ec757d39368564f1ef867f5054707b71ee22f08f9c0ff0c [INFO] running `"docker" "start" "-a" "0a84b82a77fb51831ec757d39368564f1ef867f5054707b71ee22f08f9c0ff0c"` [INFO] [stderr] Compiling state v0.4.1 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/container.rs:91:47 [INFO] [stderr] | [INFO] [stderr] 91 | map: UnsafeCell<*mut HashMap>>, [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/container.rs:224:72 [INFO] [stderr] | [INFO] [stderr] 224 | let state_entry = Box::into_raw(Box::new(state) as Box); [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/container.rs:274:46 [INFO] [stderr] | [INFO] [stderr] 274 | item.map(|ptr| &*(*ptr as *const Any as *const T)) [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/container.rs:402:40 [INFO] [stderr] | [INFO] [stderr] 402 | let mut boxed_any: Box = Box::from_raw(*value); [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `"docker" "inspect" "0a84b82a77fb51831ec757d39368564f1ef867f5054707b71ee22f08f9c0ff0c"` [INFO] running `"docker" "rm" "-f" "0a84b82a77fb51831ec757d39368564f1ef867f5054707b71ee22f08f9c0ff0c"` [INFO] [stdout] 0a84b82a77fb51831ec757d39368564f1ef867f5054707b71ee22f08f9c0ff0c [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-3/master#c8865d8e195813ade6b84434ac9f8850e7112d1a:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/reg/state/0.4.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "test" "--frozen"` [INFO] [stdout] c36ca58e5703d9a3beed40c12a06a71064a98aead9b439673d8d6f66d137f449 [INFO] running `"docker" "start" "-a" "c36ca58e5703d9a3beed40c12a06a71064a98aead9b439673d8d6f66d137f449"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/crater/target/debug/deps/state-8d3b8a80abea34fc [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] Running /opt/crater/target/debug/deps/main-bbc7b6c008605804 [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_dropping_struct ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests state [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test src/container.rs - container::Container::set (line 203) ... FAILED [INFO] [stdout] test src/lib.rs - (line 127) ... FAILED [INFO] [stdout] test src/container.rs - container::Container (line 29) ... FAILED [INFO] [stdout] test src/container.rs - container::Container::try_get (line 240) ... FAILED [INFO] [stdout] test src/container.rs - container::Container::get (line 288) ... FAILED [INFO] [stdout] test src/container.rs - container::Container (line 76) ... ok [INFO] [stdout] test src/container.rs - container::Container::freeze (line 148) ... ok [INFO] [stdout] test src/container.rs - container::Container::is_frozen (line 176) ... ok [INFO] [stdout] test src/lib.rs - container::Container::new (line 232) ... FAILED [INFO] [stdout] test src/lib.rs - (line 159) ... ok [INFO] [stdout] test src/lib.rs - (line 83) ... ok [INFO] [stdout] test src/lib.rs - (line 42) ... ok [INFO] [stdout] test src/lib.rs - storage::Storage::new (line 230) ... FAILED [INFO] [stdout] test src/storage.rs - storage::Storage::get (line 147) ... FAILED [INFO] [stdout] test src/lib.rs - (line 53) ... ok [INFO] [stdout] test src/storage.rs - storage::Storage::set (line 87) ... FAILED [INFO] [stdout] test src/storage.rs - storage::Storage::get_or_set (line 166) ... FAILED [INFO] [stdout] test src/storage.rs - storage::Storage::try_get (line 115) ... FAILED [INFO] [stdout] test src/storage.rs - storage::Storage (line 24) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/container.rs - container::Container::set (line 203) stdout ---- [INFO] [stdout] error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/container.rs:206:38 [INFO] [stdout] | [INFO] [stdout] 6 | static CONTAINER: state::Container = state::Container::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0015`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 127) stdout ---- [INFO] [stdout] error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/lib.rs:132:49 [INFO] [stdout] | [INFO] [stdout] 7 | static CONFIG: Storage> = Storage::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0015`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/container.rs - container::Container (line 29) stdout ---- [INFO] [stdout] error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/container.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 7 | static CONTAINER: state::Container = state::Container::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0015`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/container.rs - container::Container::try_get (line 240) stdout ---- [INFO] [stdout] error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/container.rs:245:38 [INFO] [stdout] | [INFO] [stdout] 8 | static CONTAINER: state::Container = state::Container::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0015`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/container.rs - container::Container::get (line 288) stdout ---- [INFO] [stdout] error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/container.rs:293:38 [INFO] [stdout] | [INFO] [stdout] 8 | static CONTAINER: state::Container = state::Container::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0015`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - container::Container::new (line 232) stdout ---- [INFO] [stdout] error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/lib.rs:234:38 [INFO] [stdout] | [INFO] [stdout] 5 | static CONTAINER: state::Container = state::Container::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0015`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - storage::Storage::new (line 230) stdout ---- [INFO] [stdout] error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/lib.rs:234:37 [INFO] [stdout] | [INFO] [stdout] 7 | static MY_GLOBAL: Storage = Storage::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0015`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/storage.rs - storage::Storage::get (line 147) stdout ---- [INFO] [stdout] error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/storage.rs:150:43 [INFO] [stdout] | [INFO] [stdout] 6 | static MY_GLOBAL: Storage<&'static str> = Storage::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0015`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/storage.rs - storage::Storage::set (line 87) stdout ---- [INFO] [stdout] error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/storage.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 6 | static MY_GLOBAL: Storage<&'static str> = Storage::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0015`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/storage.rs - storage::Storage::get_or_set (line 166) stdout ---- [INFO] [stdout] error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/storage.rs:169:43 [INFO] [stdout] | [INFO] [stdout] 6 | static MY_GLOBAL: Storage<&'static str> = Storage::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0015`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/storage.rs - storage::Storage::try_get (line 115) stdout ---- [INFO] [stdout] error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/storage.rs:118:43 [INFO] [stdout] | [INFO] [stdout] 6 | static MY_GLOBAL: Storage<&'static str> = Storage::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0015`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/storage.rs - storage::Storage (line 24) stdout ---- [INFO] [stdout] error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/storage.rs:32:62 [INFO] [stdout] | [INFO] [stdout] 10 | static GLOBAL_MAP: Storage>> = Storage::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0015`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/container.rs - container::Container (line 29) [INFO] [stdout] src/container.rs - container::Container::get (line 288) [INFO] [stdout] src/container.rs - container::Container::set (line 203) [INFO] [stdout] src/container.rs - container::Container::try_get (line 240) [INFO] [stdout] src/lib.rs - (line 127) [INFO] [stdout] src/lib.rs - container::Container::new (line 232) [INFO] [stdout] src/lib.rs - storage::Storage::new (line 230) [INFO] [stdout] src/storage.rs - storage::Storage (line 24) [INFO] [stdout] src/storage.rs - storage::Storage::get (line 147) [INFO] [stdout] src/storage.rs - storage::Storage::get_or_set (line 166) [INFO] [stdout] src/storage.rs - storage::Storage::set (line 87) [INFO] [stdout] src/storage.rs - storage::Storage::try_get (line 115) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "c36ca58e5703d9a3beed40c12a06a71064a98aead9b439673d8d6f66d137f449"` [INFO] running `"docker" "rm" "-f" "c36ca58e5703d9a3beed40c12a06a71064a98aead9b439673d8d6f66d137f449"` [INFO] [stdout] c36ca58e5703d9a3beed40c12a06a71064a98aead9b439673d8d6f66d137f449