[INFO] fetching crate wbs-backup 0.1.8... [INFO] testing wbs-backup-0.1.8 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate wbs-backup 0.1.8 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate wbs-backup 0.1.8 [INFO] finished tweaking crates.io crate wbs-backup 0.1.8 [INFO] tweaked toml for crates.io crate wbs-backup 0.1.8 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wbs-backup 0.1.8 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding time v0.1.45 (available: v0.3.42) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `src/backup-daemon.rs` was erroneously implicitly accepted for binary `backup-daemon`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f69b111a616db15cb0a39eaffdc07bf7d18f33ef62031818dc6496922a607fbe [INFO] running `Command { std: "docker" "start" "-a" "f69b111a616db15cb0a39eaffdc07bf7d18f33ef62031818dc6496922a607fbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f69b111a616db15cb0a39eaffdc07bf7d18f33ef62031818dc6496922a607fbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f69b111a616db15cb0a39eaffdc07bf7d18f33ef62031818dc6496922a607fbe", kill_on_drop: false }` [INFO] [stdout] f69b111a616db15cb0a39eaffdc07bf7d18f33ef62031818dc6496922a607fbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b042854523ae8e586ad627f96677ec484016584b00239047f24acb071f93af6 [INFO] running `Command { std: "docker" "start" "-a" "5b042854523ae8e586ad627f96677ec484016584b00239047f24acb071f93af6", kill_on_drop: false }` [INFO] [stderr] warning: path `src/backup-daemon.rs` was erroneously implicitly accepted for binary `backup-daemon`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling wbs-backup v0.1.8 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `wbs-backup` (bin "backup-daemon") due to 13 previous errors; 9 warnings emitted [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/wbs/backup/config.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive (RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/wbs/backup/config.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive (RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/wbs/backup/config.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive (RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/wbs/backup/config.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive (RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/wbs/backup/state.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive (RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/wbs/backup/state.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | #[derive (RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/wbs/backup/state.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive (RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/wbs/backup/state.rs:86:27 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive (RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/wbs/backup/state.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive (RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/wbs/backup/state.rs:100:27 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive (RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wbs/backup/run.rs:81:2 [INFO] [stdout] | [INFO] [stdout] 81 | try! (write! ( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wbs/backup/run.rs:85:2 [INFO] [stdout] | [INFO] [stdout] 85 | try! (output_file.write ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wbs/backup/run.rs:88:2 [INFO] [stdout] | [INFO] [stdout] 88 | try! (write! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wbs/backup/run.rs:92:2 [INFO] [stdout] | [INFO] [stdout] 92 | try! (output_file.write ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wbs/backup/run.rs:95:2 [INFO] [stdout] | [INFO] [stdout] 95 | try! (write! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wbs/backup/state.rs:438:3 [INFO] [stdout] | [INFO] [stdout] 438 | try! { write! (&mut file, "{}\n", & state_json.to_string ()) } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wbs/backup/state.rs:439:3 [INFO] [stdout] | [INFO] [stdout] 439 | try! { file.sync_all () } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/wbs/backup/state.rs:436:18 [INFO] [stdout] | [INFO] [stdout] 436 | let mut file = try! { File::create (state_path_temp) }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/wbs/backup/main.rs:145:11 [INFO] [stdout] | [INFO] [stdout] 145 | thread::sleep_ms (1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `config::Config: Decodable` is not satisfied [INFO] [stdout] --> src/wbs/backup/config.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | / json::decode ( [INFO] [stdout] 64 | | & config_json, [INFO] [stdout] 65 | | ).unwrap_or_else ( [INFO] [stdout] | |_____________^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Decodable` is not implemented for `config::Config` [INFO] [stdout] --> src/wbs/backup/config.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required by a bound in `rustc_serialize::json::decode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/json.rs:379:18 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn decode(s: &str) -> DecodeResult { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DiskState: Decodable` is not satisfied [INFO] [stdout] --> src/wbs/backup/state.rs:339:4 [INFO] [stdout] | [INFO] [stdout] 339 | / json::decode ( [INFO] [stdout] 340 | | & state_json [INFO] [stdout] 341 | | ).unwrap_or_else ( [INFO] [stdout] | |_____________^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Decodable` is not implemented for `DiskState` [INFO] [stdout] --> src/wbs/backup/state.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | struct DiskState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required by a bound in `rustc_serialize::json::decode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/json.rs:379:18 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn decode(s: &str) -> DecodeResult { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DiskState: Encodable` is not satisfied [INFO] [stdout] --> src/wbs/backup/state.rs:464:18 [INFO] [stdout] | [INFO] [stdout] 464 | json::encode (& disk_state).unwrap (); [INFO] [stdout] | ------------ ^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Encodable` is not implemented for `DiskState` [INFO] [stdout] --> src/wbs/backup/state.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | struct DiskState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 75 others [INFO] [stdout] note: required by a bound in `rustc_serialize::json::encode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/json.rs:390:18 [INFO] [stdout] | [INFO] [stdout] 390 | pub fn encode(object: &T) -> EncodeResult { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5b042854523ae8e586ad627f96677ec484016584b00239047f24acb071f93af6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b042854523ae8e586ad627f96677ec484016584b00239047f24acb071f93af6", kill_on_drop: false }` [INFO] [stdout] 5b042854523ae8e586ad627f96677ec484016584b00239047f24acb071f93af6