[INFO] updating cached repository https://github.com/twilco/kosmonaut [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] [stderr] From https://github.com/twilco/kosmonaut [INFO] [stderr] * [new branch] layout-wip-1 -> layout-wip-1 [INFO] [stderr] 0b0b352..8cc01f7 master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8cc01f7e071945dee8f113e3a0135fac6f150688 [INFO] checking twilco/kosmonaut against try#7cb06892a23b4da510686618c8730f0b2e8bd952 for pr-66963 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwilco%2Fkosmonaut" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/twilco/kosmonaut on toolchain 7cb06892a23b4da510686618c8730f0b2e8bd952 [INFO] running `"/workspace/cargo-home/bin/cargo" "+7cb06892a23b4da510686618c8730f0b2e8bd952" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/twilco/kosmonaut [INFO] finished tweaking git repo https://github.com/twilco/kosmonaut [INFO] tweaked toml for git repo https://github.com/twilco/kosmonaut written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/twilco/kosmonaut already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+7cb06892a23b4da510686618c8730f0b2e8bd952" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+7cb06892a23b4da510686618c8730f0b2e8bd952" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4c4e954ef62aa1d93864657b35eaf0240bc525e0d6e78c715539cd04658b93bf [INFO] running `"docker" "start" "-a" "4c4e954ef62aa1d93864657b35eaf0240bc525e0d6e78c715539cd04658b93bf"` [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Compiling strsim v0.9.2 [INFO] [stderr] Compiling gio v0.7.0 [INFO] [stderr] Compiling cairo-rs v0.7.1 [INFO] [stderr] Compiling pango v0.7.0 [INFO] [stderr] Compiling gdk-pixbuf v0.7.0 [INFO] [stderr] Checking fragile v0.3.0 [INFO] [stderr] Compiling atk v0.7.0 [INFO] [stderr] Compiling gdk v0.11.0 [INFO] [stderr] Compiling procedural-masquerade v0.1.6 [INFO] [stderr] Compiling gtk v0.7.0 [INFO] [stderr] Compiling derive_builder v0.8.1 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Checking strum v0.16.0 [INFO] [stderr] Checking smallbitvec v2.4.0 [INFO] [stderr] Compiling glib-sys v0.9.0 [INFO] [stderr] Compiling gobject-sys v0.9.0 [INFO] [stderr] Compiling gio-sys v0.9.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.9.0 [INFO] [stderr] Compiling cairo-sys-rs v0.9.0 [INFO] [stderr] Compiling pango-sys v0.9.0 [INFO] [stderr] Compiling gdk-sys v0.9.0 [INFO] [stderr] Compiling atk-sys v0.9.0 [INFO] [stderr] Compiling gtk-sys v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking dtoa-short v0.3.2 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking getrandom v0.1.6 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking glib v0.8.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stderr] Compiling selectors v0.21.0 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Checking app_units v0.7.1 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling strum_macros v0.16.0 [INFO] [stderr] Compiling serde_derive v1.0.94 [INFO] [stderr] Compiling cssparser v0.25.8 [INFO] [stderr] Compiling html5ever v0.24.0 [INFO] [stderr] Compiling cssparser-macros v0.3.5 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.8.1 [INFO] [stderr] Compiling markup5ever v0.9.0 [INFO] [stderr] Checking kosmonaut v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `crate::style::values::computed::length::AbsoluteLength` [INFO] [stderr] --> src/style/properties/mod.rs:440:9 [INFO] [stderr] | [INFO] [stderr] 440 | use crate::style::values::computed::length::AbsoluteLength; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `AbsoluteLength` in `style::values::computed::length` [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::dom::tree::debug_recursive` [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use crate::dom::tree::debug_recursive; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::style::values::computed` [INFO] [stderr] --> src/style/mod.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use crate::style::values::computed; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::style::values::computed::length::CSSPixelLength` [INFO] [stderr] --> src/style/mod.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use crate::style::values::computed::length::CSSPixelLength; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `FontSize` [INFO] [stderr] --> src/style/mod.rs:16:70 [INFO] [stderr] | [INFO] [stderr] 16 | use crate::style::values::computed::{ComputeContext, ComputedValues, FontSize, ToComputedValue}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LengthPercentage` [INFO] [stderr] --> src/style/properties/mod.rs:449:72 [INFO] [stderr] | [INFO] [stderr] 449 | inner_decl: PropertyDeclaration::FontSize(FontSize::Length(LengthPercentage::Length( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `LengthPercentage` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LengthPercentage` [INFO] [stderr] --> src/style/properties/mod.rs:480:72 [INFO] [stderr] | [INFO] [stderr] 480 | inner_decl: PropertyDeclaration::FontSize(FontSize::Length(LengthPercentage::Length( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `LengthPercentage` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LengthPercentage` [INFO] [stderr] --> src/style/properties/mod.rs:500:72 [INFO] [stderr] | [INFO] [stderr] 500 | inner_decl: PropertyDeclaration::FontSize(FontSize::Length(LengthPercentage::Length( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `LengthPercentage` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LengthPercentage` [INFO] [stderr] --> src/style/properties/mod.rs:535:72 [INFO] [stderr] | [INFO] [stderr] 535 | inner_decl: PropertyDeclaration::FontSize(FontSize::Length(LengthPercentage::Length( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `LengthPercentage` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LengthPercentage` [INFO] [stderr] --> src/style/properties/mod.rs:600:72 [INFO] [stderr] | [INFO] [stderr] 600 | inner_decl: PropertyDeclaration::FontSize(FontSize::Length(LengthPercentage::Length( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `LengthPercentage` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LengthPercentage` [INFO] [stderr] --> src/style/properties/mod.rs:622:60 [INFO] [stderr] | [INFO] [stderr] 622 | PropertyDeclaration::FontSize(FontSize::Length(LengthPercentage::Length( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `LengthPercentage` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LengthPercentage` [INFO] [stderr] --> src/style/properties/mod.rs:628:60 [INFO] [stderr] | [INFO] [stderr] 628 | PropertyDeclaration::FontSize(FontSize::Length(LengthPercentage::Length( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `LengthPercentage` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LengthPercentage` [INFO] [stderr] --> src/style/properties/mod.rs:634:60 [INFO] [stderr] | [INFO] [stderr] 634 | PropertyDeclaration::FontSize(FontSize::Length(LengthPercentage::Length( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `LengthPercentage` [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` is ignored on function prototypes [INFO] [stderr] --> src/style/values/computed/mod.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` is ignored on function prototypes [INFO] [stderr] --> src/style/values/computed/mod.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::dom::tree::debug_recursive` [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use crate::dom::tree::debug_recursive; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::style::values::computed` [INFO] [stderr] --> src/style/mod.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use crate::style::values::computed; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::style::values::computed::length::CSSPixelLength` [INFO] [stderr] --> src/style/mod.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use crate::style::values::computed::length::CSSPixelLength; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `FontSize` [INFO] [stderr] --> src/style/mod.rs:16:70 [INFO] [stderr] | [INFO] [stderr] 16 | use crate::style::values::computed::{ComputeContext, ComputedValues, FontSize, ToComputedValue}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::style::values::computed::length::*` [INFO] [stderr] --> src/style/properties/mod.rs:437:9 [INFO] [stderr] | [INFO] [stderr] 437 | use crate::style::values::computed::length::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::dom::parser::parse_html` [INFO] [stderr] --> src/style/select.rs:452:9 [INFO] [stderr] | [INFO] [stderr] 452 | use crate::dom::parser::parse_html; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::dom::traits::TendrilSink` [INFO] [stderr] --> src/style/select.rs:453:9 [INFO] [stderr] | [INFO] [stderr] 453 | use crate::dom::traits::TendrilSink; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::dom::tree::debug_recursive` [INFO] [stderr] --> src/style/select.rs:454:9 [INFO] [stderr] | [INFO] [stderr] 454 | use crate::dom::tree::debug_recursive; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` is ignored on function prototypes [INFO] [stderr] --> src/style/values/computed/mod.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` is ignored on function prototypes [INFO] [stderr] --> src/style/values/computed/mod.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/style/properties/mod.rs:166:17 [INFO] [stderr] | [INFO] [stderr] 166 | _ => {} [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/style/properties/id.rs:428:13 [INFO] [stderr] | [INFO] [stderr] 428 | _ => unimplemented!( [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/style/values/computed/display.rs:52:22 [INFO] [stderr] | [INFO] [stderr] 52 | fn value_default(context: &ComputeContext) -> Self::ComputedValue { [INFO] [stderr] | ^^^^^^^ help: consider prefixing with an underscore: `_context` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0515]: cannot return value referencing local variable `child` [INFO] [stderr] --> src/layout/mod.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 31 | layout_box.children.push(LayoutBox::new(BoxType::Inline(&child))) [INFO] [stderr] | ------ `child` is borrowed here [INFO] [stderr] ... [INFO] [stderr] 38 | return Some(layout_box); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stderr] [INFO] [stderr] error[E0515]: cannot return value referencing local variable `child` [INFO] [stderr] --> src/layout/mod.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 28 | layout_box.children.push(LayoutBox::new(BoxType::Block(&child))) [INFO] [stderr] | ------ `child` is borrowed here [INFO] [stderr] ... [INFO] [stderr] 38 | return Some(layout_box); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0515`. [INFO] [stderr] error: could not compile `kosmonaut`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `kosmonaut`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4c4e954ef62aa1d93864657b35eaf0240bc525e0d6e78c715539cd04658b93bf"` [INFO] running `"docker" "rm" "-f" "4c4e954ef62aa1d93864657b35eaf0240bc525e0d6e78c715539cd04658b93bf"` [INFO] [stdout] 4c4e954ef62aa1d93864657b35eaf0240bc525e0d6e78c715539cd04658b93bf