[INFO] cloning repository https://github.com/taka231/elegans_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/taka231/elegans_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaka231%2Felegans_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaka231%2Felegans_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b23d5411bc9848bfbc62f2daef9504e16357f78 [INFO] checking taka231/elegans_rust against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaka231%2Felegans_rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/taka231/elegans_rust 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/taka231/elegans_rust [INFO] finished tweaking git repo https://github.com/taka231/elegans_rust [INFO] tweaked toml for git repo https://github.com/taka231/elegans_rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/taka231/elegans_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded llvm-sys v130.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cebe4e8c85016931f999d48ea0f29cd63bd9e65f2664a614169410e86f0a645 [INFO] running `Command { std: "docker" "start" "-a" "1cebe4e8c85016931f999d48ea0f29cd63bd9e65f2664a614169410e86f0a645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cebe4e8c85016931f999d48ea0f29cd63bd9e65f2664a614169410e86f0a645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cebe4e8c85016931f999d48ea0f29cd63bd9e65f2664a614169410e86f0a645", kill_on_drop: false }` [INFO] [stdout] 1cebe4e8c85016931f999d48ea0f29cd63bd9e65f2664a614169410e86f0a645 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48af5e7e730f3b89872f9fe1a32344c256b4e1c0e93147f72a8a4e1dd3472bbe [INFO] running `Command { std: "docker" "start" "-a" "48af5e7e730f3b89872f9fe1a32344c256b4e1c0e93147f72a8a4e1dd3472bbe", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling inkwell v0.1.0 (https://github.com/TheDan64/inkwell#02fb7045) [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling llvm-sys v130.0.4 [INFO] [stderr] Compiling inkwell_internals v0.5.0 (https://github.com/TheDan64/inkwell#02fb7045) [INFO] [stderr] Checking elegans_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.16s [INFO] running `Command { std: "docker" "inspect" "48af5e7e730f3b89872f9fe1a32344c256b4e1c0e93147f72a8a4e1dd3472bbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48af5e7e730f3b89872f9fe1a32344c256b4e1c0e93147f72a8a4e1dd3472bbe", kill_on_drop: false }` [INFO] [stdout] 48af5e7e730f3b89872f9fe1a32344c256b4e1c0e93147f72a8a4e1dd3472bbe [INFO] checking taka231/elegans_rust 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%2Ftaka231%2Felegans_rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/taka231/elegans_rust 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/taka231/elegans_rust [INFO] finished tweaking git repo https://github.com/taka231/elegans_rust [INFO] tweaked toml for git repo https://github.com/taka231/elegans_rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/taka231/elegans_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] c68185cd0c2f0e0b1c899dc6cc3dd45bb2c5be4a758cafc72e3add0abb01ee03 [INFO] running `Command { std: "docker" "start" "-a" "c68185cd0c2f0e0b1c899dc6cc3dd45bb2c5be4a758cafc72e3add0abb01ee03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c68185cd0c2f0e0b1c899dc6cc3dd45bb2c5be4a758cafc72e3add0abb01ee03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c68185cd0c2f0e0b1c899dc6cc3dd45bb2c5be4a758cafc72e3add0abb01ee03", kill_on_drop: false }` [INFO] [stdout] c68185cd0c2f0e0b1c899dc6cc3dd45bb2c5be4a758cafc72e3add0abb01ee03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 4c7a7bb88eb160db0481378a43e45ee93f0950dbb0a51b8933a09b40194008ad [INFO] running `Command { std: "docker" "start" "-a" "4c7a7bb88eb160db0481378a43e45ee93f0950dbb0a51b8933a09b40194008ad", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling inkwell v0.1.0 (https://github.com/TheDan64/inkwell#02fb7045) [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling llvm-sys v130.0.4 [INFO] [stderr] Compiling inkwell_internals v0.5.0 (https://github.com/TheDan64/inkwell#02fb7045) [INFO] [stderr] Checking elegans_rust v0.1.0 (/opt/rustwide/workdir) [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/parser.rs:170:14 [INFO] [stdout] | [INFO] [stdout] 165 | let cond = parse_expr(tokens); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | expect_token(tokens, Token::Then); [INFO] [stdout] 167 | let then_expr = parse_expr(tokens); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | expect_token(tokens, Token::Else); [INFO] [stdout] 169 | let else_expr = parse_expr(tokens); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | Expr::If(Box::new(cond), Box::new(then_expr), Box::new(else_expr)) [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/parser.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 165 | let cond = parse_expr(tokens); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | expect_token(tokens, Token::Then); [INFO] [stdout] 167 | let then_expr = parse_expr(tokens); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | expect_token(tokens, Token::Else); [INFO] [stdout] 169 | let else_expr = parse_expr(tokens); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | Expr::If(Box::new(cond), Box::new(then_expr), Box::new(else_expr)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:170:51 [INFO] [stdout] | [INFO] [stdout] 165 | let cond = parse_expr(tokens); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | expect_token(tokens, Token::Then); [INFO] [stdout] 167 | let then_expr = parse_expr(tokens); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | expect_token(tokens, Token::Else); [INFO] [stdout] 169 | let else_expr = parse_expr(tokens); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | Expr::If(Box::new(cond), Box::new(then_expr), Box::new(else_expr)) [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elegans_rust` (bin "elegans_rust") due to 4 previous errors [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/parser.rs:170:14 [INFO] [stdout] | [INFO] [stdout] 165 | let cond = parse_expr(tokens); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | expect_token(tokens, Token::Then); [INFO] [stdout] 167 | let then_expr = parse_expr(tokens); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | expect_token(tokens, Token::Else); [INFO] [stdout] 169 | let else_expr = parse_expr(tokens); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | Expr::If(Box::new(cond), Box::new(then_expr), Box::new(else_expr)) [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/parser.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 165 | let cond = parse_expr(tokens); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | expect_token(tokens, Token::Then); [INFO] [stdout] 167 | let then_expr = parse_expr(tokens); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | expect_token(tokens, Token::Else); [INFO] [stdout] 169 | let else_expr = parse_expr(tokens); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | Expr::If(Box::new(cond), Box::new(then_expr), Box::new(else_expr)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:170:51 [INFO] [stdout] | [INFO] [stdout] 165 | let cond = parse_expr(tokens); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | expect_token(tokens, Token::Then); [INFO] [stdout] 167 | let then_expr = parse_expr(tokens); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | expect_token(tokens, Token::Else); [INFO] [stdout] 169 | let else_expr = parse_expr(tokens); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | Expr::If(Box::new(cond), Box::new(then_expr), Box::new(else_expr)) [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elegans_rust` (bin "elegans_rust" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "4c7a7bb88eb160db0481378a43e45ee93f0950dbb0a51b8933a09b40194008ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c7a7bb88eb160db0481378a43e45ee93f0950dbb0a51b8933a09b40194008ad", kill_on_drop: false }` [INFO] [stdout] 4c7a7bb88eb160db0481378a43e45ee93f0950dbb0a51b8933a09b40194008ad