[INFO] cloning repository https://github.com/eminence/snapshot_trim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eminence/snapshot_trim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feminence%2Fsnapshot_trim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feminence%2Fsnapshot_trim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b1bb505cdca364d322f9268fbc7a284734044a4b [INFO] testing eminence/snapshot_trim against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feminence%2Fsnapshot_trim" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eminence/snapshot_trim on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eminence/snapshot_trim [INFO] finished tweaking git repo https://github.com/eminence/snapshot_trim [INFO] tweaked toml for git repo https://github.com/eminence/snapshot_trim written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/eminence/snapshot_trim already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.24 [INFO] [stderr] Downloaded serde_derive_internals v0.18.0 [INFO] [stderr] Downloaded serde v1.0.24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", 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] 93b7b37f73cb21cb3e344b6006f260dce0a45bdd5a3207d01b78a5ed21ab3617 [INFO] running `Command { std: "docker" "start" "-a" "93b7b37f73cb21cb3e344b6006f260dce0a45bdd5a3207d01b78a5ed21ab3617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93b7b37f73cb21cb3e344b6006f260dce0a45bdd5a3207d01b78a5ed21ab3617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93b7b37f73cb21cb3e344b6006f260dce0a45bdd5a3207d01b78a5ed21ab3617", kill_on_drop: false }` [INFO] [stdout] 93b7b37f73cb21cb3e344b6006f260dce0a45bdd5a3207d01b78a5ed21ab3617 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", 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] f3b874dd0d3c39d1493ffa01ed88f91a8bf9a19e10cc99447b2c64d55601aa78 [INFO] running `Command { std: "docker" "start" "-a" "f3b874dd0d3c39d1493ffa01ed88f91a8bf9a19e10cc99447b2c64d55601aa78", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling toml v0.4.5 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling regex v0.2.3 [INFO] [stderr] Compiling docopt v0.8.1 [INFO] [stderr] Compiling snapshot_trim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | Err(e) => panic!(format!("{} - {}", e, snap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 35 - Err(e) => panic!(format!("{} - {}", e, snap)), [INFO] [stdout] 35 + Err(e) => panic!("{} - {}", e, snap), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/main.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | panic!("{} Error: ~/.snapshot.toml doesn't exist"); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 200 | panic!("{} Error: ~/.snapshot.toml doesn't exist", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 200 | panic!("{}", "{} Error: ~/.snapshot.toml doesn't exist"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | write!(fmt, "", self.snap, self.state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.96s [INFO] running `Command { std: "docker" "inspect" "f3b874dd0d3c39d1493ffa01ed88f91a8bf9a19e10cc99447b2c64d55601aa78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3b874dd0d3c39d1493ffa01ed88f91a8bf9a19e10cc99447b2c64d55601aa78", kill_on_drop: false }` [INFO] [stdout] f3b874dd0d3c39d1493ffa01ed88f91a8bf9a19e10cc99447b2c64d55601aa78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e7b34190eb36d8b689b2377defb4ffc638ec40a6f7ab416a62f316c1bae726b [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" "6e7b34190eb36d8b689b2377defb4ffc638ec40a6f7ab416a62f316c1bae726b", kill_on_drop: false }` [INFO] [stderr] Compiling snapshot_trim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | Err(e) => panic!(format!("{} - {}", e, snap)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 35 - Err(e) => panic!(format!("{} - {}", e, snap)), [INFO] [stdout] 35 + Err(e) => panic!("{} - {}", e, snap), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/main.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | panic!("{} Error: ~/.snapshot.toml doesn't exist"); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 200 | panic!("{} Error: ~/.snapshot.toml doesn't exist", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 200 | panic!("{}", "{} Error: ~/.snapshot.toml doesn't exist"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | write!(fmt, "", self.snap, self.state); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.34s [INFO] running `Command { std: "docker" "inspect" "6e7b34190eb36d8b689b2377defb4ffc638ec40a6f7ab416a62f316c1bae726b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e7b34190eb36d8b689b2377defb4ffc638ec40a6f7ab416a62f316c1bae726b", kill_on_drop: false }` [INFO] [stdout] 6e7b34190eb36d8b689b2377defb4ffc638ec40a6f7ab416a62f316c1bae726b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] 8d3fd00055c541beb9b0e8552c4b2cdec8c03928ee4b48b4b78cd4787038a0b7 [INFO] running `Command { std: "docker" "start" "-a" "8d3fd00055c541beb9b0e8552c4b2cdec8c03928ee4b48b4b78cd4787038a0b7", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:35:30 [INFO] [stderr] | [INFO] [stderr] 35 | Err(e) => panic!(format!("{} - {}", e, snap)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 35 - Err(e) => panic!(format!("{} - {}", e, snap)), [INFO] [stderr] 35 + Err(e) => panic!("{} - {}", e, snap), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message contains an unused formatting placeholder [INFO] [stderr] --> src/main.rs:200:17 [INFO] [stderr] | [INFO] [stderr] 200 | panic!("{} Error: ~/.snapshot.toml doesn't exist"); [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stderr] help: add the missing argument [INFO] [stderr] | [INFO] [stderr] 200 | panic!("{} Error: ~/.snapshot.toml doesn't exist", ...); [INFO] [stderr] | +++++ [INFO] [stderr] help: or add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 200 | panic!("{}", "{} Error: ~/.snapshot.toml doesn't exist"); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 66 | write!(fmt, "", self.snap, self.state); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `snapshot_trim` (bin "snapshot_trim" test) generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/snapshot_trim-6dd3fced2ef36e79) [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] running `Command { std: "docker" "inspect" "8d3fd00055c541beb9b0e8552c4b2cdec8c03928ee4b48b4b78cd4787038a0b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d3fd00055c541beb9b0e8552c4b2cdec8c03928ee4b48b4b78cd4787038a0b7", kill_on_drop: false }` [INFO] [stdout] 8d3fd00055c541beb9b0e8552c4b2cdec8c03928ee4b48b4b78cd4787038a0b7