[INFO] fetching crate rubbish 0.1.0... [INFO] testing rubbish-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate rubbish 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate rubbish 0.1.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad3262f96a5bc0109c062f1fdee1c5117d90d78d94b8bf0318898cdaecbeca13 [INFO] running `Command { std: "docker" "start" "-a" "ad3262f96a5bc0109c062f1fdee1c5117d90d78d94b8bf0318898cdaecbeca13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad3262f96a5bc0109c062f1fdee1c5117d90d78d94b8bf0318898cdaecbeca13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad3262f96a5bc0109c062f1fdee1c5117d90d78d94b8bf0318898cdaecbeca13", kill_on_drop: false }` [INFO] [stdout] ad3262f96a5bc0109c062f1fdee1c5117d90d78d94b8bf0318898cdaecbeca13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d989b008522d1df8e8988d55e3cf1e6a4da7b08d011f129b989a16789da3d3c1 [INFO] running `Command { std: "docker" "start" "-a" "d989b008522d1df8e8988d55e3cf1e6a4da7b08d011f129b989a16789da3d3c1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num-traits v0.1.43 [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 9.66s [INFO] running `Command { std: "docker" "inspect" "d989b008522d1df8e8988d55e3cf1e6a4da7b08d011f129b989a16789da3d3c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d989b008522d1df8e8988d55e3cf1e6a4da7b08d011f129b989a16789da3d3c1", kill_on_drop: false }` [INFO] [stdout] d989b008522d1df8e8988d55e3cf1e6a4da7b08d011f129b989a16789da3d3c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6885e69fc255e50f3c53dd226b8284445d5fc22d2c1ecc05928d46f733b719ee [INFO] running `Command { std: "docker" "start" "-a" "6885e69fc255e50f3c53dd226b8284445d5fc22d2c1ecc05928d46f733b719ee", kill_on_drop: false }` [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] [stderr] Compiling rubbish v0.1.0 (/opt/rustwide/workdir) [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 1.53s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/rubbish-09ad67b0dc2203ff) [INFO] running `Command { std: "docker" "inspect" "6885e69fc255e50f3c53dd226b8284445d5fc22d2c1ecc05928d46f733b719ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6885e69fc255e50f3c53dd226b8284445d5fc22d2c1ecc05928d46f733b719ee", kill_on_drop: false }` [INFO] [stdout] 6885e69fc255e50f3c53dd226b8284445d5fc22d2c1ecc05928d46f733b719ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b72fd785513e55591e2eaf29aef05e517a7ce5f347d14f480233cad343107abb [INFO] running `Command { std: "docker" "start" "-a" "b72fd785513e55591e2eaf29aef05e517a7ce5f347d14f480233cad343107abb", 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.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rubbish-09ad67b0dc2203ff) [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test cas::content::tests::decode_content_abcd ... ok [INFO] [stdout] test cas::hash::tests::hash_bytes ... ok [INFO] [stdout] test cas::content::tests::encode ... ok [INFO] [stdout] test cas::hash::tests::test_from_hex ... ok [INFO] [stdout] test cas::hash::tests::test_to_hex ... ok [INFO] [stdout] test cas::localstorage::tests::put_get_strings ... ok [INFO] [stdout] test cas::localstorage::tests::put_twice ... ok [INFO] [stdout] test cas::storage::tests::put_twice ... ok [INFO] [stdout] test cas::storage::tests::put_get_strings ... ok [INFO] [stdout] test fs::tree::test::read_blob_name_nonterminal ... ok [INFO] [stdout] test fs::tree::test::read_exists ... ok [INFO] [stdout] test fs::tree::test::read_empty_path ... ok [INFO] [stdout] test fs::commit::test::test_root ... ok [INFO] [stdout] test fs::commit::test::test_make_child ... ok [INFO] [stdout] test fs::tree::test::read_not_found ... ok [INFO] [stdout] test fs::tree::test::read_exists_from_storage ... ok [INFO] [stdout] test fs::tree::test::remove_leaf ... ok [INFO] [stdout] test fs::tree::test::remove_deep_from_storage ... ok [INFO] [stdout] test fs::tree::test::test_empty ... ok [INFO] [stdout] test fs::tree::test::test_for_root ... ok [INFO] [stdout] test fs::tree::test::test_rep_subtree ... ok [INFO] [stdout] test fs::tree::test::test_overwrite ... ok [INFO] [stdout] test fs::tree::test::test_write ... 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 0.61s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b72fd785513e55591e2eaf29aef05e517a7ce5f347d14f480233cad343107abb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b72fd785513e55591e2eaf29aef05e517a7ce5f347d14f480233cad343107abb", kill_on_drop: false }` [INFO] [stdout] b72fd785513e55591e2eaf29aef05e517a7ce5f347d14f480233cad343107abb