[INFO] fetching crate rubbish 0.1.0... [INFO] building rubbish-0.1.0 against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] extracting crate rubbish 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate rubbish 0.1.0 on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "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-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding bincode v0.6.1 (available: v2.0.1) [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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bincode v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14e34aafa8dabb6576568e436d056f24b61eabcaae155613ec3f08ee9295d8cf [INFO] running `Command { std: "docker" "start" "-a" "14e34aafa8dabb6576568e436d056f24b61eabcaae155613ec3f08ee9295d8cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14e34aafa8dabb6576568e436d056f24b61eabcaae155613ec3f08ee9295d8cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14e34aafa8dabb6576568e436d056f24b61eabcaae155613ec3f08ee9295d8cf", kill_on_drop: false }` [INFO] [stdout] 14e34aafa8dabb6576568e436d056f24b61eabcaae155613ec3f08ee9295d8cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b706cb90aa12e72c0e2212527cd0b33db785a3ca1fd0ce9d5bfa0ae7f903b781 [INFO] running `Command { std: "docker" "start" "-a" "b706cb90aa12e72c0e2212527cd0b33db785a3ca1fd0ce9d5bfa0ae7f903b781", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling bincode v0.6.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rubbish v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [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] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [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] error: cannot find derive macro `RustcDecodable` in this scope [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] error: cannot find derive macro `RustcEncodable` in this scope [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] = 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/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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | pub type ObjectStorage = dyn ContentAddressibleStorage; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rubbish` (lib) due to 4 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b706cb90aa12e72c0e2212527cd0b33db785a3ca1fd0ce9d5bfa0ae7f903b781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b706cb90aa12e72c0e2212527cd0b33db785a3ca1fd0ce9d5bfa0ae7f903b781", kill_on_drop: false }` [INFO] [stdout] b706cb90aa12e72c0e2212527cd0b33db785a3ca1fd0ce9d5bfa0ae7f903b781