[INFO] crate state 0.4.1 is already in cache [INFO] testing state-0.4.1 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate state 0.4.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate state 0.4.1 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 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-1/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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e5c000aaa13c79a2f3627d35f75dd2ee1717f7a63acb769b02c9ab7fc27fa11 [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" "2e5c000aaa13c79a2f3627d35f75dd2ee1717f7a63acb769b02c9ab7fc27fa11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e5c000aaa13c79a2f3627d35f75dd2ee1717f7a63acb769b02c9ab7fc27fa11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e5c000aaa13c79a2f3627d35f75dd2ee1717f7a63acb769b02c9ab7fc27fa11", kill_on_drop: false }` [INFO] [stdout] 2e5c000aaa13c79a2f3627d35f75dd2ee1717f7a63acb769b02c9ab7fc27fa11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 514a3adff11a6893f50e2fdf9b32434c143977c56a020c541696389325ea6c24 [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" "514a3adff11a6893f50e2fdf9b32434c143977c56a020c541696389325ea6c24", 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.50s [INFO] running `Command { std: "docker" "inspect" "514a3adff11a6893f50e2fdf9b32434c143977c56a020c541696389325ea6c24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "514a3adff11a6893f50e2fdf9b32434c143977c56a020c541696389325ea6c24", kill_on_drop: false }` [INFO] [stdout] 514a3adff11a6893f50e2fdf9b32434c143977c56a020c541696389325ea6c24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d1ea4cdbf808d23022344b41c883199d147711355a7b14bc5c890f9cd34745c [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" "8d1ea4cdbf808d23022344b41c883199d147711355a7b14bc5c890f9cd34745c", kill_on_drop: false }` [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] [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: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.93s [INFO] running `Command { std: "docker" "inspect" "8d1ea4cdbf808d23022344b41c883199d147711355a7b14bc5c890f9cd34745c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d1ea4cdbf808d23022344b41c883199d147711355a7b14bc5c890f9cd34745c", kill_on_drop: false }` [INFO] [stdout] 8d1ea4cdbf808d23022344b41c883199d147711355a7b14bc5c890f9cd34745c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", 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] c281105cbc116924834f767f972f0963aa1bbe709f0ac5b56fb5a25d17c2ade9 [INFO] running `Command { std: "docker" "start" "-a" "c281105cbc116924834f767f972f0963aa1bbe709f0ac5b56fb5a25d17c2ade9", 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.04s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/state-23606c30c9256183 [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/rustwide/target/debug/deps/main-97b08950ef6549c3 [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/lib.rs - storage::Storage::new (line 230) ... FAILED [INFO] [stdout] test src/container.rs - container::Container (line 29) ... FAILED [INFO] [stdout] test src/storage.rs - storage::Storage (line 24) ... FAILED [INFO] [stdout] test src/storage.rs - storage::Storage::get_or_set (line 166) ... FAILED [INFO] [stdout] test src/container.rs - container::Container::try_get (line 240) ... FAILED [INFO] [stdout] test src/lib.rs - container::Container::new (line 232) ... FAILED [INFO] [stdout] test src/storage.rs - storage::Storage::get (line 147) ... FAILED [INFO] [stdout] test src/container.rs - container::Container::set (line 203) ... FAILED [INFO] [stdout] test src/container.rs - container::Container (line 76) ... ok [INFO] [stdout] test src/lib.rs - (line 127) ... FAILED [INFO] [stdout] test src/container.rs - container::Container::get (line 288) ... FAILED [INFO] [stdout] test src/storage.rs - storage::Storage::try_get (line 115) ... FAILED [INFO] [stdout] test src/storage.rs - storage::Storage::set (line 87) ... FAILED [INFO] [stdout] test src/lib.rs - (line 83) ... ok [INFO] [stdout] test src/container.rs - container::Container::is_frozen (line 176) ... ok [INFO] [stdout] test src/lib.rs - (line 42) ... ok [INFO] [stdout] test src/lib.rs - (line 53) ... ok [INFO] [stdout] test src/lib.rs - (line 159) ... 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/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 (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/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/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/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/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/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::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/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::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] [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" "c281105cbc116924834f767f972f0963aa1bbe709f0ac5b56fb5a25d17c2ade9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c281105cbc116924834f767f972f0963aa1bbe709f0ac5b56fb5a25d17c2ade9", kill_on_drop: false }` [INFO] [stdout] c281105cbc116924834f767f972f0963aa1bbe709f0ac5b56fb5a25d17c2ade9