[INFO] fetching crate rubbish 0.1.0... [INFO] testing rubbish-0.1.0 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate rubbish 0.1.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate rubbish 0.1.0 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 rubbish 0.1.0 [INFO] finished tweaking crates.io crate rubbish 0.1.0 [INFO] tweaked toml for crates.io crate rubbish 0.1.0 written to /workspace/builds/worker-12/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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 78d7e2e5eb53e4c2018ab73e5a9486f72029e8014d46b6cfe7b95ac84ea93e0a [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" "78d7e2e5eb53e4c2018ab73e5a9486f72029e8014d46b6cfe7b95ac84ea93e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78d7e2e5eb53e4c2018ab73e5a9486f72029e8014d46b6cfe7b95ac84ea93e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78d7e2e5eb53e4c2018ab73e5a9486f72029e8014d46b6cfe7b95ac84ea93e0a", kill_on_drop: false }` [INFO] [stdout] 78d7e2e5eb53e4c2018ab73e5a9486f72029e8014d46b6cfe7b95ac84ea93e0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 6b349b529afc652dc73b3c54e9f106b8208f4aa1f0dd3021d270175227d26791 [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" "6b349b529afc652dc73b3c54e9f106b8208f4aa1f0dd3021d270175227d26791", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling bincode v0.6.1 [INFO] [stderr] Compiling rubbish v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cas/hash.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Eq, Hash, Clone, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cas/hash.rs:7:54 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Eq, Hash, Clone, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/fs/object.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/fs/object.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fs/commit.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | let new_tree = try!(modifier(self.tree.clone())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fs/tree.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | let mut node = try!(self.root.resolve(storage)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fs/tree.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | try!(subtree.resolve(storage)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fs/tree.rs:127:35 [INFO] [stdout] | [INFO] [stdout] 127 | let resolved: Arc = try!(self.root.resolve(storage)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fs/tree.rs:136:40 [INFO] [stdout] | [INFO] [stdout] 136 | let resolved = try!(subtree.resolve(storage)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fs/mod.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | pub type ObjectStorage = ContentAddressibleStorage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - pub type ObjectStorage = ContentAddressibleStorage; [INFO] [stdout] 35 + pub type ObjectStorage = dyn ContentAddressibleStorage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.27s [INFO] running `Command { std: "docker" "inspect" "6b349b529afc652dc73b3c54e9f106b8208f4aa1f0dd3021d270175227d26791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b349b529afc652dc73b3c54e9f106b8208f4aa1f0dd3021d270175227d26791", kill_on_drop: false }` [INFO] [stdout] 6b349b529afc652dc73b3c54e9f106b8208f4aa1f0dd3021d270175227d26791 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] f64085c010015b5b309254916a8f5e428117cfa2cc60ccc2ace776a66786dc3e [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" "f64085c010015b5b309254916a8f5e428117cfa2cc60ccc2ace776a66786dc3e", kill_on_drop: false }` [INFO] [stderr] Compiling rubbish v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cas/hash.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Eq, Hash, Clone, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cas/hash.rs:7:54 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Eq, Hash, Clone, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/fs/object.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/fs/object.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fs/commit.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | let new_tree = try!(modifier(self.tree.clone())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fs/tree.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | let mut node = try!(self.root.resolve(storage)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fs/tree.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | try!(subtree.resolve(storage)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fs/tree.rs:127:35 [INFO] [stdout] | [INFO] [stdout] 127 | let resolved: Arc = try!(self.root.resolve(storage)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fs/tree.rs:136:40 [INFO] [stdout] | [INFO] [stdout] 136 | let resolved = try!(subtree.resolve(storage)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fs/mod.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | pub type ObjectStorage = ContentAddressibleStorage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - pub type ObjectStorage = ContentAddressibleStorage; [INFO] [stdout] 35 + pub type ObjectStorage = dyn ContentAddressibleStorage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cas/hash.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Eq, Hash, Clone, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/cas/hash.rs:7:54 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Eq, Hash, Clone, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/fs/object.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/fs/object.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fs/commit.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | let new_tree = try!(modifier(self.tree.clone())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fs/commit.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | let tree = try!(tree.write(&mut storage, &["x", "y"], "Y".to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fs/commit.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | let tree = try!(tree.write(&mut storage, &["x", "z"], "Z".to_string())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fs/tree.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | let mut node = try!(self.root.resolve(storage)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fs/tree.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | try!(subtree.resolve(storage)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fs/tree.rs:127:35 [INFO] [stdout] | [INFO] [stdout] 127 | let resolved: Arc = try!(self.root.resolve(storage)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fs/tree.rs:136:40 [INFO] [stdout] | [INFO] [stdout] 136 | let resolved = try!(subtree.resolve(storage)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fs/mod.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | pub type ObjectStorage = ContentAddressibleStorage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - pub type ObjectStorage = ContentAddressibleStorage; [INFO] [stdout] 35 + pub type ObjectStorage = dyn ContentAddressibleStorage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.70s [INFO] running `Command { std: "docker" "inspect" "f64085c010015b5b309254916a8f5e428117cfa2cc60ccc2ace776a66786dc3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f64085c010015b5b309254916a8f5e428117cfa2cc60ccc2ace776a66786dc3e", kill_on_drop: false }` [INFO] [stdout] f64085c010015b5b309254916a8f5e428117cfa2cc60ccc2ace776a66786dc3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] ffc2f40d10830a0b84777e6b5bddec4839a17e8332e90900d445780419954820 [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" "ffc2f40d10830a0b84777e6b5bddec4839a17e8332e90900d445780419954820", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/cas/hash.rs:7:38 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(PartialEq, Eq, Hash, Clone, RustcDecodable, RustcEncodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/cas/hash.rs:7:54 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(PartialEq, Eq, Hash, Clone, RustcDecodable, RustcEncodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/fs/object.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, RustcDecodable, RustcEncodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/fs/object.rs:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, RustcDecodable, RustcEncodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/fs/commit.rs:37:24 [INFO] [stderr] | [INFO] [stderr] 37 | let new_tree = try!(modifier(self.tree.clone())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/fs/tree.rs:103:24 [INFO] [stderr] | [INFO] [stderr] 103 | let mut node = try!(self.root.resolve(storage)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/fs/tree.rs:108:21 [INFO] [stderr] | [INFO] [stderr] 108 | try!(subtree.resolve(storage)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/fs/tree.rs:127:35 [INFO] [stderr] | [INFO] [stderr] 127 | let resolved: Arc = try!(self.root.resolve(storage)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/fs/tree.rs:136:40 [INFO] [stderr] | [INFO] [stderr] 136 | let resolved = try!(subtree.resolve(storage)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fs/mod.rs:35:26 [INFO] [stderr] | [INFO] [stderr] 35 | pub type ObjectStorage = ContentAddressibleStorage; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 35 - pub type ObjectStorage = ContentAddressibleStorage; [INFO] [stderr] 35 + pub type ObjectStorage = dyn ContentAddressibleStorage; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/fs/commit.rs:108:24 [INFO] [stderr] | [INFO] [stderr] 108 | let tree = try!(tree.write(&mut storage, &["x", "y"], "Y".to_string())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/fs/commit.rs:109:24 [INFO] [stderr] | [INFO] [stderr] 109 | let tree = try!(tree.write(&mut storage, &["x", "z"], "Z".to_string())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `rubbish` (lib) generated 10 warnings [INFO] [stderr] warning: `rubbish` (lib test) generated 12 warnings (10 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test cas::content::tests::encode ... ok [INFO] [stdout] test cas::localstorage::tests::put_get_strings ... ok [INFO] [stdout] test cas::storage::tests::put_get_strings ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rubbish-1df79bc866469749) [INFO] [stdout] test fs::tree::test::read_not_found ... ok [INFO] [stdout] test fs::tree::test::remove_leaf ... ok [INFO] [stdout] test cas::localstorage::tests::put_twice ... ok [INFO] [stdout] test fs::tree::test::read_exists ... ok [INFO] [stdout] test fs::tree::test::read_empty_path ... ok [INFO] [stdout] test fs::tree::test::remove_deep_from_storage ... ok [INFO] [stdout] test cas::hash::tests::test_to_hex ... ok [INFO] [stdout] test cas::storage::tests::put_twice ... ok [INFO] [stdout] test fs::tree::test::read_blob_name_nonterminal ... ok [INFO] [stdout] test fs::tree::test::test_empty ... ok [INFO] [stdout] test cas::hash::tests::hash_bytes ... ok [INFO] [stdout] test fs::commit::test::test_root ... ok [INFO] [stdout] test cas::hash::tests::test_from_hex ... ok [INFO] [stdout] test fs::tree::test::read_exists_from_storage ... ok [INFO] [stdout] test fs::tree::test::test_rep_subtree ... ok [INFO] [stdout] test fs::commit::test::test_make_child ... ok [INFO] [stdout] test fs::tree::test::test_write ... ok [INFO] [stdout] test fs::tree::test::test_for_root ... ok [INFO] [stdout] test fs::tree::test::test_overwrite ... ok [INFO] [stdout] test cas::content::tests::decode_content_abcd ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests rubbish [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/cas/mod.rs - cas (line 10) ... ok [INFO] [stdout] test src/fs/mod.rs - fs (line 7) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.76s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ffc2f40d10830a0b84777e6b5bddec4839a17e8332e90900d445780419954820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffc2f40d10830a0b84777e6b5bddec4839a17e8332e90900d445780419954820", kill_on_drop: false }` [INFO] [stdout] ffc2f40d10830a0b84777e6b5bddec4839a17e8332e90900d445780419954820