[INFO] cloning repository https://github.com/foxford/janus-p2p-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/foxford/janus-p2p-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoxford%2Fjanus-p2p-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoxford%2Fjanus-p2p-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ab056c2be138b09486d37104871a0c0abb589d0 [INFO] checking foxford/janus-p2p-rs against master#430feb24a46993e5073c1bb1b39da190d83fa2bf for pr-78363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoxford%2Fjanus-p2p-rs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/foxford/janus-p2p-rs on toolchain 430feb24a46993e5073c1bb1b39da190d83fa2bf [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/foxford/janus-p2p-rs [INFO] finished tweaking git repo https://github.com/foxford/janus-p2p-rs [INFO] tweaked toml for git repo https://github.com/foxford/janus-p2p-rs written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/foxford/janus-p2p-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "fetch" "--locked" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 01531e2804a9adb04b4a65f789d78be5507a6e37fd1c40218781d230d6810d6d [INFO] running `Command { std: "docker" "start" "-a" "01531e2804a9adb04b4a65f789d78be5507a6e37fd1c40218781d230d6810d6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01531e2804a9adb04b4a65f789d78be5507a6e37fd1c40218781d230d6810d6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01531e2804a9adb04b4a65f789d78be5507a6e37fd1c40218781d230d6810d6d", kill_on_drop: false }` [INFO] [stdout] 01531e2804a9adb04b4a65f789d78be5507a6e37fd1c40218781d230d6810d6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ad86386076efadc374e6f250ad61b2673bf85d422f6ccb751ce1d2228846ff7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7ad86386076efadc374e6f250ad61b2673bf85d422f6ccb751ce1d2228846ff7", kill_on_drop: false }` [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling jansson-sys v0.1.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking serde v1.0.21 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking cstr-macro v0.1.0 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking colored v1.6.0 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling glib-sys v0.4.0 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking num v0.1.40 [INFO] [stderr] Checking chrono v0.4.0 [INFO] [stderr] Compiling serde_derive_internals v0.17.0 [INFO] [stderr] Checking janus-plugin-sys v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.21 [INFO] [stderr] Checking serde_json v1.0.6 [INFO] [stderr] Checking janus-plugin v0.7.1 [INFO] [stderr] Checking janus-p2p v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/messages.rs:78:42 [INFO] [stdout] | [INFO] [stdout] 78 | ) -> ::std::result::Result> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:134:37 [INFO] [stdout] | [INFO] [stdout] 134 | type MessageResult = Result<(), Box>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/messages.rs:78:42 [INFO] [stdout] | [INFO] [stdout] 78 | ) -> ::std::result::Result> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:134:37 [INFO] [stdout] | [INFO] [stdout] 134 | type MessageResult = Result<(), Box>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / lazy_static! { [INFO] [stdout] 30 | | static ref CHANNEL: Mutex>> = Mutex::new(None); [INFO] [stdout] 31 | | static ref SESSIONS: RwLock>>> = RwLock::new(Vec::new()); [INFO] [stdout] 32 | | #[derive(Debug)] [INFO] [stdout] 33 | | static ref ROOMS: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / lazy_static! { [INFO] [stdout] 30 | | static ref CHANNEL: Mutex>> = Mutex::new(None); [INFO] [stdout] 31 | | static ref SESSIONS: RwLock>>> = RwLock::new(Vec::new()); [INFO] [stdout] 32 | | #[derive(Debug)] [INFO] [stdout] 33 | | static ref ROOMS: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / lazy_static! { [INFO] [stdout] 30 | | static ref CHANNEL: Mutex>> = Mutex::new(None); [INFO] [stdout] 31 | | static ref SESSIONS: RwLock>>> = RwLock::new(Vec::new()); [INFO] [stdout] 32 | | #[derive(Debug)] [INFO] [stdout] 33 | | static ref ROOMS: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / lazy_static! { [INFO] [stdout] 30 | | static ref CHANNEL: Mutex>> = Mutex::new(None); [INFO] [stdout] 31 | | static ref SESSIONS: RwLock>>> = RwLock::new(Vec::new()); [INFO] [stdout] 32 | | #[derive(Debug)] [INFO] [stdout] 33 | | static ref ROOMS: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / lazy_static! { [INFO] [stdout] 30 | | static ref CHANNEL: Mutex>> = Mutex::new(None); [INFO] [stdout] 31 | | static ref SESSIONS: RwLock>>> = RwLock::new(Vec::new()); [INFO] [stdout] 32 | | #[derive(Debug)] [INFO] [stdout] 33 | | static ref ROOMS: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / lazy_static! { [INFO] [stdout] 30 | | static ref CHANNEL: Mutex>> = Mutex::new(None); [INFO] [stdout] 31 | | static ref SESSIONS: RwLock>>> = RwLock::new(Vec::new()); [INFO] [stdout] 32 | | #[derive(Debug)] [INFO] [stdout] 33 | | static ref ROOMS: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / lazy_static! { [INFO] [stdout] 30 | | static ref CHANNEL: Mutex>> = Mutex::new(None); [INFO] [stdout] 31 | | static ref SESSIONS: RwLock>>> = RwLock::new(Vec::new()); [INFO] [stdout] 32 | | #[derive(Debug)] [INFO] [stdout] 33 | | static ref ROOMS: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / lazy_static! { [INFO] [stdout] 30 | | static ref CHANNEL: Mutex>> = Mutex::new(None); [INFO] [stdout] 31 | | static ref SESSIONS: RwLock>>> = RwLock::new(Vec::new()); [INFO] [stdout] 32 | | #[derive(Debug)] [INFO] [stdout] 33 | | static ref ROOMS: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / lazy_static! { [INFO] [stdout] 30 | | static ref CHANNEL: Mutex>> = Mutex::new(None); [INFO] [stdout] 31 | | static ref SESSIONS: RwLock>>> = RwLock::new(Vec::new()); [INFO] [stdout] 32 | | #[derive(Debug)] [INFO] [stdout] 33 | | static ref ROOMS: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / lazy_static! { [INFO] [stdout] 30 | | static ref CHANNEL: Mutex>> = Mutex::new(None); [INFO] [stdout] 31 | | static ref SESSIONS: RwLock>>> = RwLock::new(Vec::new()); [INFO] [stdout] 32 | | #[derive(Debug)] [INFO] [stdout] 33 | | static ref ROOMS: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / lazy_static! { [INFO] [stdout] 30 | | static ref CHANNEL: Mutex>> = Mutex::new(None); [INFO] [stdout] 31 | | static ref SESSIONS: RwLock>>> = RwLock::new(Vec::new()); [INFO] [stdout] 32 | | #[derive(Debug)] [INFO] [stdout] 33 | | static ref ROOMS: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / lazy_static! { [INFO] [stdout] 30 | | static ref CHANNEL: Mutex>> = Mutex::new(None); [INFO] [stdout] 31 | | static ref SESSIONS: RwLock>>> = RwLock::new(Vec::new()); [INFO] [stdout] 32 | | #[derive(Debug)] [INFO] [stdout] 33 | | static ref ROOMS: RwLock>> = RwLock::new(HashMap::new()); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:316:55 [INFO] [stdout] | [INFO] [stdout] 316 | json!({ "ok": false, "error": err.description() }), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:316:55 [INFO] [stdout] | [INFO] [stdout] 316 | json!({ "ok": false, "error": err.description() }), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/lib.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | &mut PLUGIN, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/lib.rs:351:1 [INFO] [stdout] | [INFO] [stdout] 351 | / const PLUGIN: Plugin = build_plugin!( [INFO] [stdout] 352 | | PluginMetadata { [INFO] [stdout] 353 | | version: 1, [INFO] [stdout] 354 | | version_str: c_str!("0.1"), [INFO] [stdout] ... | [INFO] [stdout] 371 | | query_session [INFO] [stdout] 372 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/lib.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | &mut PLUGIN, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/lib.rs:351:1 [INFO] [stdout] | [INFO] [stdout] 351 | / const PLUGIN: Plugin = build_plugin!( [INFO] [stdout] 352 | | PluginMetadata { [INFO] [stdout] 353 | | version: 1, [INFO] [stdout] 354 | | version_str: c_str!("0.1"), [INFO] [stdout] ... | [INFO] [stdout] 371 | | query_session [INFO] [stdout] 372 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.94s [INFO] running `Command { std: "docker" "inspect" "7ad86386076efadc374e6f250ad61b2673bf85d422f6ccb751ce1d2228846ff7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ad86386076efadc374e6f250ad61b2673bf85d422f6ccb751ce1d2228846ff7", kill_on_drop: false }` [INFO] [stdout] 7ad86386076efadc374e6f250ad61b2673bf85d422f6ccb751ce1d2228846ff7