[INFO] fetching crate xxcalc 0.2.1... [INFO] checking xxcalc-0.2.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate xxcalc 0.2.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate xxcalc 0.2.1 [INFO] finished tweaking crates.io crate xxcalc 0.2.1 [INFO] tweaked toml for crates.io crate xxcalc 0.2.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate xxcalc 0.2.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding rustyline v1.0.0 (available: v17.0.1) [INFO] [stderr] Adding smallvec v0.2.1 (available: v1.15.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded encode_unicode v0.1.3 [INFO] [stderr] Downloaded rustyline v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 743f2e718119aedc37f82067f1ff09371ca84f6dba142525fe5168f57b324161 [INFO] running `Command { std: "docker" "start" "-a" "743f2e718119aedc37f82067f1ff09371ca84f6dba142525fe5168f57b324161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "743f2e718119aedc37f82067f1ff09371ca84f6dba142525fe5168f57b324161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "743f2e718119aedc37f82067f1ff09371ca84f6dba142525fe5168f57b324161", kill_on_drop: false }` [INFO] [stdout] 743f2e718119aedc37f82067f1ff09371ca84f6dba142525fe5168f57b324161 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5db90ad70e59290884bb41c051e7d9169d50589866a5f8c010054b8902b745e2 [INFO] running `Command { std: "docker" "start" "-a" "5db90ad70e59290884bb41c051e7d9169d50589866a5f8c010054b8902b745e2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking xxcalc v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `tokenize` [INFO] [stdout] --> src/tokenizer.rs:267:14 [INFO] [stdout] | [INFO] [stdout] 267 | macro_rules! tokenize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `tokenize_ref` [INFO] [stdout] --> src/tokenizer.rs:271:14 [INFO] [stdout] | [INFO] [stdout] 271 | macro_rules! tokenize_ref { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/evaluator.rs:250:24 [INFO] [stdout] | [INFO] [stdout] 250 | let result = try!(self.call_function(&x.to_string(), position, &mut stack)); [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/evaluator.rs:261:24 [INFO] [stdout] | [INFO] [stdout] 261 | let result = try!(self.call_function(&x, position, &mut stack)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/calculator.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | let parsed_tokens = try!(parser.process(tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/calculator.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | let evaluated = try!(evaluator.process(parsed_tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/polynomial_calculator.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | Ok(Polynomial::constant(try!(args[0].as_f64()).log(try!(args[1].as_f64())))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/polynomial_calculator.rs:261:56 [INFO] [stdout] | [INFO] [stdout] 261 | Ok(Polynomial::constant(try!(args[0].as_f64()).log(try!(args[1].as_f64())))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/polynomial_calculator.rs:280:29 [INFO] [stdout] | [INFO] [stdout] 280 | Ok(Polynomial::constant(try!(args[0].as_f64()).log10())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/polynomial_calculator.rs:302:21 [INFO] [stdout] | [INFO] [stdout] 302 | Ok(args[0].bind(try!(args[1].as_f64()))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/evaluator.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | pub type FunctionHandle = Box) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | pub type FunctionHandle = Box) -> Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/polynomial.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 416 | self + &other; [INFO] [stdout] | ^^^^^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 416 | let _ = self + &other; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/polynomial.rs:500:5 [INFO] [stdout] | [INFO] [stdout] 500 | self - &other; [INFO] [stdout] | ^^^^^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 500 | let _ = self - &other; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/polynomial.rs:596:5 [INFO] [stdout] | [INFO] [stdout] 596 | self * &other; [INFO] [stdout] | ^^^^^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 596 | let _ = self * &other; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `mul` that must be used [INFO] [stdout] --> src/polynomial.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 618 | self.mul(other); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the result of the operation, without modifying the original [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 618 | let _ = self.mul(other); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `tokenize` [INFO] [stdout] --> src/tokenizer.rs:267:14 [INFO] [stdout] | [INFO] [stdout] 267 | macro_rules! tokenize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/evaluator.rs:250:24 [INFO] [stdout] | [INFO] [stdout] 250 | let result = try!(self.call_function(&x.to_string(), position, &mut stack)); [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/evaluator.rs:261:24 [INFO] [stdout] | [INFO] [stdout] 261 | let result = try!(self.call_function(&x, position, &mut stack)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/evaluator.rs:559:31 [INFO] [stdout] | [INFO] [stdout] 559 | Ok(Polynomial::constant(try!(args[0].clone().as_f64()) % try!(args[1].clone().as_f64()))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/evaluator.rs:559:64 [INFO] [stdout] | [INFO] [stdout] 559 | Ok(Polynomial::constant(try!(args[0].clone().as_f64()) % try!(args[1].clone().as_f64()))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/calculator.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | let parsed_tokens = try!(parser.process(tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/calculator.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | let evaluated = try!(evaluator.process(parsed_tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/polynomial_calculator.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | Ok(Polynomial::constant(try!(args[0].as_f64()).log(try!(args[1].as_f64())))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/polynomial_calculator.rs:261:56 [INFO] [stdout] | [INFO] [stdout] 261 | Ok(Polynomial::constant(try!(args[0].as_f64()).log(try!(args[1].as_f64())))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/polynomial_calculator.rs:280:29 [INFO] [stdout] | [INFO] [stdout] 280 | Ok(Polynomial::constant(try!(args[0].as_f64()).log10())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/polynomial_calculator.rs:302:21 [INFO] [stdout] | [INFO] [stdout] 302 | Ok(args[0].bind(try!(args[1].as_f64()))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/evaluator.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | pub type FunctionHandle = Box) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | pub type FunctionHandle = Box) -> Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/polynomial.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 416 | self + &other; [INFO] [stdout] | ^^^^^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 416 | let _ = self + &other; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/polynomial.rs:500:5 [INFO] [stdout] | [INFO] [stdout] 500 | self - &other; [INFO] [stdout] | ^^^^^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 500 | let _ = self - &other; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/polynomial.rs:596:5 [INFO] [stdout] | [INFO] [stdout] 596 | self * &other; [INFO] [stdout] | ^^^^^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 596 | let _ = self * &other; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `mul` that must be used [INFO] [stdout] --> src/polynomial.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 618 | self.mul(other); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the result of the operation, without modifying the original [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 618 | let _ = self.mul(other); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `Command { std: "docker" "inspect" "5db90ad70e59290884bb41c051e7d9169d50589866a5f8c010054b8902b745e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5db90ad70e59290884bb41c051e7d9169d50589866a5f8c010054b8902b745e2", kill_on_drop: false }` [INFO] [stdout] 5db90ad70e59290884bb41c051e7d9169d50589866a5f8c010054b8902b745e2