[INFO] fetching crate oil_shared 0.1.0... [INFO] checking oil_shared-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate oil_shared 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate oil_shared 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate oil_shared 0.1.0 [INFO] finished tweaking crates.io crate oil_shared 0.1.0 [INFO] tweaked toml for crates.io crate oil_shared 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ee1f5fd5704ccf59be78d9290eaec386a1f625f2b9a9a762b541e999ba74b5e [INFO] running `Command { std: "docker" "start" "-a" "0ee1f5fd5704ccf59be78d9290eaec386a1f625f2b9a9a762b541e999ba74b5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ee1f5fd5704ccf59be78d9290eaec386a1f625f2b9a9a762b541e999ba74b5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ee1f5fd5704ccf59be78d9290eaec386a1f625f2b9a9a762b541e999ba74b5e", kill_on_drop: false }` [INFO] [stdout] 0ee1f5fd5704ccf59be78d9290eaec386a1f625f2b9a9a762b541e999ba74b5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f86710313c791aab75a08fd2b367dedd3369b7865cd1aa6486472a6d57867412 [INFO] running `Command { std: "docker" "start" "-a" "f86710313c791aab75a08fd2b367dedd3369b7865cd1aa6486472a6d57867412", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Checking oil_shared v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(plugin)] [INFO] [stdout] | ^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: plugins are no longer supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(plugin)] [INFO] [stdout] | ^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: plugins are no longer supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin` in this scope [INFO] [stdout] --> src/lib.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | #![plugin(phf_macros)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin` in this scope [INFO] [stdout] --> src/lib.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | #![plugin(phf_macros)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `phf_map` in this scope [INFO] [stdout] --> src/properties.rs:48:69 [INFO] [stdout] | [INFO] [stdout] 48 | pub static STYLE_PROPERTIES: phf::Map<&'static str, PropertyName> = phf_map! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `phf_map` in this scope [INFO] [stdout] --> src/properties.rs:48:69 [INFO] [stdout] | [INFO] [stdout] 48 | pub static STYLE_PROPERTIES: phf::Map<&'static str, PropertyName> = phf_map! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/asset.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | try!(write!(f, "ImageData {{ ")); [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/asset.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | try!(write!(f, "offset_x {:?}, ", self.offset_x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/asset.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | try!(write!(f, "ImageData {{ ")); [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/asset.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | try!(write!(f, "offset_y {:?}, ", self.offset_y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/asset.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | try!(write!(f, "offset_x {:?}, ", self.offset_x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/asset.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | try!(write!(f, "width {:?}, ", self.width)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/asset.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | try!(write!(f, "offset_y {:?}, ", self.offset_y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/asset.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | try!(write!(f, "height {:?} ", self.height)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/asset.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | try!(write!(f, "width {:?}, ", self.width)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/asset.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | try!(write!(f, "height {:?} ", self.height)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/markup.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Node { [INFO] [stdout] | --------------- doesn't satisfy `Node: Clone` [INFO] [stdout] ... [INFO] [stdout] 68 | children: other.children.clone(), [INFO] [stdout] | ^^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Node: Clone` [INFO] [stdout] which is required by `Vec: Clone` [INFO] [stdout] help: consider annotating `Node` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct Node { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/markup.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Node { [INFO] [stdout] | --------------- doesn't satisfy `Node: Clone` [INFO] [stdout] ... [INFO] [stdout] 68 | children: other.children.clone(), [INFO] [stdout] | ^^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Node: Clone` [INFO] [stdout] which is required by `Vec: Clone` [INFO] [stdout] help: consider annotating `Node` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Clone)] [INFO] [stdout] 20 | pub struct Node { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `image` [INFO] [stdout] --> src/asset.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 47 | let image = resource_manager.get_texture_id(&Path::new(path)); [INFO] [stdout] | ----- move occurs because `image` has type `ResourceId`, which does not implement the `Copy` trait [INFO] [stdout] 48 | let (iw, ih) = resource_manager.get_image_dimensions(image); [INFO] [stdout] | ----- value moved here [INFO] [stdout] ... [INFO] [stdout] 55 | img: image, [INFO] [stdout] | ^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `get_image_dimensions` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/resource.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_image_dimensions(&self, id: ResourceId) -> (u32, u32); [INFO] [stdout] | -------------------- ^^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] note: if `ResourceId` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/resource.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ResourceId(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/asset.rs:48:66 [INFO] [stdout] | [INFO] [stdout] 48 | let (iw, ih) = resource_manager.get_image_dimensions(image); [INFO] [stdout] | ----- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `image` [INFO] [stdout] --> src/asset.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 47 | let image = resource_manager.get_texture_id(&Path::new(path)); [INFO] [stdout] | ----- move occurs because `image` has type `ResourceId`, which does not implement the `Copy` trait [INFO] [stdout] 48 | let (iw, ih) = resource_manager.get_image_dimensions(image); [INFO] [stdout] | ----- value moved here [INFO] [stdout] ... [INFO] [stdout] 55 | img: image, [INFO] [stdout] | ^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `get_image_dimensions` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/resource.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_image_dimensions(&self, id: ResourceId) -> (u32, u32); [INFO] [stdout] | -------------------- ^^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] note: if `ResourceId` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/resource.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ResourceId(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/asset.rs:48:66 [INFO] [stdout] | [INFO] [stdout] 48 | let (iw, ih) = resource_manager.get_image_dimensions(image); [INFO] [stdout] | ----- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/asset.rs:70:38 [INFO] [stdout] | [INFO] [stdout] 70 | if let Constructor::Font(ref path, width, height) = *font_ctor { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/asset.rs:70:38 [INFO] [stdout] | [INFO] [stdout] 70 | if let Constructor::Font(ref path, width, height) = *font_ctor { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/asset.rs:70:44 [INFO] [stdout] | [INFO] [stdout] 70 | if let Constructor::Font(ref path, width, height) = *font_ctor { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/asset.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | if let Constructor::Font(ref path, width, height) = *font_ctor { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/asset.rs:70:44 [INFO] [stdout] | [INFO] [stdout] 70 | if let Constructor::Font(ref path, width, height) = *font_ctor { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/asset.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | if let Constructor::Font(ref path, width, height) = *font_ctor { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0557, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0557, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oil_shared` (lib) due to 6 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `oil_shared` (lib test) due to 6 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f86710313c791aab75a08fd2b367dedd3369b7865cd1aa6486472a6d57867412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f86710313c791aab75a08fd2b367dedd3369b7865cd1aa6486472a6d57867412", kill_on_drop: false }` [INFO] [stdout] f86710313c791aab75a08fd2b367dedd3369b7865cd1aa6486472a6d57867412