[INFO] cloning repository https://github.com/kush-bot/Browser_engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kush-bot/Browser_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkush-bot%2FBrowser_engine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkush-bot%2FBrowser_engine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 625ce2275c98db283631a2ade2ce9c652d7d6470
[INFO] testing kush-bot/Browser_engine against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkush-bot%2FBrowser_engine" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kush-bot/Browser_engine
[INFO] finished tweaking git repo https://github.com/kush-bot/Browser_engine
[INFO] tweaked toml for git repo https://github.com/kush-bot/Browser_engine written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kush-bot/Browser_engine on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kush-bot/Browser_engine already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ubyte v0.10.4
[INFO] [stderr]   Downloaded is-terminal v0.4.13
[INFO] [stderr]   Downloaded devise v0.4.2
[INFO] [stderr]   Downloaded hermit-abi v0.4.0
[INFO] [stderr]   Downloaded binascii v0.1.4
[INFO] [stderr]   Downloaded ref-cast-impl v1.0.23
[INFO] [stderr]   Downloaded pear_codegen v0.2.9
[INFO] [stderr]   Downloaded ref-cast v1.0.23
[INFO] [stderr]   Downloaded atomic v0.5.3
[INFO] [stderr]   Downloaded devise_codegen v0.4.2
[INFO] [stderr]   Downloaded pear v0.2.9
[INFO] [stderr]   Downloaded devise_core v0.4.2
[INFO] [stderr]   Downloaded redox_syscall v0.5.8
[INFO] [stderr]   Downloaded stable-pattern v0.1.0
[INFO] [stderr]   Downloaded state v0.6.0
[INFO] [stderr]   Downloaded time-macros v0.2.19
[INFO] [stderr]   Downloaded multer v3.1.0
[INFO] [stderr]   Downloaded cookie v0.18.1
[INFO] [stderr]   Downloaded tempfile v3.14.0
[INFO] [stderr]   Downloaded socket2 v0.5.8
[INFO] [stderr]   Downloaded generator v0.7.5
[INFO] [stderr]   Downloaded time v0.3.37
[INFO] [stderr]   Downloaded bytes v1.9.0
[INFO] [stderr]   Downloaded figment v0.10.19
[INFO] [stderr]   Downloaded loom v0.5.6
[INFO] [stderr]   Downloaded indexmap v2.7.0
[INFO] [stderr]   Downloaded rocket_http v0.5.1
[INFO] [stderr]   Downloaded http v1.2.0
[INFO] [stderr]   Downloaded cc v1.2.6
[INFO] [stderr]   Downloaded tokio-util v0.7.13
[INFO] [stderr]   Downloaded rocket_codegen v0.5.1
[INFO] [stderr]   Downloaded winnow v0.6.21
[INFO] [stderr]   Downloaded serde_json v1.0.134
[INFO] [stderr]   Downloaded rocket v0.5.1
[INFO] [stderr]   Downloaded hyper v0.14.32
[INFO] [stderr]   Downloaded syn v2.0.94
[INFO] [stderr]   Downloaded rustix v0.38.42
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bec6166d44158d3278d75f58c33a2b636ccdf756904bf4bbfba0f5271bcd4233
[INFO] running `Command { std: "docker" "start" "-a" "bec6166d44158d3278d75f58c33a2b636ccdf756904bf4bbfba0f5271bcd4233", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bec6166d44158d3278d75f58c33a2b636ccdf756904bf4bbfba0f5271bcd4233", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bec6166d44158d3278d75f58c33a2b636ccdf756904bf4bbfba0f5271bcd4233", kill_on_drop: false }`
[INFO] [stdout] bec6166d44158d3278d75f58c33a2b636ccdf756904bf4bbfba0f5271bcd4233
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 906df308b5cdf6cf37748e6e68ad2138c012517b6db073f8b428119740c61196
[INFO] running `Command { std: "docker" "start" "-a" "906df308b5cdf6cf37748e6e68ad2138c012517b6db073f8b428119740c61196", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling bytes v1.9.0
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling inlinable_string v0.1.15
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling time-macros v0.2.19
[INFO] [stderr]    Compiling syn v2.0.94
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling ref-cast v1.0.23
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling is-terminal v0.4.13
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling time v0.3.37
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling tokio v1.42.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]    Compiling winnow v0.6.21
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling rustix v0.38.42
[INFO] [stderr]    Compiling state v0.6.0
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]    Compiling figment v0.10.19
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling http v1.2.0
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling rocket v0.5.1
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling binascii v0.1.4
[INFO] [stderr]    Compiling atomic v0.5.3
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling devise_core v0.4.2
[INFO] [stderr]    Compiling tempfile v3.14.0
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling pear_codegen v0.2.9
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling ref-cast-impl v1.0.23
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling devise_codegen v0.4.2
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling pear v0.2.9
[INFO] [stderr]    Compiling devise v0.4.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rocket_http v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rocket_codegen v0.5.1
[INFO] [stderr]    Compiling tokio-util v0.7.13
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling ubyte v0.10.4
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling app v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: `if` and `else` have incompatible types
[INFO] [stdout]   --> src/lib.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 39 | /       if switch{
[INFO] [stdout] 40 | | /         NewsArticle{
[INFO] [stdout] 41 | | |             headlines:String::from("this is headline"),
[INFO] [stdout] 42 | | |             location:String::from("somewhere near here"),
[INFO] [stdout] 43 | | |             author:String::from("someone"),
[INFO] [stdout] 44 | | |             content:String::from("this is content")
[INFO] [stdout] 45 | | |         }
[INFO] [stdout]    | | |_________- expected because of this
[INFO] [stdout] ...  |
[INFO] [stdout] 48 | | /         Tweet{
[INFO] [stdout] 49 | | |             username:String::from("theTwitter"),
[INFO] [stdout] 50 | | |             content:String::from("the content"),
[INFO] [stdout] 51 | | |             retweet:false,
[INFO] [stdout] 52 | | |             replay:false,
[INFO] [stdout] 53 | | |         }
[INFO] [stdout]    | | |_________^ expected `NewsArticle`, found `Tweet`
[INFO] [stdout] 54 | |       }
[INFO] [stdout]    | |_______- `if` and `else` have incompatible types
[INFO] [stdout]    |
[INFO] [stdout] help: you could change the return type to be a boxed trait object
[INFO] [stdout]    |
[INFO] [stdout] 38 - pub fn return_summerizable(switch:bool)->impl Summary{
[INFO] [stdout] 38 + pub fn return_summerizable(switch:bool)->Box<dyn Summary>{
[INFO] [stdout]    |
[INFO] [stdout] help: if you change the return type to expect trait objects, box the returned expressions
[INFO] [stdout]    |
[INFO] [stdout] 40 ~         Box::new(NewsArticle{
[INFO] [stdout] 41 |             headlines:String::from("this is headline"),
[INFO] [stdout] ...
[INFO] [stdout] 44 |             content:String::from("this is content")
[INFO] [stdout] 45 ~         })
[INFO] [stdout] 46 |     }
[INFO] [stdout] 47 |     else{
[INFO] [stdout] 48 ~         Box::new(Tweet{
[INFO] [stdout] 49 |             username:String::from("theTwitter"),
[INFO] [stdout] ...
[INFO] [stdout] 52 |             replay:false,
[INFO] [stdout] 53 ~         })
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `app` (lib) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "906df308b5cdf6cf37748e6e68ad2138c012517b6db073f8b428119740c61196", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "906df308b5cdf6cf37748e6e68ad2138c012517b6db073f8b428119740c61196", kill_on_drop: false }`
[INFO] [stdout] 906df308b5cdf6cf37748e6e68ad2138c012517b6db073f8b428119740c61196
