[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoxford%2Fjanus-p2p-rs" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/foxford/janus-p2p-rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-13/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glib-sys v0.4.0 [INFO] [stderr] Downloaded jansson-sys v0.1.0 [INFO] [stderr] Downloaded janus-plugin-sys v0.5.0 [INFO] [stderr] Downloaded janus-plugin v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8abb4db32319f5121cc2627fd3d569d6df5713625b2a9ece07d725b234a62ba9 [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" "8abb4db32319f5121cc2627fd3d569d6df5713625b2a9ece07d725b234a62ba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8abb4db32319f5121cc2627fd3d569d6df5713625b2a9ece07d725b234a62ba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8abb4db32319f5121cc2627fd3d569d6df5713625b2a9ece07d725b234a62ba9", kill_on_drop: false }` [INFO] [stdout] 8abb4db32319f5121cc2627fd3d569d6df5713625b2a9ece07d725b234a62ba9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0558c7a5db224ad4d45c87efdb4f00a243eb33b84c9924854c6a57b3d348317 [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" "d0558c7a5db224ad4d45c87efdb4f00a243eb33b84c9924854c6a57b3d348317", kill_on_drop: false }` [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Compiling jansson-sys v0.1.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking lazy_static v0.2.10 [INFO] [stderr] Checking cstr-macro v0.1.0 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Compiling glib-sys v0.4.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking colored v1.6.0 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking serde_json v1.0.6 [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] Checking janus-plugin v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.21 [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: 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: 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: 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: 10 warnings emitted [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.43s [INFO] running `Command { std: "docker" "inspect" "d0558c7a5db224ad4d45c87efdb4f00a243eb33b84c9924854c6a57b3d348317", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0558c7a5db224ad4d45c87efdb4f00a243eb33b84c9924854c6a57b3d348317", kill_on_drop: false }` [INFO] [stdout] d0558c7a5db224ad4d45c87efdb4f00a243eb33b84c9924854c6a57b3d348317