[INFO] fetching crate savefile 0.10.1... [INFO] testing savefile-0.10.1 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate savefile 0.10.1 into /workspace/builds/worker-26/source [INFO] validating manifest of crates.io crate savefile 0.10.1 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate savefile 0.10.1 [INFO] finished tweaking crates.io crate savefile 0.10.1 [INFO] tweaked toml for crates.io crate savefile 0.10.1 written to /workspace/builds/worker-26/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e6d205a865b5762981bd0b5087f46ac7bc5ce27474468c1a18c69fb12925953 [INFO] running `Command { std: "docker" "start" "-a" "8e6d205a865b5762981bd0b5087f46ac7bc5ce27474468c1a18c69fb12925953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e6d205a865b5762981bd0b5087f46ac7bc5ce27474468c1a18c69fb12925953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e6d205a865b5762981bd0b5087f46ac7bc5ce27474468c1a18c69fb12925953", kill_on_drop: false }` [INFO] [stdout] 8e6d205a865b5762981bd0b5087f46ac7bc5ce27474468c1a18c69fb12925953 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ce455875bf3f8b91f3133b3e35932b72db3bda924b10cb1186ef8f59e50aac4 [INFO] running `Command { std: "docker" "start" "-a" "6ce455875bf3f8b91f3133b3e35932b72db3bda924b10cb1186ef8f59e50aac4", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling savefile v0.10.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.07s [INFO] running `Command { std: "docker" "inspect" "6ce455875bf3f8b91f3133b3e35932b72db3bda924b10cb1186ef8f59e50aac4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ce455875bf3f8b91f3133b3e35932b72db3bda924b10cb1186ef8f59e50aac4", kill_on_drop: false }` [INFO] [stdout] 6ce455875bf3f8b91f3133b3e35932b72db3bda924b10cb1186ef8f59e50aac4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78ba5880da94cb1ac8565c278e0997d7a27ba132d7c14c70d6774a46fb06c655 [INFO] running `Command { std: "docker" "start" "-a" "78ba5880da94cb1ac8565c278e0997d7a27ba132d7c14c70d6774a46fb06c655", kill_on_drop: false }` [INFO] [stderr] Compiling savefile v0.10.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "78ba5880da94cb1ac8565c278e0997d7a27ba132d7c14c70d6774a46fb06c655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78ba5880da94cb1ac8565c278e0997d7a27ba132d7c14c70d6774a46fb06c655", kill_on_drop: false }` [INFO] [stdout] 78ba5880da94cb1ac8565c278e0997d7a27ba132d7c14c70d6774a46fb06c655 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 41d010591a3f8ca77b72822e102484c054aebc8010823840efbb42f01bb23e6b [INFO] running `Command { std: "docker" "start" "-a" "41d010591a3f8ca77b72822e102484c054aebc8010823840efbb42f01bb23e6b", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/savefile-3c9f1430c76a8e23) [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; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests savefile [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test src/lib.rs - (line 340) ... FAILED [INFO] [stdout] test src/lib.rs - (line 242) ... FAILED [INFO] [stdout] test src/lib.rs - (line 295) ... FAILED [INFO] [stdout] test src/lib.rs - (line 353) ... FAILED [INFO] [stdout] test src/lib.rs - (line 216) ... FAILED [INFO] [stdout] test src/lib.rs - (line 271) ... FAILED [INFO] [stdout] test src/lib.rs - (line 597) ... FAILED [INFO] [stdout] test src/lib.rs - (line 75) ... FAILED [INFO] [stdout] test src/lib.rs - (line 436) ... FAILED [INFO] [stdout] test src/lib.rs - (line 314) ... FAILED [INFO] [stdout] test src/lib.rs - (line 546) ... FAILED [INFO] [stdout] test src/lib.rs - (line 27) ... FAILED [INFO] [stdout] test src/lib.rs - (line 622) ... FAILED [INFO] [stdout] test src/lib.rs - (line 408) ... ok [INFO] [stdout] test src/lib.rs - (line 422) ... ok [INFO] [stdout] test src/lib.rs - (line 397) ... ok [INFO] [stdout] test src/lib.rs - (line 508) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 340) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `savefile_derive` [INFO] [stdout] --> src/lib.rs:342:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate savefile_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Savefile` in this scope [INFO] [stdout] --> src/lib.rs:344:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Savefile)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 242) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `savefile_derive` [INFO] [stdout] --> src/lib.rs:244:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate savefile_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Savefile` in this scope [INFO] [stdout] --> src/lib.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Savefile)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `savefile_default_fn` in this scope [INFO] [stdout] --> src/lib.rs:252:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[savefile_default_fn="make_hello_pair"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `savefile_versions` in this scope [INFO] [stdout] --> src/lib.rs:253:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[savefile_versions="1.."] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 295) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `savefile_derive` [INFO] [stdout] --> src/lib.rs:297:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate savefile_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Savefile` in this scope [INFO] [stdout] --> src/lib.rs:299:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Savefile)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 353) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `savefile_derive` [INFO] [stdout] --> src/lib.rs:355:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate savefile_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Savefile` in this scope [INFO] [stdout] --> src/lib.rs:357:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Savefile)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `savefile_versions_as` in this scope [INFO] [stdout] --> src/lib.rs:359:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[savefile_versions_as="0..0:u8"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `savefile_versions` in this scope [INFO] [stdout] --> src/lib.rs:360:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[savefile_versions="1.."] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 216) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `savefile_derive` [INFO] [stdout] --> src/lib.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate savefile_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Savefile` in this scope [INFO] [stdout] --> src/lib.rs:220:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Savefile)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `savefile_default_val` in this scope [INFO] [stdout] --> src/lib.rs:223:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[savefile_default_val="42"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `savefile_versions` in this scope [INFO] [stdout] --> src/lib.rs:224:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[savefile_versions="1.."] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 271) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `savefile_derive` [INFO] [stdout] --> src/lib.rs:273:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate savefile_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Savefile` in this scope [INFO] [stdout] --> src/lib.rs:275:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Savefile)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `savefile_ignore` in this scope [INFO] [stdout] --> src/lib.rs:279:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[savefile_ignore] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 597) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `savefile_derive` [INFO] [stdout] --> src/lib.rs:600:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate savefile_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Savefile` in this scope [INFO] [stdout] --> src/lib.rs:603:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Savefile)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `savefile_introspect_key` in this scope [INFO] [stdout] --> src/lib.rs:605:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[savefile_introspect_key] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 75) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `savefile_derive` [INFO] [stdout] --> src/lib.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate savefile_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Savefile` in this scope [INFO] [stdout] --> src/lib.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Savefile)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `savefile_versions` in this scope [INFO] [stdout] --> src/lib.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[savefile_versions="0..0"] //Only version 0 had this field [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `savefile_versions` in this scope [INFO] [stdout] --> src/lib.rs:89:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[savefile_versions="1.."] //Only versions 1 and later have this field [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Player: Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:95:37 [INFO] [stdout] | [INFO] [stdout] 21 | save_file(file, GLOBAL_VERSION, player).unwrap(); [INFO] [stdout] | --------- ^^^^^^ the trait `Serialize` is not implemented for `Player` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `savefile::save_file` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:1707:34 [INFO] [stdout] | [INFO] [stdout] 1707 | pub fn save_file>(filepath: P, version: u32, data: &T) -> Result<(), SavefileError> { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `savefile::save_file` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Player: Deserialize` is not satisfied [INFO] [stdout] --> src/lib.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 27 | load_file(file, GLOBAL_VERSION).unwrap() [INFO] [stdout] | ^^^^^^^^^ the trait `Deserialize` is not implemented for `Player` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `savefile::load_file` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:1700:34 [INFO] [stdout] | [INFO] [stdout] 1700 | pub fn load_file>(filepath: P, version: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `savefile::load_file` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 436) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `savefile_derive` [INFO] [stdout] --> src/lib.rs:441:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate savefile_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Savefile` in this scope [INFO] [stdout] --> src/lib.rs:451:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Savefile)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `savefile_versions` in this scope [INFO] [stdout] --> src/lib.rs:454:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[savefile_versions="0..0"] //Only version 0 had this field [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `savefile_versions` in this scope [INFO] [stdout] --> src/lib.rs:457:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[savefile_versions="1.."] //Only versions 1 and later have this field [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `savefile_versions` in this scope [INFO] [stdout] --> src/lib.rs:459:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[savefile_versions="2.."] //Only versions 2 and later have this field [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ReprC` in this scope [INFO] [stdout] --> src/lib.rs:443:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(ReprC, Clone, Copy, Savefile)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ReprC` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 3 | use savefile::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Savefile` in this scope [INFO] [stdout] --> src/lib.rs:443:30 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(ReprC, Clone, Copy, Savefile)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Player: Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:464:37 [INFO] [stdout] | [INFO] [stdout] 29 | save_file(file, GLOBAL_VERSION, player).unwrap(); [INFO] [stdout] | --------- ^^^^^^ the trait `Serialize` is not implemented for `Player` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `savefile::save_file` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:1707:34 [INFO] [stdout] | [INFO] [stdout] 1707 | pub fn save_file>(filepath: P, version: u32, data: &T) -> Result<(), SavefileError> { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `savefile::save_file` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Player: Deserialize` is not satisfied [INFO] [stdout] --> src/lib.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 33 | load_file(file, GLOBAL_VERSION).unwrap() [INFO] [stdout] | ^^^^^^^^^ the trait `Deserialize` is not implemented for `Player` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `savefile::load_file` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:1700:34 [INFO] [stdout] | [INFO] [stdout] 1700 | pub fn load_file>(filepath: P, version: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `savefile::load_file` [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 314) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `savefile_derive` [INFO] [stdout] --> src/lib.rs:316:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate savefile_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Savefile` in this scope [INFO] [stdout] --> src/lib.rs:321:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Savefile)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `savefile_versions_as` in this scope [INFO] [stdout] --> src/lib.rs:324:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[savefile_versions_as="0..0:convert:u64"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `savefile_versions` in this scope [INFO] [stdout] --> src/lib.rs:325:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[savefile_versions="1.."] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 546) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `savefile_derive` [INFO] [stdout] --> src/lib.rs:549:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate savefile_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Savefile` in this scope [INFO] [stdout] --> src/lib.rs:552:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Savefile)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Savefile` in this scope [INFO] [stdout] --> src/lib.rs:557:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Savefile)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `introspect_len` found for struct `Person` in the current scope [INFO] [stdout] --> src/lib.rs:569:25 [INFO] [stdout] | [INFO] [stdout] 13 | struct Person { [INFO] [stdout] | ------------- method `introspect_len` not found for this [INFO] [stdout] ... [INFO] [stdout] 24 | assert_eq!(a_person.introspect_len(), 3); //There are three fields [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Person` [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 trait defines an item `introspect_len`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Introspect` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `introspect_value` found for struct `Person` in the current scope [INFO] [stdout] --> src/lib.rs:570:25 [INFO] [stdout] | [INFO] [stdout] 13 | struct Person { [INFO] [stdout] | ------------- method `introspect_value` not found for this [INFO] [stdout] ... [INFO] [stdout] 25 | assert_eq!(a_person.introspect_value(), "Person"); //Value of structs is the struct type, per default [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `Person` [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 trait defines an item `introspect_value`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Introspect` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `introspect_child` found for struct `Person` in the current scope [INFO] [stdout] --> src/lib.rs:571:25 [INFO] [stdout] | [INFO] [stdout] 13 | struct Person { [INFO] [stdout] | ------------- method `introspect_child` not found for this [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(a_person.introspect_child(0).unwrap().key(), "name"); //Each child has a name and a value. The value is itself a &dyn Intr... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `Person` [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 trait defines an item `introspect_child`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Introspect` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `introspect_child` found for struct `Person` in the current scope [INFO] [stdout] --> src/lib.rs:572:25 [INFO] [stdout] | [INFO] [stdout] 13 | struct Person { [INFO] [stdout] | ------------- method `introspect_child` not found for this [INFO] [stdout] ... [INFO] [stdout] 27 | assert_eq!(a_person.introspect_child(0).unwrap().val().introspect_value(), "Leo"); //In this case, the child (name) is a simple strin... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `Person` [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 trait defines an item `introspect_child`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Introspect` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `introspect_child` found for struct `Person` in the current scope [INFO] [stdout] --> src/lib.rs:573:25 [INFO] [stdout] | [INFO] [stdout] 13 | struct Person { [INFO] [stdout] | ------------- method `introspect_child` not found for this [INFO] [stdout] ... [INFO] [stdout] 28 | assert_eq!(a_person.introspect_child(1).unwrap().key(), "age"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `Person` [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 trait defines an item `introspect_child`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Introspect` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `introspect_child` found for struct `Person` in the current scope [INFO] [stdout] --> src/lib.rs:574:25 [INFO] [stdout] | [INFO] [stdout] 13 | struct Person { [INFO] [stdout] | ------------- method `introspect_child` not found for this [INFO] [stdout] ... [INFO] [stdout] 29 | assert_eq!(a_person.introspect_child(1).unwrap().val().introspect_value(), "8"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `Person` [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 trait defines an item `introspect_child`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Introspect` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `introspect_child` found for struct `Person` in the current scope [INFO] [stdout] --> src/lib.rs:575:25 [INFO] [stdout] | [INFO] [stdout] 13 | struct Person { [INFO] [stdout] | ------------- method `introspect_child` not found for this [INFO] [stdout] ... [INFO] [stdout] 30 | assert_eq!(a_person.introspect_child(2).unwrap().key(), "weight"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `Person` [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 trait defines an item `introspect_child`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Introspect` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `introspect_child` found for struct `Person` in the current scope [INFO] [stdout] --> src/lib.rs:576:27 [INFO] [stdout] | [INFO] [stdout] 13 | struct Person { [INFO] [stdout] | ------------- method `introspect_child` not found for this [INFO] [stdout] ... [INFO] [stdout] 31 | let weight = a_person.introspect_child(2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `Person` [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 trait defines an item `introspect_child`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Introspect` [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 27) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `savefile_derive` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate savefile_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Savefile` in this scope [INFO] [stdout] --> src/lib.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Savefile)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Player: Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 17 | save_file("save.bin", 0, player).unwrap(); [INFO] [stdout] | --------- ^^^^^^ the trait `Serialize` is not implemented for `Player` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `savefile::save_file` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:1707:34 [INFO] [stdout] | [INFO] [stdout] 1707 | pub fn save_file>(filepath: P, version: u32, data: &T) -> Result<(), SavefileError> { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `savefile::save_file` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Player: Deserialize` is not satisfied [INFO] [stdout] --> src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 21 | load_file("save.bin", 0).unwrap() [INFO] [stdout] | ^^^^^^^^^ the trait `Deserialize` is not implemented for `Player` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `savefile::load_file` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:1700:34 [INFO] [stdout] | [INFO] [stdout] 1700 | pub fn load_file>(filepath: P, version: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `savefile::load_file` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 622) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `savefile_derive` [INFO] [stdout] --> src/lib.rs:626:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate savefile_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Savefile` in this scope [INFO] [stdout] --> src/lib.rs:630:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Savefile)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Savefile` in this scope [INFO] [stdout] --> src/lib.rs:635:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Savefile)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Person: Introspect` is not satisfied [INFO] [stdout] --> src/lib.rs:650:45 [INFO] [stdout] | [INFO] [stdout] 29 | let result = introspector.do_introspect(&a_person, [INFO] [stdout] | ^^^^^^^^^ the trait `Introspect` is not implemented for `Person` [INFO] [stdout] | [INFO] [stdout] = note: required for the cast to the object type `dyn Introspect` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 216) [INFO] [stdout] src/lib.rs - (line 242) [INFO] [stdout] src/lib.rs - (line 27) [INFO] [stdout] src/lib.rs - (line 271) [INFO] [stdout] src/lib.rs - (line 295) [INFO] [stdout] src/lib.rs - (line 314) [INFO] [stdout] src/lib.rs - (line 340) [INFO] [stdout] src/lib.rs - (line 353) [INFO] [stdout] src/lib.rs - (line 436) [INFO] [stdout] src/lib.rs - (line 546) [INFO] [stdout] src/lib.rs - (line 597) [INFO] [stdout] src/lib.rs - (line 622) [INFO] [stdout] src/lib.rs - (line 75) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.32s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "41d010591a3f8ca77b72822e102484c054aebc8010823840efbb42f01bb23e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41d010591a3f8ca77b72822e102484c054aebc8010823840efbb42f01bb23e6b", kill_on_drop: false }` [INFO] [stdout] 41d010591a3f8ca77b72822e102484c054aebc8010823840efbb42f01bb23e6b