[INFO] cloning repository https://github.com/rightfold/chainsaw [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rightfold/chainsaw" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frightfold%2Fchainsaw", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frightfold%2Fchainsaw'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e9f0b604c693b2622711b0863ee9d872fd6a494 [INFO] checking rightfold/chainsaw against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frightfold%2Fchainsaw" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rightfold/chainsaw on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rightfold/chainsaw [INFO] finished tweaking git repo https://github.com/rightfold/chainsaw [INFO] tweaked toml for git repo https://github.com/rightfold/chainsaw written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rightfold/chainsaw 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44675225205f46ea9c2d72e17beb019b89bfc6ac4331e4f64beac1927817c30c [INFO] running `Command { std: "docker" "start" "-a" "44675225205f46ea9c2d72e17beb019b89bfc6ac4331e4f64beac1927817c30c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44675225205f46ea9c2d72e17beb019b89bfc6ac4331e4f64beac1927817c30c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44675225205f46ea9c2d72e17beb019b89bfc6ac4331e4f64beac1927817c30c", kill_on_drop: false }` [INFO] [stdout] 44675225205f46ea9c2d72e17beb019b89bfc6ac4331e4f64beac1927817c30c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55988512e5f9943599df4c0142c67ca4ac34c3766c27fae3e6dc89b30406d67a [INFO] running `Command { std: "docker" "start" "-a" "55988512e5f9943599df4c0142c67ca4ac34c3766c27fae3e6dc89b30406d67a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.20 [INFO] [stderr] Checking chainsaw v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | let mut buf_reader = BufReader::new(try!(File::open(path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let full_line = try!(line_result); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | Ok(Config{store: try!(store.ok_or(Error::MissingStore)), logs: logs}) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | let file = try!(Appender::open(&clock, store, log)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | try!(file.write_all(&FILE_HEADER)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | let mut file = try!(OpenOptions::new().create_new(true).append(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | try!(self.file.write_all(&binary::encode_u32(record.len() as u32))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | try!(self.file.write_all(record)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | try!(self.file.write_all(&binary::encode_u32(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | self.file = try!(Self::open(&self.clock, self.store, self.log)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | let mut buf_reader = BufReader::new(try!(File::open(path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let full_line = try!(line_result); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | Ok(Config{store: try!(store.ok_or(Error::MissingStore)), logs: logs}) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | let file = try!(Appender::open(&clock, store, log)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | try!(file.write_all(&FILE_HEADER)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | let mut file = try!(OpenOptions::new().create_new(true).append(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | try!(self.file.write_all(&binary::encode_u32(record.len() as u32))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | try!(self.file.write_all(record)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | try!(self.file.write_all(&binary::encode_u32(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | self.file = try!(Self::open(&self.clock, self.store, self.log)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/config.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | { logs.insert(line[4..].trim_left().to_string()); }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 48 | { logs.insert(line[4..].trim_start().to_string()); }, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/config.rs:50:59 [INFO] [stdout] | [INFO] [stdout] 50 | store = Some(PathBuf::from(&line[6..].trim_left())), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 50 | store = Some(PathBuf::from(&line[6..].trim_start())), [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/config.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | { logs.insert(line[4..].trim_left().to_string()); }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 48 | { logs.insert(line[4..].trim_start().to_string()); }, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/config.rs:50:59 [INFO] [stdout] | [INFO] [stdout] 50 | store = Some(PathBuf::from(&line[6..].trim_left())), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 50 | store = Some(PathBuf::from(&line[6..].trim_start())), [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zmq.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn connect(&mut self, mut endpoint: &mut Vec) -> io::Result<()> { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zmq.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn connect(&mut self, mut endpoint: &mut Vec) -> io::Result<()> { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | let config_path = try!(env::args().nth(1).ok_or(Error::MissingConfigPath)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | let config = try!(Config::new_from_file(config_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | zmq: try!(zmq::Context::new()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | let mut pub_ = try!(make_pub(&global.zmq)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | try!(pub_.bind(&mut INPROC_ADDRESS.to_vec())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | let mut pub_ = try!(zmq::Socket::new(zmq, zmq::SocketType::PUB)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | try!(sub.connect(&mut INPROC_ADDRESS.to_vec())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | try!(sub.subscribe(log.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | let mut sub = try!(zmq::Socket::new(&global.zmq, zmq::SocketType::SUB)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | let mut appender = try!(log::open_for_append(clock, &global.store, log)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | try!(sub.receive(&mut message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | try!(appender.append(message.data())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | let config_path = try!(env::args().nth(1).ok_or(Error::MissingConfigPath)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | let config = try!(Config::new_from_file(config_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | zmq: try!(zmq::Context::new()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | let mut pub_ = try!(make_pub(&global.zmq)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | try!(pub_.bind(&mut INPROC_ADDRESS.to_vec())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | let mut pub_ = try!(zmq::Socket::new(zmq, zmq::SocketType::PUB)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | try!(sub.connect(&mut INPROC_ADDRESS.to_vec())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | try!(sub.subscribe(log.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | let mut sub = try!(zmq::Socket::new(&global.zmq, zmq::SocketType::SUB)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | let mut appender = try!(log::open_for_append(clock, &global.store, log)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | try!(sub.receive(&mut message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/chainsawd.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | try!(appender.append(message.data())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pub_` [INFO] [stdout] --> src/bin/chainsawd.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut pub_ = try!(make_pub(&global.zmq)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pub_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pub_` [INFO] [stdout] --> src/bin/chainsawd.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut pub_ = try!(make_pub(&global.zmq)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pub_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/chainsawd.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let mut pub_ = try!(make_pub(&global.zmq)); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/chainsawd.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let mut pub_ = try!(make_pub(&global.zmq)); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/chainsawd.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | ConfigError(config::Error), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 | ConfigError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/chainsawd.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | IOError(io::Error), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | IOError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/chainsawd.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | ConfigError(config::Error), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 | ConfigError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/chainsawd.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | IOError(io::Error), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | IOError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "55988512e5f9943599df4c0142c67ca4ac34c3766c27fae3e6dc89b30406d67a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55988512e5f9943599df4c0142c67ca4ac34c3766c27fae3e6dc89b30406d67a", kill_on_drop: false }` [INFO] [stdout] 55988512e5f9943599df4c0142c67ca4ac34c3766c27fae3e6dc89b30406d67a [INFO] checking rightfold/chainsaw against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frightfold%2Fchainsaw" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rightfold/chainsaw on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rightfold/chainsaw [INFO] finished tweaking git repo https://github.com/rightfold/chainsaw [INFO] tweaked toml for git repo https://github.com/rightfold/chainsaw written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rightfold/chainsaw 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 528e4a88e57f79ed4ac2b49fef6b56cf143a3f8178601115124ce6a227003a59 [INFO] running `Command { std: "docker" "start" "-a" "528e4a88e57f79ed4ac2b49fef6b56cf143a3f8178601115124ce6a227003a59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "528e4a88e57f79ed4ac2b49fef6b56cf143a3f8178601115124ce6a227003a59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "528e4a88e57f79ed4ac2b49fef6b56cf143a3f8178601115124ce6a227003a59", kill_on_drop: false }` [INFO] [stdout] 528e4a88e57f79ed4ac2b49fef6b56cf143a3f8178601115124ce6a227003a59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f27631c5b245c0981ae51d0841d966594c75d54f62a644d627222f7b8cdc7a32 [INFO] running `Command { std: "docker" "start" "-a" "f27631c5b245c0981ae51d0841d966594c75d54f62a644d627222f7b8cdc7a32", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.20 [INFO] [stderr] Checking chainsaw v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | let mut buf_reader = BufReader::new(try!(File::open(path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let full_line = try!(line_result); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | Ok(Config{store: try!(store.ok_or(Error::MissingStore)), logs: logs}) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | let file = try!(Appender::open(&clock, store, log)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | try!(file.write_all(&FILE_HEADER)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | let mut file = try!(OpenOptions::new().create_new(true).append(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | try!(self.file.write_all(&binary::encode_u32(record.len() as u32))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | try!(self.file.write_all(record)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | try!(self.file.write_all(&binary::encode_u32(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | self.file = try!(Self::open(&self.clock, self.store, self.log)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | let mut buf_reader = BufReader::new(try!(File::open(path))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let full_line = try!(line_result); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | Ok(Config{store: try!(store.ok_or(Error::MissingStore)), logs: logs}) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | let file = try!(Appender::open(&clock, store, log)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | try!(file.write_all(&FILE_HEADER)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | let mut file = try!(OpenOptions::new().create_new(true).append(true).open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | try!(self.file.write_all(&binary::encode_u32(record.len() as u32))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | try!(self.file.write_all(record)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | try!(self.file.write_all(&binary::encode_u32(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/log.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | self.file = try!(Self::open(&self.clock, self.store, self.log)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/config.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | { logs.insert(line[4..].trim_left().to_string()); }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 48 | { logs.insert(line[4..].trim_start().to_string()); }, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/config.rs:50:59 [INFO] [stdout] | [INFO] [stdout] 50 | store = Some(PathBuf::from(&line[6..].trim_left())), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 50 | store = Some(PathBuf::from(&line[6..].trim_start())), [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/config.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | { logs.insert(line[4..].trim_left().to_string()); }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 48 | { logs.insert(line[4..].trim_start().to_string()); }, [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/config.rs:50:59 [INFO] [stdout] | [INFO] [stdout] 50 | store = Some(PathBuf::from(&line[6..].trim_left())), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 50 | store = Some(PathBuf::from(&line[6..].trim_start())), [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zmq.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn connect(&mut self, mut endpoint: &mut Vec) -> io::Result<()> { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 40 | let mut logs = HashSet::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | Ok(Config{store: try!(store.ok_or(Error::MissingStore)), logs: logs}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/log.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn open_for_append<'s, 'l, C>(clock: C, store: &'s Path, log: &'l str) -> io::Result> [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | where C: Fn() -> SystemTime { [INFO] [stdout] 31 | let file = try!(Appender::open(&clock, store, log)); [INFO] [stdout] | ---- ---------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | Ok(Appender{clock: clock, store: store, log: log, file: file, record_count: 0}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zmq.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn connect(&mut self, mut endpoint: &mut Vec) -> io::Result<()> { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chainsaw` (lib) due to 3 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 40 | let mut logs = HashSet::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | Ok(Config{store: try!(store.ok_or(Error::MissingStore)), logs: logs}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/log.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn open_for_append<'s, 'l, C>(clock: C, store: &'s Path, log: &'l str) -> io::Result> [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | where C: Fn() -> SystemTime { [INFO] [stdout] 31 | let file = try!(Appender::open(&clock, store, log)); [INFO] [stdout] | ---- ---------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | Ok(Appender{clock: clock, store: store, log: log, file: file, record_count: 0}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chainsaw` (lib test) due to 3 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f27631c5b245c0981ae51d0841d966594c75d54f62a644d627222f7b8cdc7a32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f27631c5b245c0981ae51d0841d966594c75d54f62a644d627222f7b8cdc7a32", kill_on_drop: false }` [INFO] [stdout] f27631c5b245c0981ae51d0841d966594c75d54f62a644d627222f7b8cdc7a32