[INFO] cloning repository https://github.com/osddeitf/janus-proxy-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/osddeitf/janus-proxy-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosddeitf%2Fjanus-proxy-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosddeitf%2Fjanus-proxy-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30c63561b750088feaf1d2fb50a5488dd853cdd6 [INFO] testing osddeitf/janus-proxy-rust against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosddeitf%2Fjanus-proxy-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/osddeitf/janus-proxy-rust [INFO] finished tweaking git repo https://github.com/osddeitf/janus-proxy-rust [INFO] tweaked toml for git repo https://github.com/osddeitf/janus-proxy-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/osddeitf/janus-proxy-rust on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/osddeitf/janus-proxy-rust 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arc-swap v0.4.7 [INFO] [stderr] Downloaded signal-hook-registry v1.2.1 [INFO] [stderr] Downloaded serde_with_macros v1.2.0-alpha.3 [INFO] [stderr] Downloaded proc-macro-hack v0.5.18 [INFO] [stderr] Downloaded pin-project-internal v0.4.23 [INFO] [stderr] Downloaded async-trait v0.1.40 [INFO] [stderr] Downloaded pin-project v0.4.23 [INFO] [stderr] Downloaded serde_with v1.5.0-alpha.2 [INFO] [stderr] Downloaded unicode-normalization v0.1.13 [INFO] [stderr] Downloaded tokio-tungstenite v0.11.0 [INFO] [stderr] Downloaded syn v1.0.40 [INFO] [stderr] Downloaded socket2 v0.3.15 [INFO] [stderr] Downloaded miow v0.3.5 [INFO] [stderr] Downloaded mio-named-pipes v0.1.7 [INFO] [stderr] Downloaded net2 v0.2.35 [INFO] [stderr] Downloaded tinyvec v0.3.4 [INFO] [stderr] Downloaded tokio v0.2.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2268561c6e4f63b7919fc257b968a51398dc637575fe1252cdbd8a7b5f8197ea [INFO] running `Command { std: "docker" "start" "-a" "2268561c6e4f63b7919fc257b968a51398dc637575fe1252cdbd8a7b5f8197ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2268561c6e4f63b7919fc257b968a51398dc637575fe1252cdbd8a7b5f8197ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2268561c6e4f63b7919fc257b968a51398dc637575fe1252cdbd8a7b5f8197ea", kill_on_drop: false }` [INFO] [stdout] 2268561c6e4f63b7919fc257b968a51398dc637575fe1252cdbd8a7b5f8197ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 346e385d2a978af5fbedf65f817e05c9a88bf8288392df370447ada90f66a144 [INFO] running `Command { std: "docker" "start" "-a" "346e385d2a978af5fbedf65f817e05c9a88bf8288392df370447ada90f66a144", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.40 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling serde_with_macros v1.2.0-alpha.3 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling tokio-tungstenite v0.11.0 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling serde_with v1.5.0-alpha.2 [INFO] [stderr] Compiling janus-proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `str` should have an upper camel case name [INFO] [stdout] --> src/janus/plugin/videoroom/request_mixin.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Identity { Integer, str } [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/janus/plugin/videoroom/mod.rs:204:70 [INFO] [stdout] | [INFO] [stdout] 204 | let room_params = self.state.get_room_parameters(¶ms.room); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^ expected `&u64`, found `&Identity` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&u64` [INFO] [stdout] found reference `&request_mixin::Identity` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/janus/plugin/videoroom/provider.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn get_room_parameters(&self, room: &u64) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ---- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `request_mixin::Identity: Serialize` is not satisfied [INFO] [stdout] --> src/janus/plugin/videoroom/request.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[skip_serializing_none] [INFO] [stdout] | ------------------------ required by a bound introduced by this call [INFO] [stdout] 8 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `request_mixin::Identity` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 140 others [INFO] [stdout] = note: required for `std::option::Option` to implement `Serialize` [INFO] [stdout] note: required by a bound in `core::request::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.116/src/ser/mod.rs:1877:12 [INFO] [stdout] | [INFO] [stdout] 1871 | fn serialize_field( [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 1877 | T: Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `request_mixin::Identity: Serialize` is not satisfied [INFO] [stdout] --> src/janus/plugin/videoroom/request.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `request_mixin::Identity` [INFO] [stdout] ... [INFO] [stdout] 150 | pub room: Identity, [INFO] [stdout] | ------------------ required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 140 others [INFO] [stdout] note: required by a bound in `serialize_entry` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.116/src/ser/mod.rs:1820:12 [INFO] [stdout] | [INFO] [stdout] 1813 | fn serialize_entry( [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 1820 | V: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeMap::serialize_entry` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/janus/plugin/videoroom/provider.rs:51:44 [INFO] [stdout] | [INFO] [stdout] 51 | self.params.lock().unwrap().insert(room.room.unwrap(), serde_json::to_string(&room).unwrap()); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^ expected `u64`, found `Identity` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/collections/hash/map.rs:1203:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/janus/plugin/videoroom/mod.rs:300:40 [INFO] [stdout] | [INFO] [stdout] 300 | if self.state.has_room(&room) { [INFO] [stdout] | -------- ^^^^^ expected `&u64`, found `&Identity` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&u64` [INFO] [stdout] found reference `&request_mixin::Identity` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/janus/plugin/videoroom/provider.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn has_room(&self, id: &u64) -> bool; [INFO] [stdout] | ^^^^^^^^ -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `request_mixin::Identity` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/janus/plugin/videoroom/mod.rs:301:121 [INFO] [stdout] | [INFO] [stdout] 301 | return Err(VideoroomError::new(JANUS_VIDEOROOM_ERROR_ROOM_EXISTS, format!("Room {} already exists", room))) [INFO] [stdout] | ^^^^ `request_mixin::Identity` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `request_mixin::Identity` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/janus/plugin/videoroom/mod.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 298 | let room = match params.room { [INFO] [stdout] | ____________________- [INFO] [stdout] 299 | | Some(room) => { [INFO] [stdout] 300 | | if self.state.has_room(&room) { [INFO] [stdout] 301 | | return Err(VideoroomError::new(JANUS_VIDEOROOM_ERROR_ROOM_EXISTS, format!("Room {} already exists", room))) [INFO] [stdout] 302 | | } [INFO] [stdout] 303 | | room [INFO] [stdout] | | ---- this is found to be of type `request_mixin::Identity` [INFO] [stdout] 304 | | }, [INFO] [stdout] 305 | | None => self.state.new_room_id() [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `Identity`, found `u64` [INFO] [stdout] 306 | | }; [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `janus-proxy` (lib) due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "346e385d2a978af5fbedf65f817e05c9a88bf8288392df370447ada90f66a144", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "346e385d2a978af5fbedf65f817e05c9a88bf8288392df370447ada90f66a144", kill_on_drop: false }` [INFO] [stdout] 346e385d2a978af5fbedf65f817e05c9a88bf8288392df370447ada90f66a144