[INFO] updating cached repository https://github.com/HristoKolev/sync-dir
[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] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] bdbacd016edb41d6cf6755d1c294d6d9f5f3c059
[INFO] testing HristoKolev/sync-dir against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHristoKolev%2Fsync-dir" "/workspace/builds/worker-10/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/HristoKolev/sync-dir on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/HristoKolev/sync-dir
[INFO] finished tweaking git repo https://github.com/HristoKolev/sync-dir
[INFO] tweaked toml for git repo https://github.com/HristoKolev/sync-dir written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] crate git repo https://github.com/HristoKolev/sync-dir already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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" "+1.40.0" "build" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] d12bc4e03cb1a26626a1310a31da0cf42161675acb3577a482a7479af115f645
[INFO] running `"docker" "start" "-a" "d12bc4e03cb1a26626a1310a31da0cf42161675acb3577a482a7479af115f645"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling syn v0.15.36
[INFO] [stderr]    Compiling regex v1.1.7
[INFO] [stderr]    Compiling openssl v0.10.23
[INFO] [stderr]    Compiling openssl-src v111.3.0+1.1.1c
[INFO] [stderr]    Compiling tokio-sync v0.1.6
[INFO] [stderr]    Compiling serde v1.0.92
[INFO] [stderr]    Compiling regex-syntax v0.6.7
[INFO] [stderr]    Compiling crossbeam-channel v0.3.8
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling num_cpus v1.10.1
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling inotify-sys v0.1.3
[INFO] [stderr]    Compiling uname v0.1.1
[INFO] [stderr]    Compiling filetime v0.2.5
[INFO] [stderr]    Compiling hostname v0.1.5
[INFO] [stderr]    Compiling bstr v0.1.4
[INFO] [stderr]    Compiling backtrace-sys v0.1.28
[INFO] [stderr]    Compiling inotify v0.6.1
[INFO] [stderr]    Compiling futures-cpupool v0.1.8
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling backtrace v0.3.30
[INFO] [stderr]    Compiling miniz_oxide_c_api v0.2.1
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling im v12.3.4
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling mio v0.6.19
[INFO] [stderr]    Compiling openssl-sys v0.9.47
[INFO] [stderr]    Compiling tokio-threadpool v0.1.14
[INFO] [stderr]    Compiling cookie v0.12.0
[INFO] [stderr]    Compiling error-chain v0.12.1
[INFO] [stderr]    Compiling flate2 v1.0.7
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling tokio-io v0.1.12
[INFO] [stderr]    Compiling http v0.1.17
[INFO] [stderr]    Compiling string v0.2.0
[INFO] [stderr]    Compiling tokio-buf v0.1.1
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling mime_guess v2.0.0-alpha.6
[INFO] [stderr]    Compiling mio-extras v2.0.5
[INFO] [stderr]    Compiling tokio-reactor v0.1.9
[INFO] [stderr]    Compiling notify v4.0.12
[INFO] [stderr]    Compiling tokio-tcp v0.1.3
[INFO] [stderr]    Compiling tokio v0.1.21
[INFO] [stderr]    Compiling h2 v0.1.23
[INFO] [stderr]    Compiling http-body v0.1.0
[INFO] [stderr]    Compiling synstructure v0.10.2
[INFO] [stderr]    Compiling publicsuffix v1.5.2
[INFO] [stderr]    Compiling globset v0.4.3
[INFO] [stderr]    Compiling env_logger v0.6.1
[INFO] [stderr]    Compiling ignore v0.4.7
[INFO] [stderr]    Compiling serde_derive v1.0.92
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]    Compiling hyper v0.12.30
[INFO] [stderr]    Compiling failure v0.1.5
[INFO] [stderr]    Compiling native-tls v0.2.3
[INFO] [stderr]    Compiling serde_json v1.0.39
[INFO] [stderr]    Compiling uuid v0.7.4
[INFO] [stderr]    Compiling serde_urlencoded v0.5.5
[INFO] [stderr]    Compiling url_serde v0.2.0
[INFO] [stderr]    Compiling chrono v0.4.6
[INFO] [stderr]    Compiling debugid v0.4.0
[INFO] [stderr]    Compiling hyper-tls v0.3.2
[INFO] [stderr]    Compiling cookie_store v0.7.0
[INFO] [stderr]    Compiling sentry-types v0.11.0
[INFO] [stderr]    Compiling reqwest v0.9.18
[INFO] [stderr]    Compiling sentry v0.15.5
[INFO] [stderr]    Compiling sync-dir v0.1.6 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0308]: match arms have incompatible types
[INFO] [stderr]    --> src/global/extensions.rs:141:24
[INFO] [stderr]     |
[INFO] [stderr] 139 | /         match self {
[INFO] [stderr] 140 | |             None => None,
[INFO] [stderr]     | |                     ---- this is found to be of type `std::option::Option<T>`
[INFO] [stderr] 141 | |             Some(v) => v.flatten(),
[INFO] [stderr]     | |                        ^^^^^^^^^^^ expected type parameter, found enum `std::option::Option`
[INFO] [stderr] 142 | |         }
[INFO] [stderr]     | |_________- `match` arms have incompatible types
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected type `std::option::Option<T>`
[INFO] [stderr]                found type `std::option::Option<std::option::Option<T>>`
[INFO] [stderr]     = help: type parameters must be constrained to match other types
[INFO] [stderr]     = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: match arms have incompatible types
[INFO] [stderr]    --> src/global/extensions.rs:150:24
[INFO] [stderr]     |
[INFO] [stderr] 148 | /         match self {
[INFO] [stderr] 149 | |             None => None,
[INFO] [stderr]     | |                     ---- this is found to be of type `std::option::Option<T>`
[INFO] [stderr] 150 | |             Some(v) => v.flatten(),
[INFO] [stderr]     | |                        ^^^^^^^^^^^ expected type parameter, found enum `std::option::Option`
[INFO] [stderr] 151 | |         }
[INFO] [stderr]     | |_________- `match` arms have incompatible types
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected type `std::option::Option<T>`
[INFO] [stderr]                found type `std::option::Option<std::option::Option<std::option::Option<T>>>`
[INFO] [stderr]     = help: type parameters must be constrained to match other types
[INFO] [stderr]     = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `sync-dir`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "d12bc4e03cb1a26626a1310a31da0cf42161675acb3577a482a7479af115f645"`
[INFO] running `"docker" "rm" "-f" "d12bc4e03cb1a26626a1310a31da0cf42161675acb3577a482a7479af115f645"`
[INFO] [stdout] d12bc4e03cb1a26626a1310a31da0cf42161675acb3577a482a7479af115f645
