[INFO] crate state 0.4.1 is already in cache [INFO] testing state-0.4.1 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate state 0.4.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate state 0.4.1 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate state 0.4.1 [INFO] finished tweaking crates.io crate state 0.4.1 [INFO] tweaked toml for crates.io crate state 0.4.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a7175b8ca574c3848664713a77cd83e0c33571833d67a17fb00117f8df0e5b0 [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" "7a7175b8ca574c3848664713a77cd83e0c33571833d67a17fb00117f8df0e5b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a7175b8ca574c3848664713a77cd83e0c33571833d67a17fb00117f8df0e5b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a7175b8ca574c3848664713a77cd83e0c33571833d67a17fb00117f8df0e5b0", kill_on_drop: false }` [INFO] [stdout] 7a7175b8ca574c3848664713a77cd83e0c33571833d67a17fb00117f8df0e5b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0644721b66980cd27102fbad37c2bf223c65db82ed18c0946c243b785b67c07b [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" "0644721b66980cd27102fbad37c2bf223c65db82ed18c0946c243b785b67c07b", kill_on_drop: false }` [INFO] [stderr] Compiling state v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/container.rs:91:47 [INFO] [stdout] | [INFO] [stdout] 91 | map: UnsafeCell<*mut HashMap>>, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/container.rs:224:72 [INFO] [stdout] | [INFO] [stdout] 224 | let state_entry = Box::into_raw(Box::new(state) as Box); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/container.rs:274:46 [INFO] [stdout] | [INFO] [stdout] 274 | item.map(|ptr| &*(*ptr as *const Any as *const T)) [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/container.rs:402:40 [INFO] [stdout] | [INFO] [stdout] 402 | let mut boxed_any: Box = Box::from_raw(*value); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "0644721b66980cd27102fbad37c2bf223c65db82ed18c0946c243b785b67c07b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0644721b66980cd27102fbad37c2bf223c65db82ed18c0946c243b785b67c07b", kill_on_drop: false }` [INFO] [stdout] 0644721b66980cd27102fbad37c2bf223c65db82ed18c0946c243b785b67c07b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8dd80cfd177b11ee9ec3a13ace07dd2ac49774a7c0793956587427bbe3090538 [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" "8dd80cfd177b11ee9ec3a13ace07dd2ac49774a7c0793956587427bbe3090538", kill_on_drop: false }` [INFO] [stderr] Compiling state v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/container.rs:91:47 [INFO] [stdout] | [INFO] [stdout] 91 | map: UnsafeCell<*mut HashMap>>, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/container.rs:224:72 [INFO] [stdout] | [INFO] [stdout] 224 | let state_entry = Box::into_raw(Box::new(state) as Box); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/container.rs:274:46 [INFO] [stdout] | [INFO] [stdout] 274 | item.map(|ptr| &*(*ptr as *const Any as *const T)) [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/container.rs:402:40 [INFO] [stdout] | [INFO] [stdout] 402 | let mut boxed_any: Box = Box::from_raw(*value); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/container.rs:91:47 [INFO] [stdout] | [INFO] [stdout] 91 | map: UnsafeCell<*mut HashMap>>, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/container.rs:224:72 [INFO] [stdout] | [INFO] [stdout] 224 | let state_entry = Box::into_raw(Box::new(state) as Box); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/container.rs:274:46 [INFO] [stdout] | [INFO] [stdout] 274 | item.map(|ptr| &*(*ptr as *const Any as *const T)) [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/container.rs:402:40 [INFO] [stdout] | [INFO] [stdout] 402 | let mut boxed_any: Box = Box::from_raw(*value); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `Command { std: "docker" "inspect" "8dd80cfd177b11ee9ec3a13ace07dd2ac49774a7c0793956587427bbe3090538", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dd80cfd177b11ee9ec3a13ace07dd2ac49774a7c0793956587427bbe3090538", kill_on_drop: false }` [INFO] [stdout] 8dd80cfd177b11ee9ec3a13ace07dd2ac49774a7c0793956587427bbe3090538 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d3187003a58bbc3b1a6dc1aceff087e2cf651c39a64802739f93f3dffc19325e [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" "d3187003a58bbc3b1a6dc1aceff087e2cf651c39a64802739f93f3dffc19325e", kill_on_drop: false }` [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] warning: 4 warnings emitted [INFO] [stderr] [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] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/state-23606c30c9256183 [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/main-97b08950ef6549c3 [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests state [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] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test src/container.rs - container::Container (line 29) ... FAILED [INFO] [stdout] test src/container.rs - container::Container::get (line 288) ... FAILED [INFO] [stdout] test src/container.rs - container::Container::set (line 203) ... FAILED [INFO] [stdout] test src/lib.rs - container::Container::new (line 232) ... FAILED [INFO] [stdout] test src/lib.rs - (line 127) ... FAILED [INFO] [stdout] test src/storage.rs - storage::Storage::get (line 147) ... FAILED [INFO] [stdout] test src/lib.rs - storage::Storage::new (line 230) ... FAILED [INFO] [stdout] test src/container.rs - container::Container::try_get (line 240) ... FAILED [INFO] [stdout] test src/storage.rs - storage::Storage (line 24) ... FAILED [INFO] [stdout] test src/container.rs - container::Container (line 76) ... ok [INFO] [stdout] test src/storage.rs - storage::Storage::get_or_set (line 166) ... FAILED [INFO] [stdout] test src/storage.rs - storage::Storage::set (line 87) ... FAILED [INFO] [stdout] test src/storage.rs - storage::Storage::try_get (line 115) ... FAILED [INFO] [stdout] test src/lib.rs - (line 83) ... ok [INFO] [stdout] test src/lib.rs - (line 159) ... ok [INFO] [stdout] test src/lib.rs - (line 53) ... ok [INFO] [stdout] test src/container.rs - container::Container::is_frozen (line 176) ... ok [INFO] [stdout] test src/lib.rs - (line 42) ... ok [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] test src/container.rs - container::Container::freeze (line 148) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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::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/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 - 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 - (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/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/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/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/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] ---- 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::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::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] [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] running `Command { std: "docker" "inspect" "d3187003a58bbc3b1a6dc1aceff087e2cf651c39a64802739f93f3dffc19325e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3187003a58bbc3b1a6dc1aceff087e2cf651c39a64802739f93f3dffc19325e", kill_on_drop: false }` [INFO] [stdout] d3187003a58bbc3b1a6dc1aceff087e2cf651c39a64802739f93f3dffc19325e